]> git.cworth.org Git - apitrace/commitdiff
egl: trace EGL_NV_system_time
authorChia-I Wu <olvaffe@gmail.com>
Thu, 1 Dec 2011 06:57:24 +0000 (14:57 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 7 Dec 2011 08:26:24 +0000 (16:26 +0800)
specs/eglapi.py

index e7ea617c4fbe4c785c7a8ef836a95bbb75535031..8272612cdf539ab07f3785f7511b8a64b6b6b1db 100644 (file)
@@ -288,6 +288,9 @@ EGLSurfacePointer = FakeEnum(EGLint, [
     "EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE",    # 0x3200
 ])
 
+# EGL_NV_system_time
+EGLuint64NV = Alias("EGLuint64NV", UInt64)
+
 eglapi = API("EGL")
 
 PROC = Opaque("__eglMustCastToProperFunctionPointerType")
@@ -379,4 +382,8 @@ eglapi.add_functions([
 
     # EGL_ANGLE_query_surface_pointer
     Function(EGLBoolean, "eglQuerySurfacePointerANGLE", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLSurfacePointer, "attribute"), Out(Pointer(OpaquePointer(Void)), "value")], sideeffects=False),
+
+    # EGL_NV_system_time
+    Function(EGLuint64NV, "eglGetSystemTimeFrequencyNV", [], sideeffects=False),
+    Function(EGLuint64NV, "eglGetSystemTimeNV", [], sideeffects=False),
 ])