Home
last modified time | relevance | path

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

/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp558 EglSurface* old_draw_surface = draw_surface->bind(rc->ctx->handle, false); in rcMakeCurrent() local
559 if (old_draw_surface) in rcMakeCurrent()
560 old_draw_surface->unbind(false); in rcMakeCurrent()
584 if (old_draw_surface) in rcMakeCurrent()
585 old_draw_surface->bind(rc->ctx->handle, false); in rcMakeCurrent()
591 if (old_draw_surface && old_draw_surface->disposable()) in rcMakeCurrent()
592 delete old_draw_surface; in rcMakeCurrent()
DAVDVirglRenderer.cpp652 EGLSurface old_read_surface, old_draw_surface; in virgl_renderer_fill_caps() local
668 old_draw_surface = s_egl.eglGetCurrentSurface(EGL_DRAW); 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()