diff options
author | Jonas Yang <joyang@nvidia.com> | 2011-08-26 20:04:39 +0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-09-13 16:44:22 -0700 |
commit | 1c3d72a2291827fb15e2ef311a571c860e0dba41 (patch) | |
tree | e56949622008b0b74b681e2b16d6bacf4c2dc7fc /opengl/include | |
parent | ce863622ca5dd357b5e5c0a88d2e02dd00d2ab3c (diff) | |
download | frameworks_native-1c3d72a2291827fb15e2ef311a571c860e0dba41.zip frameworks_native-1c3d72a2291827fb15e2ef311a571c860e0dba41.tar.gz frameworks_native-1c3d72a2291827fb15e2ef311a571c860e0dba41.tar.bz2 |
Add (support for) EGL_NV_system_time extension.
Change-Id: I62bf0fcb5ccdc77c042b425a42054fb3122575b6
Signed-off-by: Mathias Agopian <mathias@google.com>
Diffstat (limited to 'opengl/include')
-rw-r--r-- | opengl/include/EGL/eglext.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/opengl/include/EGL/eglext.h b/opengl/include/EGL/eglext.h index 6a199db..a08932a 100644 --- a/opengl/include/EGL/eglext.h +++ b/opengl/include/EGL/eglext.h @@ -242,6 +242,20 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSWAPRECTANGLEANDROIDPROC) (EGLDisplay #define EGL_RECORDABLE_ANDROID 0x3142 /* EGLConfig attribute */ #endif +/* EGL_NV_system_time + */ +#ifndef EGL_NV_system_time +#define EGL_NV_system_time 1 +typedef khronos_int64_t EGLint64NV; +typedef khronos_uint64_t EGLuint64NV; +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV(void); +EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV(void); +#endif +typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)(void); +typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC)(void); +#endif + #ifdef __cplusplus } #endif |