From 451fc931b0f4924801b9a27d25a5c0339b2fcace Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 25 Dec 2017 16:04:09 +0100 Subject: vo_gpu/context: Let embedding application handle surface resizes The callbacks for this are Java-only and EGL does not reliably return the correct values. --- options/options.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index 3dafbf576b..5eb2cb525b 100644 --- a/options/options.c +++ b/options/options.c @@ -92,6 +92,7 @@ extern const struct m_sub_options d3d11_conf; extern const struct m_sub_options d3d11va_conf; extern const struct m_sub_options angle_conf; extern const struct m_sub_options cocoa_conf; +extern const struct m_sub_options android_conf; static const struct m_sub_options screenshot_conf = { .opts = image_writer_opts, @@ -668,6 +669,10 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("", cocoa_opts, cocoa_conf, 0), #endif +#if HAVE_ANDROID + OPT_SUBSTRUCT("", android_opts, android_conf, 0), +#endif + #if HAVE_GL_WIN32 OPT_CHOICE("opengl-dwmflush", wingl_dwm_flush, 0, ({"no", -1}, {"auto", 0}, {"windowed", 1}, {"yes", 2})), -- cgit v1.2.3