Home
last modified time | relevance | path

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

/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp566 EglContext* old_context = context->bind(rc->ctx->handle); in rcMakeCurrent() local
567 if (old_context) in rcMakeCurrent()
568 old_context->unbind(); in rcMakeCurrent()
578 if (old_context) in rcMakeCurrent()
579 old_context->bind(rc->ctx->handle); in rcMakeCurrent()
587 if (old_context && old_context->disposable()) in rcMakeCurrent()
588 delete old_context; in rcMakeCurrent()
DAVDVirglRenderer.cpp655 EGLContext old_context; in virgl_renderer_fill_caps() local
669 old_context = s_egl.eglGetCurrentContext(); 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()