[Mesa-dev] [PATCH] main: Don't advertise ARB/OES_get_program_binary

Jason Ekstrand jason at jlekstrand.net
Fri Dec 19 16:43:28 PST 2014


scratch that... We need it for ES 3.0.  I'll look at the bug more.

On Fri, Dec 19, 2014 at 4:36 PM, Jason Ekstrand <jason at jlekstrand.net>
wrote:
>
> All we have right now are stub implementations of these that do nothing.
> Let's avoid confusing apps by advertising an extension we don't actually
> support.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87516
> ---
>  src/mesa/main/extensions.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
> index 0df04c2..d7bc28a 100644
> --- a/src/mesa/main/extensions.c
> +++ b/src/mesa/main/extensions.c
> @@ -118,7 +118,7 @@ static const struct extension extension_table[] = {
>     { "GL_ARB_fragment_shader",
>  o(ARB_fragment_shader),                     GL,             2002 },
>     { "GL_ARB_framebuffer_object",
> o(ARB_framebuffer_object),                  GL,             2005 },
>     { "GL_ARB_framebuffer_sRGB",
> o(EXT_framebuffer_sRGB),                    GL,             1998 },
> -   { "GL_ARB_get_program_binary",                  o(dummy_true),
>                       GL,             2010 },
> +   { "GL_ARB_get_program_binary",                  o(dummy_false),
>                       GL,             2010 },
>     { "GL_ARB_gpu_shader5",                         o(ARB_gpu_shader5),
>                      GLC,            2010 },
>     { "GL_ARB_half_float_pixel",                    o(dummy_true),
>                       GL,             2003 },
>     { "GL_ARB_half_float_vertex",
>  o(ARB_half_float_vertex),                   GL,             2008 },
> @@ -296,7 +296,7 @@ static const struct extension extension_table[] = {
>     { "GL_OES_fbo_render_mipmap",                   o(dummy_true),
>                            ES1 | ES2, 2005 },
>     { "GL_OES_fixed_point",                         o(dummy_true),
>                            ES1,       2002 },
>     { "GL_OES_framebuffer_object",                  o(dummy_true),
>                            ES1,       2005 },
> -   { "GL_OES_get_program_binary",                  o(dummy_true),
>                                  ES2, 2008 },
> +   { "GL_OES_get_program_binary",                  o(dummy_false),
>                                  ES2, 2008 },
>     { "GL_OES_mapbuffer",                           o(dummy_true),
>                            ES1 | ES2, 2005 },
>     { "GL_OES_packed_depth_stencil",                o(dummy_true),
>                            ES1 | ES2, 2007 },
>     { "GL_OES_point_size_array",                    o(dummy_true),
>                            ES1,       2004 },
> --
> 2.2.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141219/978cde0c/attachment.html>


More information about the mesa-dev mailing list