Searched refs:old_read_surface (Results 1 – 2 of 2) sorted by relevance
562 EglSurface* old_read_surface = read_surface->bind(rc->ctx->handle, true); in rcMakeCurrent() local563 if (old_read_surface) in rcMakeCurrent()564 old_read_surface->unbind(true); in rcMakeCurrent()581 if (old_read_surface) in rcMakeCurrent()582 old_read_surface->bind(rc->ctx->handle, true); in rcMakeCurrent()589 if (old_read_surface && old_read_surface->disposable()) in rcMakeCurrent()590 delete old_read_surface; in rcMakeCurrent()
652 EGLSurface old_read_surface, old_draw_surface; in virgl_renderer_fill_caps() local667 old_read_surface = s_egl.eglGetCurrentSurface(EGL_READ); in virgl_renderer_fill_caps()750 s_egl.eglMakeCurrent(g_dpy, old_draw_surface, old_read_surface, old_context); in virgl_renderer_fill_caps()787 if (!s_egl.eglMakeCurrent(g_dpy, old_draw_surface, old_read_surface, old_context)) { in virgl_renderer_fill_caps()