mesa: Expose OES_surfaceless_context.
authorMatt Turner <mattst88@gmail.com>
Fri, 26 Jul 2013 23:36:20 +0000 (16:36 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 29 Jul 2013 17:35:16 +0000 (10:35 -0700)
EGL_KHR_surfaceless_context extension allows contexts to be made current
without a default winsys fbo. This extension specifies what ES 1.1 and
2.0 should do (the ES 3.0 spec already does).

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/extensions.c

index 4e46cf095527d8985c09fba445e724ff5f3389d4..1a040ee3b2090db6822cb02ce3ec1ee32ddb7b7c 100644 (file)
@@ -275,6 +275,7 @@ static const struct extension extension_table[] = {
    { "GL_OES_stencil4",                            o(dummy_false),                     DISABLE,                2005 },
    { "GL_OES_stencil8",                            o(dummy_true),                                   ES1 | ES2, 2005 },
    { "GL_OES_stencil_wrap",                        o(dummy_true),                                   ES1,       2002 },
+   { "GL_OES_surfaceless_context",                 o(dummy_true),                                   ES1 | ES2, 2012 },
    { "GL_OES_texture_3D",                          o(EXT_texture3D),                                      ES2, 2005 },
    { "GL_OES_texture_cube_map",                    o(ARB_texture_cube_map),                         ES1,       2007 },
    { "GL_OES_texture_env_crossbar",                o(ARB_texture_env_crossbar),                     ES1,       2005 },