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 #include "renderControl_types.h" 9 10 11 struct renderControl_client_context_t { 12 13 rcGetRendererVersion_client_proc_t rcGetRendererVersion; 14 rcGetEGLVersion_client_proc_t rcGetEGLVersion; 15 rcQueryEGLString_client_proc_t rcQueryEGLString; 16 rcGetGLString_client_proc_t rcGetGLString; 17 rcGetNumConfigs_client_proc_t rcGetNumConfigs; 18 rcGetConfigs_client_proc_t rcGetConfigs; 19 rcChooseConfig_client_proc_t rcChooseConfig; 20 rcGetFBParam_client_proc_t rcGetFBParam; 21 rcCreateContext_client_proc_t rcCreateContext; 22 rcDestroyContext_client_proc_t rcDestroyContext; 23 rcCreateWindowSurface_client_proc_t rcCreateWindowSurface; 24 rcDestroyWindowSurface_client_proc_t rcDestroyWindowSurface; 25 rcCreateColorBuffer_client_proc_t rcCreateColorBuffer; 26 rcOpenColorBuffer_client_proc_t rcOpenColorBuffer; 27 rcCloseColorBuffer_client_proc_t rcCloseColorBuffer; 28 rcSetWindowColorBuffer_client_proc_t rcSetWindowColorBuffer; 29 rcFlushWindowColorBuffer_client_proc_t rcFlushWindowColorBuffer; 30 rcMakeCurrent_client_proc_t rcMakeCurrent; 31 rcFBPost_client_proc_t rcFBPost; 32 rcFBSetSwapInterval_client_proc_t rcFBSetSwapInterval; 33 rcBindTexture_client_proc_t rcBindTexture; 34 rcBindRenderbuffer_client_proc_t rcBindRenderbuffer; 35 rcColorBufferCacheFlush_client_proc_t rcColorBufferCacheFlush; 36 rcReadColorBuffer_client_proc_t rcReadColorBuffer; 37 rcUpdateColorBuffer_client_proc_t rcUpdateColorBuffer; 38 rcOpenColorBuffer2_client_proc_t rcOpenColorBuffer2; 39 rcCreateClientImage_client_proc_t rcCreateClientImage; 40 rcDestroyClientImage_client_proc_t rcDestroyClientImage; 41 rcSelectChecksumHelper_client_proc_t rcSelectChecksumHelper; ~renderControl_client_context_trenderControl_client_context_t42 virtual ~renderControl_client_context_t() {} 43 44 typedef renderControl_client_context_t *CONTEXT_ACCESSOR_TYPE(void); 45 static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f); 46 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData); setErrorrenderControl_client_context_t47 virtual void setError(unsigned int error){ (void)error; }; getErrorrenderControl_client_context_t48 virtual unsigned int getError(){ return 0; }; 49 }; 50 51 #endif 52