[Mesa-dev] [PATCH] mesa: only expose GL_OES_read_format in ES1 contexts

Tapani Pälli tapani.palli at intel.com
Sun Sep 13 23:03:17 PDT 2015


On 09/13/2015 10:14 AM, Ilia Mirkin wrote:
> The functionality is actually available in ES2+ and at least GL 4.5, but
> the extension itself is only spec'd against ES1, not desktop GL.

It is one of 6 OES extensions that are listed in the desktop extensions 
list in Khronos registry. All of these have following text:

"OpenGL ES Extension #xx (formerly OpenGL Extension #xxx)"

maybe this extension is available for both, es and desktop?

> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
>   src/mesa/main/extensions.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
> index 1f7d542..e3a61cc 100644
> --- a/src/mesa/main/extensions.c
> +++ b/src/mesa/main/extensions.c
> @@ -320,7 +320,7 @@ static const struct extension extension_table[] = {
>      { "GL_OES_point_size_array",                    o(dummy_true),                                   ES1,       2004 },
>      { "GL_OES_point_sprite",                        o(ARB_point_sprite),                             ES1,       2004 },
>      { "GL_OES_query_matrix",                        o(dummy_true),                                   ES1,       2003 },
> -   { "GL_OES_read_format",                         o(dummy_true),                              GL | ES1,       2003 },
> +   { "GL_OES_read_format",                         o(dummy_true),                                   ES1,       2003 },
>      { "GL_OES_rgb8_rgba8",                          o(dummy_true),                                   ES1 | ES2, 2005 },
>      { "GL_OES_single_precision",                    o(dummy_true),                                   ES1,       2003 },
>      { "GL_OES_standard_derivatives",                o(OES_standard_derivatives),                           ES2, 2005 },
>


More information about the mesa-dev mailing list