]> git.cworth.org Git - apitrace/blobdiff - specs/gltypes.py
stash: Trace and replay of gnome-shell works
[apitrace] / specs / gltypes.py
index a04990d9ec33ec72550e39aa3a5a3834e1b20187..0c1b7aee9e9c5bc32d67ae2175246e2f8c626ca7 100644 (file)
@@ -250,3 +250,13 @@ def GLindexBuffer(countExpr, typeExpr):
         IntPointer("const GLvoid *"), 
         contextLess=False,
     )
+
+
+# GL_AMD_performance_monitor
+GLperfMonitorCounterInfoAMD = Polymorphic('pname', [
+        ('GL_COUNTER_TYPE_AMD', Pointer(GLenum)),
+        ('GL_PERCENTAGE_AMD', Pointer(Float)),
+        ('GL_COUNTER_RANGE_AMD', Array(Float, 2)),
+    ],
+    OpaquePointer(GLvoid),
+)