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; 42 rcCreateSyncKHR_client_proc_t rcCreateSyncKHR; 43 rcClientWaitSyncKHR_client_proc_t rcClientWaitSyncKHR; 44 rcFlushWindowColorBufferAsync_client_proc_t rcFlushWindowColorBufferAsync; 45 rcDestroySyncKHR_client_proc_t rcDestroySyncKHR; 46 rcSetPuid_client_proc_t rcSetPuid; 47 rcUpdateColorBufferDMA_client_proc_t rcUpdateColorBufferDMA; 48 rcCreateColorBufferDMA_client_proc_t rcCreateColorBufferDMA; 49 rcWaitSyncKHR_client_proc_t rcWaitSyncKHR; 50 rcCompose_client_proc_t rcCompose; 51 rcCreateDisplay_client_proc_t rcCreateDisplay; 52 rcDestroyDisplay_client_proc_t rcDestroyDisplay; 53 rcSetDisplayColorBuffer_client_proc_t rcSetDisplayColorBuffer; 54 rcGetDisplayColorBuffer_client_proc_t rcGetDisplayColorBuffer; 55 rcGetColorBufferDisplay_client_proc_t rcGetColorBufferDisplay; 56 rcGetDisplayPose_client_proc_t rcGetDisplayPose; 57 rcSetDisplayPose_client_proc_t rcSetDisplayPose; 58 rcSetColorBufferVulkanMode_client_proc_t rcSetColorBufferVulkanMode; 59 rcReadColorBufferYUV_client_proc_t rcReadColorBufferYUV; 60 rcIsSyncSignaled_client_proc_t rcIsSyncSignaled; 61 rcCreateColorBufferWithHandle_client_proc_t rcCreateColorBufferWithHandle; 62 rcCreateBuffer_client_proc_t rcCreateBuffer; 63 rcCloseBuffer_client_proc_t rcCloseBuffer; ~renderControl_client_context_trenderControl_client_context_t64 virtual ~renderControl_client_context_t() {} 65 66 typedef renderControl_client_context_t *CONTEXT_ACCESSOR_TYPE(void); 67 static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f); 68 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData); setErrorrenderControl_client_context_t69 virtual void setError(unsigned int error){ (void)error; }; getErrorrenderControl_client_context_t70 virtual unsigned int getError(){ return 0; }; 71 }; 72 73 #endif 74