Home
last modified time | relevance | path

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

/external/mesa3d/src/egl/drivers/glx/
Degl_glx.c756 GLX_eglMakeCurrent(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *dsurf, in GLX_eglMakeCurrent() argument
761 struct GLX_egl_surface *GLX_dsurf = GLX_egl_surface(dsurf); in GLX_eglMakeCurrent()
771 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in GLX_eglMakeCurrent()
793 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf); in GLX_eglMakeCurrent()
795 &GLX_dsurf->Base == dsurf && in GLX_eglMakeCurrent()
798 _eglPutSurface(dsurf); in GLX_eglMakeCurrent()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c885 dri2_make_current(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *dsurf, in dri2_make_current() argument
890 struct dri2_egl_surface *dri2_dsurf = dri2_egl_surface(dsurf); in dri2_make_current()
899 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in dri2_make_current()
927 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf); in dri2_make_current()
929 &dri2_dsurf->base == dsurf && in dri2_make_current()
932 _eglPutSurface(dsurf); in dri2_make_current()