mesa: add GL_OES_EGL_sync
authorMarek Olšák <marek.olsak@amd.com>
Thu, 9 Apr 2015 21:26:14 +0000 (23:26 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Apr 2015 12:38:38 +0000 (14:38 +0200)
This is an empty extension whose presence means that EGL sync objects can be
used with ES contexts.

src/mesa/main/extensions.c

index 3d4965cc30f4631af9a32d822f556d00817b08e6..9be8993b08e26402fb3640a17d6409dd57c1c615 100644 (file)
@@ -298,6 +298,7 @@ static const struct extension extension_table[] = {
    { "GL_OES_depth_texture",                       o(ARB_depth_texture),                                  ES2, 2006 },
    { "GL_OES_depth_texture_cube_map",              o(OES_depth_texture_cube_map),                         ES2, 2012 },
    { "GL_OES_draw_texture",                        o(OES_draw_texture),                             ES1,       2004 },
+   { "GL_OES_EGL_sync",                            o(dummy_true),                                   ES1 | ES2, 2010 },
    /*  FIXME: Mesa expects GL_OES_EGL_image to be available in OpenGL contexts. */
    { "GL_OES_EGL_image",                           o(OES_EGL_image),                           GL | ES1 | ES2, 2006 },
    { "GL_OES_EGL_image_external",                  o(OES_EGL_image_external),                       ES1 | ES2, 2010 },