• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated Code - DO NOT EDIT !!
2 // generated by 'emugen'
3 #ifndef __egl_wrapper_context_t_h
4 #define __egl_wrapper_context_t_h
5 
6 #include "egl_server_proc.h"
7 
8 #include "egl_types.h"
9 
10 
11 struct egl_wrapper_context_t {
12 
13 	eglChooseConfig_wrapper_proc_t eglChooseConfig;
14 	eglCopyBuffers_wrapper_proc_t eglCopyBuffers;
15 	eglCreateContext_wrapper_proc_t eglCreateContext;
16 	eglCreatePbufferSurface_wrapper_proc_t eglCreatePbufferSurface;
17 	eglCreatePixmapSurface_wrapper_proc_t eglCreatePixmapSurface;
18 	eglCreateWindowSurface_wrapper_proc_t eglCreateWindowSurface;
19 	eglDestroyContext_wrapper_proc_t eglDestroyContext;
20 	eglDestroySurface_wrapper_proc_t eglDestroySurface;
21 	eglGetConfigAttrib_wrapper_proc_t eglGetConfigAttrib;
22 	eglGetConfigs_wrapper_proc_t eglGetConfigs;
23 	eglGetCurrentDisplay_wrapper_proc_t eglGetCurrentDisplay;
24 	eglGetCurrentSurface_wrapper_proc_t eglGetCurrentSurface;
25 	eglGetDisplay_wrapper_proc_t eglGetDisplay;
26 	eglGetError_wrapper_proc_t eglGetError;
27 	eglGetProcAddress_wrapper_proc_t eglGetProcAddress;
28 	eglInitialize_wrapper_proc_t eglInitialize;
29 	eglMakeCurrent_wrapper_proc_t eglMakeCurrent;
30 	eglQueryContext_wrapper_proc_t eglQueryContext;
31 	eglQueryString_wrapper_proc_t eglQueryString;
32 	eglQuerySurface_wrapper_proc_t eglQuerySurface;
33 	eglSwapBuffers_wrapper_proc_t eglSwapBuffers;
34 	eglTerminate_wrapper_proc_t eglTerminate;
35 	eglWaitGL_wrapper_proc_t eglWaitGL;
36 	eglWaitNative_wrapper_proc_t eglWaitNative;
37 	eglBindTexImage_wrapper_proc_t eglBindTexImage;
38 	eglReleaseTexImage_wrapper_proc_t eglReleaseTexImage;
39 	eglSurfaceAttrib_wrapper_proc_t eglSurfaceAttrib;
40 	eglSwapInterval_wrapper_proc_t eglSwapInterval;
41 	eglBindAPI_wrapper_proc_t eglBindAPI;
42 	eglQueryAPI_wrapper_proc_t eglQueryAPI;
43 	eglCreatePbufferFromClientBuffer_wrapper_proc_t eglCreatePbufferFromClientBuffer;
44 	eglReleaseThread_wrapper_proc_t eglReleaseThread;
45 	eglWaitClient_wrapper_proc_t eglWaitClient;
46 	eglGetCurrentContext_wrapper_proc_t eglGetCurrentContext;
47 	eglCreateSyncKHR_wrapper_proc_t eglCreateSyncKHR;
48 	eglDestroySyncKHR_wrapper_proc_t eglDestroySyncKHR;
49 	eglClientWaitSyncKHR_wrapper_proc_t eglClientWaitSyncKHR;
50 	eglGetSyncAttribKHR_wrapper_proc_t eglGetSyncAttribKHR;
51 	eglCreateImageKHR_wrapper_proc_t eglCreateImageKHR;
52 	eglDestroyImageKHR_wrapper_proc_t eglDestroyImageKHR;
~egl_wrapper_context_tegl_wrapper_context_t53 	virtual ~egl_wrapper_context_t() {}
54 
55 	typedef egl_wrapper_context_t *CONTEXT_ACCESSOR_TYPE(void);
56 	static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f);
57 	int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData);
58 };
59 
60 #endif
61