Searched refs:old_ctx (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/egl/main/ |
D | eglcontext.c | 560 _EGLContext **old_ctx, in _eglBindContext() argument 606 assert(old_ctx && old_draw && old_read); in _eglBindContext() 607 *old_ctx = prev_ctx; in _eglBindContext()
|
D | eglcontext.h | 77 _EGLContext **old_ctx,
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_api.c | 1165 XMesaContext old_ctx = XMesaGetCurrentContext(); in XMesaMakeCurrent2() local 1167 if (old_ctx && old_ctx != c) { in XMesaMakeCurrent2() 1168 XMesaFlush(old_ctx); in XMesaMakeCurrent2() 1169 old_ctx->xm_buffer = NULL; in XMesaMakeCurrent2() 1170 old_ctx->xm_read_buffer = NULL; in XMesaMakeCurrent2() 1177 if (c == old_ctx && in XMesaMakeCurrent2()
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
D | egl_g3d_api.c | 493 _EGLContext *old_ctx; in egl_g3d_make_current() local 498 if (!_eglBindContext(ctx, draw, read, &old_ctx, &old_draw, &old_read)) in egl_g3d_make_current() 501 old_gctx = egl_g3d_context(old_ctx); in egl_g3d_make_current() 527 if (_eglPutContext(old_ctx)) in egl_g3d_make_current() 528 destroy_context(dpy, old_ctx); in egl_g3d_make_current() 536 _eglBindContext(old_ctx, old_draw, old_read, &ctx, &draw, &read); in egl_g3d_make_current() 547 _eglPutContext(old_ctx); in egl_g3d_make_current()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | egl_dri2.c | 893 _EGLContext *old_ctx; in dri2_make_current() local 899 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in dri2_make_current() 903 if (old_ctx && dri2_drv->glFlush) in dri2_make_current() 910 if (old_ctx) { in dri2_make_current() 911 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context; in dri2_make_current() 921 if (old_ctx) in dri2_make_current() 922 drv->API.DestroyContext(drv, disp, old_ctx); in dri2_make_current() 927 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf); in dri2_make_current() 938 _eglPutContext(old_ctx); in dri2_make_current()
|
/external/mesa3d/src/egl/drivers/glx/ |
D | egl_glx.c | 764 _EGLContext *old_ctx; in GLX_eglMakeCurrent() local 771 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in GLX_eglMakeCurrent() 789 _eglPutContext(old_ctx); in GLX_eglMakeCurrent() 793 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf); in GLX_eglMakeCurrent() 804 _eglPutContext(old_ctx); in GLX_eglMakeCurrent()
|