diff options
author | Niklas Haas <git@haasn.xyz> | 2017-08-26 05:48:12 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-08-27 14:36:00 +0200 |
commit | 136cf2b770f08a435710f71fe2fa597c908cc8a0 (patch) | |
tree | 10371ef916d52e8b8b8560a75f19e7eb1dac1dce /video/out/opengl/common.h | |
parent | 8404a354e546bd0636fcc1ebf2719f1dea7ad8e9 (diff) | |
download | mpv-136cf2b770f08a435710f71fe2fa597c908cc8a0.tar.bz2 mpv-136cf2b770f08a435710f71fe2fa597c908cc8a0.tar.xz |
vo_opengl: add support for UBOs
Not actually used by anything yet, but straightforward enough to add to
the RA API for starters.
Diffstat (limited to 'video/out/opengl/common.h')
-rw-r--r-- | video/out/opengl/common.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h index 1ec06fb3f3..7b2e3ed497 100644 --- a/video/out/opengl/common.h +++ b/video/out/opengl/common.h @@ -54,9 +54,10 @@ enum { MPGL_CAP_EXT16 = (1 << 18), // GL_EXT_texture_norm16 MPGL_CAP_ARB_FLOAT = (1 << 19), // GL_ARB_texture_float MPGL_CAP_EXT_CR_HFLOAT = (1 << 20), // GL_EXT_color_buffer_half_float - MPGL_CAP_SSBO = (1 << 21), // GL_ARB_shader_storage_buffer_object - MPGL_CAP_COMPUTE_SHADER = (1 << 22), // GL_ARB_compute_shader & GL_ARB_shader_image_load_store - MPGL_CAP_NESTED_ARRAY = (1 << 23), // GL_ARB_arrays_of_arrays + MPGL_CAP_UBO = (1 << 21), // GL_ARB_uniform_buffer_object + MPGL_CAP_SSBO = (1 << 22), // GL_ARB_shader_storage_buffer_object + MPGL_CAP_COMPUTE_SHADER = (1 << 23), // GL_ARB_compute_shader & GL_ARB_shader_image_load_store + MPGL_CAP_NESTED_ARRAY = (1 << 24), // GL_ARB_arrays_of_arrays MPGL_CAP_SW = (1 << 30), // indirect or sw renderer }; |