Searched refs:SDL_GL_GetCurrentContext (Results 1 – 14 of 14) sorted by relevance
82 share_context = (PP_Resource) SDL_GL_GetCurrentContext(); in NACL_GLES_CreateContext()159 driverdata->ppb_graphics->SwapBuffers((PP_Resource) SDL_GL_GetCurrentContext(), callback ); in NACL_GLES_SwapWindow()
64 context = (PP_Resource) SDL_GL_GetCurrentContext(); in NACL_SetScreenResolution()
246 share_context = (NSOpenGLContext*)SDL_GL_GetCurrentContext();357 nscontext = (NSOpenGLContext*)SDL_GL_GetCurrentContext();377 nscontext = (NSOpenGLContext*)SDL_GL_GetCurrentContext();390 SDLOpenGLContext* nscontext = (SDLOpenGLContext*)SDL_GL_GetCurrentContext();
63 data->egl_context = SDL_GL_GetCurrentContext(); in android_egl_context_backup()
117 SDLEAGLContext *context = (__bridge SDLEAGLContext *) SDL_GL_GetCurrentContext();162 EAGLContext *context = (__bridge EAGLContext *) SDL_GL_GetCurrentContext();240 EAGLContext *context = (__bridge EAGLContext *) SDL_GL_GetCurrentContext();
109 SDL_GLContext current_ctx = SDL_GL_GetCurrentContext(); in SDL_EGL_MakeCurrent_impl()
590 SDL_GLContext current_ctx = SDL_GL_GetCurrentContext(); in WIN_GL_SetupWindow()629 share_context = (HGLRC)SDL_GL_GetCurrentContext(); in WIN_GL_CreateContext()732 SDL_assert(SDL_GL_GetCurrentContext() == NULL); in WIN_GL_MakeCurrent()
1146 extern DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void);
3294 ctx == SDL_GL_GetCurrentContext()) { in SDL_GL_MakeCurrent()3330 SDL_GL_GetCurrentContext(void) in SDL_GL_GetCurrentContext() function3355 } else if (SDL_GL_GetCurrentContext() == NULL) { in SDL_GL_SetSwapInterval()3369 } else if (SDL_GL_GetCurrentContext() == NULL) { in SDL_GL_GetSwapInterval()3403 if (SDL_GL_GetCurrentContext() == context) { in SDL_GL_DeleteContext()
439 share_context = (EGLContext)SDL_GL_GetCurrentContext(); in SDL_EGL_CreateContext()
573 share_context = (GLXContext)SDL_GL_GetCurrentContext(); in X11_GL_CreateContext()
568 #define SDL_GL_GetCurrentContext SDL_GL_GetCurrentContext_REAL macro
594 SDL_DYNAPI_PROC(SDL_GLContext,SDL_GL_GetCurrentContext,(void),(),return)
296 SDL_GL_GetCurrentContext() != data->context) { in GL_ActivateRenderer()316 if (SDL_GL_GetCurrentContext() == data->context) { in GL_ResetState()