summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-12-01 14:57:24 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-12-07 16:26:24 +0800
commiteb7f1bd47d9c2ea0967b6c77322a3f0ee0983542 (patch)
treef2fa79a8043414e92412d098fc55c7bcfa2a4db6
parent54c8ac883c496940c94bf3e094d86bebaccf8211 (diff)
egl: trace EGL_NV_system_time
-rw-r--r--specs/eglapi.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/specs/eglapi.py b/specs/eglapi.py
index e7ea617..8272612 100644
--- a/specs/eglapi.py
+++ b/specs/eglapi.py
@@ -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),
])