Home
last modified time | relevance | path

Searched refs:old_dsurf (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/egl/drivers/glx/
Degl_glx.c765 _EGLSurface *old_dsurf, *old_rsurf; in GLX_eglMakeCurrent() local
771 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in GLX_eglMakeCurrent()
784 if (_eglPutSurface(old_dsurf)) in GLX_eglMakeCurrent()
785 destroy_surface(disp, old_dsurf); in GLX_eglMakeCurrent()
793 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf); in GLX_eglMakeCurrent()
802 _eglPutSurface(old_dsurf); in GLX_eglMakeCurrent()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c894 _EGLSurface *old_dsurf, *old_rsurf; in dri2_make_current() local
899 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in dri2_make_current()
917 if (old_dsurf) in dri2_make_current()
918 drv->API.DestroySurface(drv, disp, old_dsurf); in dri2_make_current()
927 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf); in dri2_make_current()
936 _eglPutSurface(old_dsurf); in dri2_make_current()