Lines Matching defs:CRContext

10 /* Forward declaration since some of the state/cr_*.h files need the CRContext type */
11 struct CRContext;
12 typedef struct CRContext CRContext;
131 struct CRContext {
212 DECLEXPORT(CRContext *) crStateCreateContext(const CRLimitsState *limits, GLint visBits, CRContext *share);
213 DECLEXPORT(CRContext *) crStateCreateContextEx(const CRLimitsState *limits, GLint visBits, CRContext *share, GLint presetID);
214 DECLEXPORT(void) crStateMakeCurrent(CRContext *ctx);
215 DECLEXPORT(void) crStateSetCurrent(CRContext *ctx);
217 DECLEXPORT(CRContext *) crStateGetCurrent(void);
218 DECLEXPORT(void) crStateDestroyContext(CRContext *ctx);
221 void crStateSwitchPrepare(CRContext *toCtx, CRContext *fromCtx, GLuint idDrawFBO, GLuint idReadFBO);
222 void crStateSwitchPostprocess(CRContext *toCtx, CRContext *fromCtx, GLuint idDrawFBO, GLuint idReadFBO);
224 void crStateSyncHWErrorState(CRContext *ctx);
243 DECLEXPORT(void) crStateSetCurrentPointers( CRContext *ctx, CRCurrentStatePointers *current );
246 DECLEXPORT(void) crStateSetExtensionString( CRContext *ctx, const GLubyte *extensions );
248 DECLEXPORT(void) crStateDiffContext( CRContext *from, CRContext *to );
249 DECLEXPORT(void) crStateSwitchContext( CRContext *from, CRContext *to );
277 DECLEXPORT(void) crStateApplyFBImage(CRContext *to, CRFBData *data);
278 DECLEXPORT(int) crStateAcquireFBImage(CRContext *to, CRFBData *data);
279 DECLEXPORT(void) crStateFreeFBImageLegacy(CRContext *to);
281 DECLEXPORT(void) crStateGetTextureObjectAndImage(CRContext *g, GLenum texTarget, GLint level,
285 DECLEXPORT(void) crStateReleaseTexture(CRContext *pCtx, CRTextureObj *pObj);
288 DECLEXPORT(int32_t) crStateSaveContext(CRContext *pContext, PSSMHANDLE pSSM);
289 typedef DECLCALLBACK(CRContext*) FNCRSTATE_CONTEXT_GET(void*);
291 DECLEXPORT(int32_t) crStateLoadContext(CRContext *pContext, CRHashTable * pCtxTable, PFNCRSTATE_CONTEXT_GET pfnCtxGet, PSSMHANDLE pSSM, uint32_t u32Version);
292 DECLEXPORT(void) crStateFreeShared(CRContext *pContext, CRSharedState *s);
325 DECLEXPORT(void) STATE_APIENTRY crStateShareLists(CRContext *pContext1, CRContext *pContext2);
326 DECLEXPORT(void) STATE_APIENTRY crStateSetSharedContext(CRContext *pCtx);
327 DECLEXPORT(GLboolean) STATE_APIENTRY crStateContextIsShared(CRContext *pCtx);