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 //Accessors set_rcGetRendererVersionrenderControl_client_context_t37 virtual rcGetRendererVersion_client_proc_t set_rcGetRendererVersion(rcGetRendererVersion_client_proc_t f) { rcGetRendererVersion_client_proc_t retval = rcGetRendererVersion; rcGetRendererVersion = f; return retval;} set_rcGetEGLVersionrenderControl_client_context_t38 virtual rcGetEGLVersion_client_proc_t set_rcGetEGLVersion(rcGetEGLVersion_client_proc_t f) { rcGetEGLVersion_client_proc_t retval = rcGetEGLVersion; rcGetEGLVersion = f; return retval;} set_rcQueryEGLStringrenderControl_client_context_t39 virtual rcQueryEGLString_client_proc_t set_rcQueryEGLString(rcQueryEGLString_client_proc_t f) { rcQueryEGLString_client_proc_t retval = rcQueryEGLString; rcQueryEGLString = f; return retval;} set_rcGetGLStringrenderControl_client_context_t40 virtual rcGetGLString_client_proc_t set_rcGetGLString(rcGetGLString_client_proc_t f) { rcGetGLString_client_proc_t retval = rcGetGLString; rcGetGLString = f; return retval;} set_rcGetNumConfigsrenderControl_client_context_t41 virtual rcGetNumConfigs_client_proc_t set_rcGetNumConfigs(rcGetNumConfigs_client_proc_t f) { rcGetNumConfigs_client_proc_t retval = rcGetNumConfigs; rcGetNumConfigs = f; return retval;} set_rcGetConfigsrenderControl_client_context_t42 virtual rcGetConfigs_client_proc_t set_rcGetConfigs(rcGetConfigs_client_proc_t f) { rcGetConfigs_client_proc_t retval = rcGetConfigs; rcGetConfigs = f; return retval;} set_rcChooseConfigrenderControl_client_context_t43 virtual rcChooseConfig_client_proc_t set_rcChooseConfig(rcChooseConfig_client_proc_t f) { rcChooseConfig_client_proc_t retval = rcChooseConfig; rcChooseConfig = f; return retval;} set_rcGetFBParamrenderControl_client_context_t44 virtual rcGetFBParam_client_proc_t set_rcGetFBParam(rcGetFBParam_client_proc_t f) { rcGetFBParam_client_proc_t retval = rcGetFBParam; rcGetFBParam = f; return retval;} set_rcCreateContextrenderControl_client_context_t45 virtual rcCreateContext_client_proc_t set_rcCreateContext(rcCreateContext_client_proc_t f) { rcCreateContext_client_proc_t retval = rcCreateContext; rcCreateContext = f; return retval;} set_rcDestroyContextrenderControl_client_context_t46 virtual rcDestroyContext_client_proc_t set_rcDestroyContext(rcDestroyContext_client_proc_t f) { rcDestroyContext_client_proc_t retval = rcDestroyContext; rcDestroyContext = f; return retval;} set_rcCreateWindowSurfacerenderControl_client_context_t47 virtual rcCreateWindowSurface_client_proc_t set_rcCreateWindowSurface(rcCreateWindowSurface_client_proc_t f) { rcCreateWindowSurface_client_proc_t retval = rcCreateWindowSurface; rcCreateWindowSurface = f; return retval;} set_rcDestroyWindowSurfacerenderControl_client_context_t48 virtual rcDestroyWindowSurface_client_proc_t set_rcDestroyWindowSurface(rcDestroyWindowSurface_client_proc_t f) { rcDestroyWindowSurface_client_proc_t retval = rcDestroyWindowSurface; rcDestroyWindowSurface = f; return retval;} set_rcCreateColorBufferrenderControl_client_context_t49 virtual rcCreateColorBuffer_client_proc_t set_rcCreateColorBuffer(rcCreateColorBuffer_client_proc_t f) { rcCreateColorBuffer_client_proc_t retval = rcCreateColorBuffer; rcCreateColorBuffer = f; return retval;} set_rcOpenColorBufferrenderControl_client_context_t50 virtual rcOpenColorBuffer_client_proc_t set_rcOpenColorBuffer(rcOpenColorBuffer_client_proc_t f) { rcOpenColorBuffer_client_proc_t retval = rcOpenColorBuffer; rcOpenColorBuffer = f; return retval;} set_rcCloseColorBufferrenderControl_client_context_t51 virtual rcCloseColorBuffer_client_proc_t set_rcCloseColorBuffer(rcCloseColorBuffer_client_proc_t f) { rcCloseColorBuffer_client_proc_t retval = rcCloseColorBuffer; rcCloseColorBuffer = f; return retval;} set_rcSetWindowColorBufferrenderControl_client_context_t52 virtual rcSetWindowColorBuffer_client_proc_t set_rcSetWindowColorBuffer(rcSetWindowColorBuffer_client_proc_t f) { rcSetWindowColorBuffer_client_proc_t retval = rcSetWindowColorBuffer; rcSetWindowColorBuffer = f; return retval;} set_rcFlushWindowColorBufferrenderControl_client_context_t53 virtual rcFlushWindowColorBuffer_client_proc_t set_rcFlushWindowColorBuffer(rcFlushWindowColorBuffer_client_proc_t f) { rcFlushWindowColorBuffer_client_proc_t retval = rcFlushWindowColorBuffer; rcFlushWindowColorBuffer = f; return retval;} set_rcMakeCurrentrenderControl_client_context_t54 virtual rcMakeCurrent_client_proc_t set_rcMakeCurrent(rcMakeCurrent_client_proc_t f) { rcMakeCurrent_client_proc_t retval = rcMakeCurrent; rcMakeCurrent = f; return retval;} set_rcFBPostrenderControl_client_context_t55 virtual rcFBPost_client_proc_t set_rcFBPost(rcFBPost_client_proc_t f) { rcFBPost_client_proc_t retval = rcFBPost; rcFBPost = f; return retval;} set_rcFBSetSwapIntervalrenderControl_client_context_t56 virtual rcFBSetSwapInterval_client_proc_t set_rcFBSetSwapInterval(rcFBSetSwapInterval_client_proc_t f) { rcFBSetSwapInterval_client_proc_t retval = rcFBSetSwapInterval; rcFBSetSwapInterval = f; return retval;} set_rcBindTexturerenderControl_client_context_t57 virtual rcBindTexture_client_proc_t set_rcBindTexture(rcBindTexture_client_proc_t f) { rcBindTexture_client_proc_t retval = rcBindTexture; rcBindTexture = f; return retval;} set_rcBindRenderbufferrenderControl_client_context_t58 virtual rcBindRenderbuffer_client_proc_t set_rcBindRenderbuffer(rcBindRenderbuffer_client_proc_t f) { rcBindRenderbuffer_client_proc_t retval = rcBindRenderbuffer; rcBindRenderbuffer = f; return retval;} set_rcColorBufferCacheFlushrenderControl_client_context_t59 virtual rcColorBufferCacheFlush_client_proc_t set_rcColorBufferCacheFlush(rcColorBufferCacheFlush_client_proc_t f) { rcColorBufferCacheFlush_client_proc_t retval = rcColorBufferCacheFlush; rcColorBufferCacheFlush = f; return retval;} set_rcReadColorBufferrenderControl_client_context_t60 virtual rcReadColorBuffer_client_proc_t set_rcReadColorBuffer(rcReadColorBuffer_client_proc_t f) { rcReadColorBuffer_client_proc_t retval = rcReadColorBuffer; rcReadColorBuffer = f; return retval;} set_rcUpdateColorBufferrenderControl_client_context_t61 virtual rcUpdateColorBuffer_client_proc_t set_rcUpdateColorBuffer(rcUpdateColorBuffer_client_proc_t f) { rcUpdateColorBuffer_client_proc_t retval = rcUpdateColorBuffer; rcUpdateColorBuffer = f; return retval;} ~renderControl_client_context_trenderControl_client_context_t62 virtual ~renderControl_client_context_t() {} 63 64 typedef renderControl_client_context_t *CONTEXT_ACCESSOR_TYPE(void); 65 static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f); 66 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData); setErrorrenderControl_client_context_t67 virtual void setError(unsigned int error){}; getErrorrenderControl_client_context_t68 virtual unsigned int getError(){ return 0; }; 69 }; 70 71 #endif 72