Lines Matching refs:ctx
561 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
569 ContextRef _c(dp.get(), ctx); in eglDestroyContext()
573 egl_context_t * const c = get_context(ctx); in eglDestroyContext()
582 EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
592 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) || in eglMakeCurrent()
598 ContextRef _c(dp.get(), ctx); in eglMakeCurrent()
603 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) { in eglMakeCurrent()
621 if (ctx != EGL_NO_CONTEXT) { in eglMakeCurrent()
622 c = get_context(ctx); in eglMakeCurrent()
651 draw, read, ctx, in eglMakeCurrent()
657 egl_tls_t::setContext(ctx); in eglMakeCurrent()
660 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx); in eglMakeCurrent()
677 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx, in eglQueryContext() argument
685 ContextRef _c(dp.get(), ctx); in eglQueryContext()
688 egl_context_t * const c = get_context(ctx); in eglQueryContext()
701 EGLContext ctx = getContext(); in eglGetCurrentContext() local
702 return ctx; in eglGetCurrentContext()
712 EGLContext ctx = getContext(); in eglGetCurrentSurface() local
713 if (ctx) { in eglGetCurrentSurface()
714 egl_context_t const * const c = get_context(ctx); in eglGetCurrentSurface()
732 EGLContext ctx = getContext(); in eglGetCurrentDisplay() local
733 if (ctx) { in eglGetCurrentDisplay()
734 egl_context_t const * const c = get_context(ctx); in eglGetCurrentDisplay()
960 EGLContext ctx = egl_tls_t::getContext(); in eglSwapBuffers() local
961 egl_context_t * const c = get_context(ctx); in eglSwapBuffers()
964 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx); in eglSwapBuffers()
972 EGLContext ctx = egl_tls_t::getContext(); in eglSwapBuffers() local
973 egl_context_t * const c = get_context(ctx); in eglSwapBuffers()
1271 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, in eglCreateImageKHR() argument
1279 ContextRef _c(dp.get(), ctx); in eglCreateImageKHR()