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?




_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to