From d5a7ad630f27999355d0a6c25affd10bfabd1d43 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 21 Dec 2014 21:54:50 +0100 Subject: vo_opengl: improve fallback handling with GLES Whether we have texture_rg doesn't matter much anymore; the scaler should be fine with this. But on ES 2.0, 1st class arrays are missing, so even if filterable float textures should be available, it won't work. Dithering (at least the "fruit" variant) will not work either, because it uses floats. --- video/out/gl_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out/gl_common.h') diff --git a/video/out/gl_common.h b/video/out/gl_common.h index ac9efe5c41..6f7c8b8ce5 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -79,6 +79,8 @@ enum { MPGL_CAP_TEX_RG = (1 << 10), // GL_ARB_texture_rg / GL 3.x MPGL_CAP_VDPAU = (1 << 11), // GL_NV_vdpau_interop MPGL_CAP_APPLE_RGB_422 = (1 << 12), // GL_APPLE_rgb_422 + MPGL_CAP_1ST_CLASS_ARRAYS = (1 << 13), + MPGL_CAP_3D_TEX = (1 << 14), MPGL_CAP_SW = (1 << 30), // indirect or sw renderer }; -- cgit v1.2.3