Searched refs:vg_ctx (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/mesa-demos/dist/src/egl/oes_vg/ |
| H A D | vgimage2tex.c | 44 EGLContext vg_ctx; member in struct:_egl_manager_t 203 eglman->vg_ctx = eglCreateContext(eglman->dpy, eglman->conf, NULL, NULL); 204 if (eglman->vg_ctx == EGL_NO_CONTEXT || 242 eglDestroyContext(eglman->dpy, eglman->vg_ctx); 249 eglMakeCurrent(eglman->dpy, eglman->pbuf_surface, eglman->pbuf_surface, eglman->vg_ctx); 255 eglman->egl_image = (EGLImageKHR)eglCreateImageKHR(eglman->dpy, eglman->vg_ctx, EGL_VG_PARENT_IMAGE_KHR, (EGLClientBuffer)eglman->vg_image, NULL); 277 eglMakeCurrent(eglman->dpy, eglman->pbuf_surface, eglman->pbuf_surface, eglman->vg_ctx); 311 eglMakeCurrent(eglman->dpy, eglman->pbuf_surface, eglman->pbuf_surface, eglman->vg_ctx);
|
| H A D | tex2vgimage.c | 47 EGLContext vg_ctx; member in struct:_egl_manager_t 213 eglman->vg_ctx = eglCreateContext(eglman->dpy, eglman->conf, NULL, NULL); 214 if (eglman->vg_ctx == EGL_NO_CONTEXT || 252 eglDestroyContext(eglman->dpy, eglman->vg_ctx); 279 eglMakeCurrent(eglman->dpy, eglman->win_surface, eglman->win_surface, eglman->vg_ctx); 298 eglMakeCurrent(eglman->dpy, eglman->win_surface, eglman->win_surface, eglman->vg_ctx); 326 eglMakeCurrent(eglman->dpy, eglman->win_surface, eglman->win_surface, eglman->vg_ctx);
|
Completed in 3 milliseconds