[Mesa-dev] [PATCH] fixup! EGL: Implement the libglvnd interface for EGL (v2)

Kyle Brenneman kbrenneman at nvidia.com
Fri Jan 13 16:53:00 UTC 2017


I can if that's preferable.

On 01/11/2017 04:24 PM, Timo Aaltonen wrote:
> On 05.01.2017 23:29, Kyle Brenneman wrote:
>> ---
>>   src/egl/generate/eglFunctionList.py | 6 ++++--
>>   1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/egl/generate/eglFunctionList.py b/src/egl/generate/eglFunctionList.py
>> index b19b5f7..80cb834 100644
>> --- a/src/egl/generate/eglFunctionList.py
>> +++ b/src/egl/generate/eglFunctionList.py
>> @@ -53,12 +53,14 @@ method values:
>>       Select the vendor that owns the current context.
>>   """
>>   
>> -def _eglFunc(name, method, static=False, public=False, inheader=None, prefix="", extension=None, retval=None):
>> +def _eglFunc(name, method, static=None, public=False, inheader=None, prefix="dispatch_", extension=None, retval=None):
>>       """
>>       A convenience function to define an entry in the EGL function list.
>>       """
>> +    if static is None:
>> +        static = (not public and method != "custom")
>>       if inheader is None:
>> -        inheader = (not public)
>> +        inheader = (not static)
>>       values = {
>>           "method" : method,
>>           "prefix" : prefix,
> You probably need to send a v3 with this added?
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170113/acccb7c6/attachment.html>


More information about the mesa-dev mailing list