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

Ilia Mirkin imirkin at alum.mit.edu
Sun Sep 13 23:08:05 PDT 2015


On Mon, Sep 14, 2015 at 2:03 AM, Tapani Pälli <tapani.palli at intel.com> wrote:
>
> 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?

So it is. In my defense, it was late. Patch withdrawn.

  -ilia

>
>
>> 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