Lines Matching refs:gDemoGfxCurInstance
58 static DEMOGfxInstance* gDemoGfxCurInstance = NULL; variable
486 gDemoGfxCurInstance = NULL; in DEMOGfxInit()
495 return gDemoGfxCurInstance; in DEMOGfxInit()
501 DEMOGfxDeleteInstance(gDemoGfxCurInstance); in DEMOGfxShutdown()
835 gDemoGfxCurInstance = DEMOAlloc(sizeof(DEMOGfxInstance)); in DEMOGfxAddInstance()
836 gDemoGfxCurInstance->contextState = DEMOContextState; in DEMOGfxAddInstance()
838 return gDemoGfxCurInstance; in DEMOGfxAddInstance()
847 if (gDemoGfxCurInstance == instance) { in DEMOGfxDeleteInstance()
848 gDemoGfxCurInstance = NULL; in DEMOGfxDeleteInstance()
856 gDemoGfxCurInstance = instance; in DEMOGfxSetInstance()
864 return gDemoGfxCurInstance; in DEMOGfxGetInstance()