Lines Matching defs:draw
745 EGLBoolean eglMakeCurrent( EGLDisplay dpy, EGLSurface draw,
753 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
757 (draw != EGL_NO_SURFACE) ) {
763 SurfaceRef _d(dp.get(), draw);
790 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) {
801 // retrieve the underlying implementation's draw EGLSurface
802 if (draw != EGL_NO_SURFACE) {
804 d = get_surface(draw);
817 draw, read, ctx,
838 SurfaceRef _d2(dp.get(), cur_c->draw);
844 if (cur_c->draw != EGL_NO_SURFACE) {
845 d = get_surface(cur_c->draw);
854 cur_c->draw, cur_c->read, cur_c->context,
913 case EGL_DRAW: return c->draw;
1141 EGLBoolean eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface draw,
1150 SurfaceRef _s(dp.get(), draw);
1154 egl_surface_t const * const s = get_surface(draw);