libEGL.h
Go to the documentation of this file.
00001 #if !defined(HFILE_libEGL) && ANDROID_VER>=400
00002 #define HFILE_libEGL
00003 
00004 #include <sys/types.h>
00005 
00006 extern "C" {
00007     int eglGetError();
00008     void* eglGetDisplay(int display_id);
00009     bool eglInitialize (void* dpy, int *major, int *minor);
00010     void* eglCreateContext(void* dpy, void* config, void* unused1, void* unused2);
00011 
00012     #define EGL_SYNC_FENCE_KHR                  0x30F9
00013     #define EGL_SYNC_NATIVE_FENCE_ANDROID               0x3144
00014     void* eglCreateSyncKHR(void* dpy, int type, void*attrib_list);
00015 
00016     #define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001
00017     int eglClientWaitSyncKHR(void* dpy, void* sync, int flags, uint64_t timeout);
00018 
00019     bool eglSignalSyncKHR(void* dpy, void* sync, int mode);
00020 }
00021 
00022 #endif //end of lib


dji_ronin
Author(s):
autogenerated on Sat Jun 8 2019 20:15:31