1 // Generated Code - DO NOT EDIT !! 2 // generated by 'emugen' 3 #ifndef __renderControl_client_context_t_h 4 #define __renderControl_client_context_t_h 5 6 #include "renderControl_client_proc.h" 7 8 9 struct renderControl_client_context_t { 10 11 rcGetRendererVersion_client_proc_t rcGetRendererVersion; 12 rcGetEGLVersion_client_proc_t rcGetEGLVersion; 13 rcQueryEGLString_client_proc_t rcQueryEGLString; 14 rcGetGLString_client_proc_t rcGetGLString; 15 rcGetNumConfigs_client_proc_t rcGetNumConfigs; 16 rcGetConfigs_client_proc_t rcGetConfigs; 17 rcChooseConfig_client_proc_t rcChooseConfig; 18 rcGetFBParam_client_proc_t rcGetFBParam; 19 rcCreateContext_client_proc_t rcCreateContext; 20 rcDestroyContext_client_proc_t rcDestroyContext; 21 rcCreateWindowSurface_client_proc_t rcCreateWindowSurface; 22 rcDestroyWindowSurface_client_proc_t rcDestroyWindowSurface; 23 rcCreateColorBuffer_client_proc_t rcCreateColorBuffer; 24 rcOpenColorBuffer_client_proc_t rcOpenColorBuffer; 25 rcCloseColorBuffer_client_proc_t rcCloseColorBuffer; 26 rcSetWindowColorBuffer_client_proc_t rcSetWindowColorBuffer; 27 rcFlushWindowColorBuffer_client_proc_t rcFlushWindowColorBuffer; 28 rcMakeCurrent_client_proc_t rcMakeCurrent; 29 rcFBPost_client_proc_t rcFBPost; 30 rcFBSetSwapInterval_client_proc_t rcFBSetSwapInterval; 31 rcBindTexture_client_proc_t rcBindTexture; 32 rcBindRenderbuffer_client_proc_t rcBindRenderbuffer; 33 rcColorBufferCacheFlush_client_proc_t rcColorBufferCacheFlush; 34 rcReadColorBuffer_client_proc_t rcReadColorBuffer; 35 rcUpdateColorBuffer_client_proc_t rcUpdateColorBuffer; 36 rcOpenColorBuffer2_client_proc_t rcOpenColorBuffer2; 37 virtual ~renderControl_client_context_t() {} 38 39 typedef renderControl_client_context_t *CONTEXT_ACCESSOR_TYPE(void); 40 static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f); 41 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData); 42 virtual void setError(unsigned int error){ (void)error; }; 43 virtual unsigned int getError(){ return 0; }; 44 }; 45 46 #endif 47