aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2015-01-04 14:51:06 +0800
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-04 17:58:04 -0700
commit6a76c56959f31e9c9ef2585dcff7d3cac762e3e3 (patch)
tree5a4347c5946af902ccbfb093d0af9c695d16e9cb
parent5b7cc7329d562fda08b91590fbfd6a9ff9ca6a67 (diff)
downloadusermoji-6a76c56959f31e9c9ef2585dcff7d3cac762e3e3.tar.xz
xgl.py: update with parsed core extension
-rw-r--r--xgl.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/xgl.py b/xgl.py
index 99d80f85..57558550 100644
--- a/xgl.py
+++ b/xgl.py
@@ -180,10 +180,6 @@ core = Extension(
"XGL_QUERY_POOL",
],
protos=[
- Proto("XGL_VOID *", "GetProcAddr",
- [Param("XGL_PHYSICAL_GPU", "gpu"),
- Param("const XGL_CHAR*", "pName")]),
-
Proto("XGL_RESULT", "InitAndEnumerateGpus",
[Param("const XGL_APPLICATION_INFO*", "pAppInfo"),
Param("const XGL_ALLOC_CALLBACKS*", "pAllocCb"),
@@ -197,6 +193,10 @@ core = Extension(
Param("XGL_SIZE*", "pDataSize"),
Param("XGL_VOID*", "pData")]),
+ Proto("XGL_VOID*", "GetProcAddr",
+ [Param("XGL_PHYSICAL_GPU", "gpu"),
+ Param("const XGL_CHAR*", "pName")]),
+
Proto("XGL_RESULT", "CreateDevice",
[Param("XGL_PHYSICAL_GPU", "gpu"),
Param("const XGL_DEVICE_CREATE_INFO*", "pCreateInfo"),
@@ -214,8 +214,8 @@ core = Extension(
Param("XGL_SIZE", "maxLayerCount"),
Param("XGL_SIZE", "maxStringSize"),
Param("XGL_CHAR* const*", "pOutLayers"),
- Param("XGL_SIZE *", "pOutLayerCount"),
- Param("XGL_VOID *", "pReserved")]),
+ Param("XGL_SIZE*", "pOutLayerCount"),
+ Param("XGL_VOID*", "pReserved")]),
Proto("XGL_RESULT", "GetDeviceQueue",
[Param("XGL_DEVICE", "device"),