Lines Matching refs:draw
138 draw(EGL_NO_SURFACE), in EGLContext_t()
895 if (!ctx->draw) { in eglSwapInterval()
898 egl_surface_t* draw(static_cast<egl_surface_t*>(ctx->draw)); in eglSwapInterval() local
899 draw->setSwapInterval(interval); in eglSwapInterval()
973 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
976 VALIDATE_SURFACE_RETURN(draw, EGL_FALSE); in eglMakeCurrent()
979 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT)) in eglMakeCurrent()
981 if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT)) in eglMakeCurrent()
986 egl_surface_t * drawSurf = static_cast<egl_surface_t *>(draw); in eglMakeCurrent()
998 (context && context->draw == draw && context->read == read))) { in eglMakeCurrent()
1023 context->draw = draw; in eglMakeCurrent()
1091 return context->draw; in eglGetCurrentSurface()
1125 if (!context->draw) in eglQueryContext()