Lines Matching refs:ctx
424 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
432 ContextRef _c(dp.get(), ctx); in eglDestroyContext()
436 egl_context_t * const c = get_context(ctx); in eglDestroyContext()
445 EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
455 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) || in eglMakeCurrent()
461 ContextRef _c(dp.get(), ctx); in eglMakeCurrent()
466 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) { in eglMakeCurrent()
484 if (ctx != EGL_NO_CONTEXT) { in eglMakeCurrent()
485 c = get_context(ctx); in eglMakeCurrent()
514 draw, read, ctx, in eglMakeCurrent()
520 egl_tls_t::setContext(ctx); in eglMakeCurrent()
523 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx); in eglMakeCurrent()
540 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx, in eglQueryContext() argument
548 ContextRef _c(dp.get(), ctx); in eglQueryContext()
551 egl_context_t * const c = get_context(ctx); in eglQueryContext()
564 EGLContext ctx = getContext(); in eglGetCurrentContext() local
565 return ctx; in eglGetCurrentContext()
575 EGLContext ctx = getContext(); in eglGetCurrentSurface() local
576 if (ctx) { in eglGetCurrentSurface()
577 egl_context_t const * const c = get_context(ctx); in eglGetCurrentSurface()
595 EGLContext ctx = getContext(); in eglGetCurrentDisplay() local
596 if (ctx) { in eglGetCurrentDisplay()
597 egl_context_t const * const c = get_context(ctx); in eglGetCurrentDisplay()
1084 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, in eglCreateImageKHR() argument
1092 ContextRef _c(dp.get(), ctx); in eglCreateImageKHR()