Searched refs:es_ctx (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/egl/oes_vg/
H A Dtex2vgimage.c48 EGLContext es_ctx; member in struct:_egl_manager_t
204 eglman->es_ctx = eglCreateContext(eglman->dpy, eglman->conf, NULL, NULL);
205 if (eglman->es_ctx == EGL_NO_CONTEXT ||
251 eglDestroyContext(eglman->dpy, eglman->es_ctx);
262 eglMakeCurrent(eglman->dpy, eglman->pbuf_surface, eglman->pbuf_surface, eglman->es_ctx);
275 eglman->egl_image = (EGLImageKHR)eglCreateImageKHR(eglman->dpy, eglman->es_ctx, EGL_GL_TEXTURE_2D_KHR, (EGLClientBuffer)eglman->texture, NULL);
292 eglMakeCurrent(eglman->dpy, eglman->pbuf_surface, eglman->pbuf_surface, eglman->es_ctx);
308 eglMakeCurrent(eglman->dpy, eglman->pbuf_surface, eglman->pbuf_surface, eglman->es_ctx);
H A Dvgimage2tex.c45 EGLContext es_ctx; member in struct:_egl_manager_t
194 eglman->es_ctx = eglCreateContext(eglman->dpy, eglman->conf, NULL, NULL);
195 if (eglman->es_ctx == EGL_NO_CONTEXT ||
241 eglDestroyContext(eglman->dpy, eglman->es_ctx);
259 eglMakeCurrent(eglman->dpy, eglman->win_surface, eglman->win_surface, eglman->es_ctx);
283 eglMakeCurrent(eglman->dpy, eglman->win_surface, eglman->win_surface, eglman->es_ctx);
321 eglMakeCurrent(eglman->dpy, eglman->win_surface, eglman->win_surface, eglman->es_ctx);

Completed in 3 milliseconds