1 // Generated Code - DO NOT EDIT !!
2 // generated by 'emugen'
4 #ifndef GUARD_renderControl_encoder_context_t
5 #define GUARD_renderControl_encoder_context_t
8 #include "renderControl_client_context.h"
15 struct renderControl_encoder_context_t : public renderControl_client_context_t {
19 renderControl_encoder_context_t(IOStream *stream);
25 GLint rcGetRendererVersion_enc(void *self );
26 EGLint rcGetEGLVersion_enc(void *self , EGLint* major, EGLint* minor);
27 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize);
28 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize);
29 EGLint rcGetNumConfigs_enc(void *self , uint32_t* numAttribs);
30 EGLint rcGetConfigs_enc(void *self , uint32_t bufSize, GLuint* buffer);
31 EGLint rcChooseConfig_enc(void *self , EGLint* attribs, uint32_t attribs_size, uint32_t* configs, uint32_t configs_size);
32 EGLint rcGetFBParam_enc(void *self , EGLint param);
33 uint32_t rcCreateContext_enc(void *self , uint32_t config, uint32_t share, uint32_t glVersion);
34 void rcDestroyContext_enc(void *self , uint32_t context);
35 uint32_t rcCreateWindowSurface_enc(void *self , uint32_t config, uint32_t width, uint32_t height);
36 void rcDestroyWindowSurface_enc(void *self , uint32_t windowSurface);
37 uint32_t rcCreateColorBuffer_enc(void *self , uint32_t width, uint32_t height, GLenum internalFormat);
38 void rcOpenColorBuffer_enc(void *self , uint32_t colorbuffer);
39 void rcCloseColorBuffer_enc(void *self , uint32_t colorbuffer);
40 void rcSetWindowColorBuffer_enc(void *self , uint32_t windowSurface, uint32_t colorBuffer);
41 int rcFlushWindowColorBuffer_enc(void *self , uint32_t windowSurface);
42 EGLint rcMakeCurrent_enc(void *self , uint32_t context, uint32_t drawSurf, uint32_t readSurf);
43 void rcFBPost_enc(void *self , uint32_t colorBuffer);
44 void rcFBSetSwapInterval_enc(void *self , EGLint interval);
45 void rcBindTexture_enc(void *self , uint32_t colorBuffer);
46 void rcBindRenderbuffer_enc(void *self , uint32_t colorBuffer);
47 EGLint rcColorBufferCacheFlush_enc(void *self , uint32_t colorbuffer, EGLint postCount, int forRead);
48 void rcReadColorBuffer_enc(void *self , uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
49 int rcUpdateColorBuffer_enc(void *self , uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
50 int rcOpenColorBuffer2_enc(void *self , uint32_t colorbuffer);