Home
last modified time | relevance | path

Searched refs:gl_ctx (Results 1 – 6 of 6) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_atarigl.c105 if (gl_ctx) { in SDL_AtariGL_Quit()
107 this->gl_data->OSMesaDestroyContext(gl_ctx); in SDL_AtariGL_Quit()
109 gl_ctx = NULL; in SDL_AtariGL_Quit()
339 if (!(this->gl_data->OSMesaMakeCurrent(gl_ctx, surface->pixels, type, surface->w, surface->h))) { in SDL_AtariGL_MakeCurrent()
483 if (gl_ctx && in InitNew()
493 gl_ctx = this->gl_data->OSMesaCreateContextExt( in InitNew()
497 if (gl_ctx) { in InitNew()
510 return (gl_ctx != NULL); in InitNew()
DSDL_atarigl_c.h84 #define gl_ctx (this->gl_data->ctx) macro
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwmesadef.h13 struct gl_context gl_ctx; /* The core GL/Mesa context */ member
Dwmesa.c1086 ctx = &c->gl_ctx; in WMesaCreateContext()
1120 struct gl_context *ctx = &pwc->gl_ctx; in WMesaDestroyContext()
1194 struct gl_config *visual = &c->gl_ctx.Visual; in WMesaMakeCurrent()
1228 _mesa_make_current(&c->gl_ctx, &pwfb->Base, &pwfb->Base); in WMesaMakeCurrent()
1262 _mesa_share_state(&ctx->gl_ctx, &ctx_to_share->gl_ctx); in WMesaShareLists()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
Dwmesadef.h13 struct gl_context gl_ctx; /* The core GL/Mesa context */ member
Dwmesa.c1086 ctx = &c->gl_ctx; in WMesaCreateContext()
1120 struct gl_context *ctx = &pwc->gl_ctx; in WMesaDestroyContext()
1194 struct gl_config *visual = &c->gl_ctx.Visual; in WMesaMakeCurrent()
1228 _mesa_make_current(&c->gl_ctx, &pwfb->Base, &pwfb->Base); in WMesaMakeCurrent()
1262 _mesa_share_state(&ctx->gl_ctx, &ctx_to_share->gl_ctx); in WMesaShareLists()