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

Timo Aaltonen tjaalton at ubuntu.com
Wed Jan 11 23:24:36 UTC 2017


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?



-- 
t


More information about the mesa-dev mailing list