summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-21 21:54:50 +0100
committerwm4 <wm4@nowhere>2014-12-21 23:46:54 +0100
commitd5a7ad630f27999355d0a6c25affd10bfabd1d43 (patch)
tree920706c5b8502fae4effdd8a5634c4f8577c518c /video/out/gl_common.h
parentec4bbbb69b83b781972ff4e81a8ea44d62b91c56 (diff)
downloadmpv-d5a7ad630f27999355d0a6c25affd10bfabd1d43.tar.bz2
mpv-d5a7ad630f27999355d0a6c25affd10bfabd1d43.tar.xz
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.
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h2
1 files changed, 2 insertions, 0 deletions
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
};