Home
last modified time | relevance | path

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

/external/mesa3d/src/egl/drivers/haiku/
Degl_haiku.cpp281 haiku_make_current(_EGLDisplay *disp, _EGLSurface *dsurf, in haiku_make_current() argument
287 struct haiku_egl_surface* surf = haiku_egl_surface(dsurf); in haiku_make_current()
291 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in haiku_make_current()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1764 dri2_make_current(_EGLDisplay *disp, _EGLSurface *dsurf, in dri2_make_current() argument
1782 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in dri2_make_current()
1805 ddraw = (dsurf) ? dri2_dpy->vtbl->get_dri_drawable(dsurf) : NULL; in dri2_make_current()
1822 tmp_dsurf == dsurf && in dri2_make_current()
1825 _eglPutSurface(dsurf); in dri2_make_current()
1852 dsurf = rsurf = NULL; in dri2_make_current()
1855 _eglBindContext(ctx, dsurf, rsurf, &tmp_ctx, &tmp_dsurf, &tmp_rsurf); in dri2_make_current()
1881 if (dsurf && _eglSurfaceHasMutableRenderBuffer(dsurf) && in dri2_make_current()
1889 bool mode = (dsurf->ActiveRenderBuffer == EGL_SINGLE_BUFFER); in dri2_make_current()
1890 dri2_dpy->vtbl->set_shared_buffer_mode(disp, dsurf, mode); in dri2_make_current()