Lines Matching refs:dsurf
1783 dri2_make_current(_EGLDisplay *disp, _EGLSurface *dsurf,
1801 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
1804 if (old_ctx == ctx && old_dsurf == dsurf && old_rsurf == rsurf) {
1828 ddraw = (dsurf) ? dri2_dpy->vtbl->get_dri_drawable(dsurf) : NULL;
1845 tmp_dsurf == dsurf &&
1848 _eglPutSurface(dsurf);
1875 dsurf = rsurf = NULL;
1878 _eglBindContext(ctx, dsurf, rsurf, &tmp_ctx, &tmp_dsurf, &tmp_rsurf);
1904 if (dsurf && _eglSurfaceHasMutableRenderBuffer(dsurf) &&
1912 bool mode = (dsurf->ActiveRenderBuffer == EGL_SINGLE_BUFFER);
1913 dri2_dpy->vtbl->set_shared_buffer_mode(disp, dsurf, mode);