From: Ryan Houdek Date: Tue, 3 Nov 2015 01:30:18 +0000 (-0600) Subject: mesa: expose support for GL_EXT_buffer_storage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13b19aa815661cd17b74c8694b6c466bfaf75740;p=mesa.git mesa: expose support for GL_EXT_buffer_storage This extension requires ES 3.1 since it relies on glMemoryBarrier. For testing purposes I temporarily moved glMemoryBarrier to be an ES 3.0 function. This has been tested with the piglit in the ML and the Dolphin emulator. Reviewed-by: Ilia Mirkin --- diff --git a/docs/relnotes/11.1.0.html b/docs/relnotes/11.1.0.html index 86549d7672b..c35d91f4329 100644 --- a/docs/relnotes/11.1.0.html +++ b/docs/relnotes/11.1.0.html @@ -56,6 +56,7 @@ Note: some of the new features are only available with certain drivers.
  • GL_ARB_texture_barrier / GL_NV_texture_barrier on i965
  • GL_ARB_texture_query_lod on softpipe
  • GL_ARB_texture_view on radeonsi
  • +
  • GL_EXT_buffer_storage implemented for when ES 3.1 support is gained
  • GL_EXT_draw_elements_base_vertex on all drivers
  • GL_OES_draw_elements_base_vertex on all drivers
  • EGL_KHR_create_context on softpipe, llvmpipe
  • diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index bf20e4801cc..9a777a24c61 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -905,4 +905,13 @@ + + + + + + + + + diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index d964f030ecb..bdc68175bf2 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -222,6 +222,7 @@ static const struct extension extension_table[] = { { "GL_EXT_blend_color", o(EXT_blend_color), GLL, 1995 }, { "GL_EXT_blend_equation_separate", o(EXT_blend_equation_separate), GL, 2003 }, { "GL_EXT_blend_func_separate", o(EXT_blend_func_separate), GLL, 1999 }, + { "GL_EXT_buffer_storage", o(ARB_buffer_storage), ES31, 2015 }, { "GL_EXT_discard_framebuffer", o(dummy_true), ES1 | ES2, 2009 }, { "GL_EXT_blend_minmax", o(EXT_blend_minmax), GLL | ES1 | ES2, 1995 }, { "GL_EXT_blend_subtract", o(dummy_true), GLL, 1995 },