Home
last modified time | relevance | path

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

/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp562 EglSurface* old_read_surface = read_surface->bind(rc->ctx->handle, true); in rcMakeCurrent() local
563 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()
DAVDVirglRenderer.cpp652 EGLSurface old_read_surface, old_draw_surface; in virgl_renderer_fill_caps() local
667 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()