[Mesa-dev] [PATCH v2 3/7] mesa: add support for using API_OPENGL_CORE
Jordan Justen
jljusten at gmail.com
Fri Jul 27 12:59:47 PDT 2012
On Fri, Jul 27, 2012 at 8:06 AM, Brian Paul <brianp at vmware.com> wrote:
> On 07/27/2012 12:43 AM, Jordan Justen wrote:
>> diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
>> index 0675ce7..fbc1bb7 100644
>> --- a/src/mesa/main/extensions.c
>> +++ b/src/mesa/main/extensions.c
>> @@ -41,7 +41,9 @@
>>
>> enum {
>> DISABLE = 0,
>> - GL = 1<< API_OPENGL,
>> + GLL = 1<< API_OPENGL,
>> + GLC = 1<< API_OPENGL_CORE,
>> + GL = (1<< API_OPENGL) | (1<< API_OPENGL_CORE),
>
>
> A comment on GLL such as /* GL Legacy */ would be nice.
Will do.
> It seems to me that quite a few of the GL extensions that are marked as "GL"
> won't apply to a core profile context (ex: GL_ARB_texture_env_combine). So
> there's some work there to determine which GL extensions apply to
> compatiblity vs. core profile contexts.
Can we address this in a future patchset?
This series also does not cover enums, but hopefully can 'get the ball
rolling' for CORE context support.
-Jordan
More information about the mesa-dev
mailing list