From eb7f1bd47d9c2ea0967b6c77322a3f0ee0983542 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 1 Dec 2011 14:57:24 +0800 Subject: [PATCH] egl: trace EGL_NV_system_time --- specs/eglapi.py | 7 +++++++ 1 file changed, 7 insertions(+) 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), ]) -- 2.7.4