[Mesa-dev] [PATCH] mesa: update glext.h to version 20130624

Ian Romanick idr at freedesktop.org
Wed Jun 26 11:47:18 PDT 2013


On 06/26/2013 07:13 AM, Brian Paul wrote:
> On 06/26/2013 07:48 AM, Jose Fonseca wrote:
>> ----- Original Message -----
>>> In glapi_priv.h we always need the typedef for the GLclampx type
>>> since GL_OES_fixed_point is now defined in glext.h but the
>>> GLclampx type is not.  GLclampx is not used by anything in glext.h
>>> but we need it for GL ES dispatch.
>>> ---
>>>   include/GL/glext.h          |21804
>>>   ++++++++++++++++++++-----------------------
>>>   src/mapi/glapi/glapi_priv.h |    2 +-
>>>   2 files changed, 9921 insertions(+), 11885 deletions(-)
>>>
>>
>> Sounds good to me.
>>
>> It's worth to do a quick trial compilation with MSVC as well --
>> khronos headers often change types of arguments, and some compilers
>> are picker than others.
>
> Good point.  I'll do that before committing.
>
> This patch is pretty huge from simple code movement (AFAICT).  Before,
> all the #defines came before all the function prototypes.  Now, the
> prototypes immediately follow the #defines for each extension.
>
> I think there's some new extensions in there too, but it's hard to tell.

Previously glext.h was generated by some perl scripts from .spec files. 
  Recently this was changed to XML and, I believe, xslt.

> -Brian
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list