Lines Matching defs:read
971 EGLSurface read, EGLContext ctx)
978 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
981 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) ||
989 SurfaceRef _r(dp.get(), read);
1015 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) {
1033 // retrieve the underlying implementation's read EGLSurface
1034 if (read != EGL_NO_SURFACE) {
1036 r = get_surface(read);
1042 draw, read, ctx,
1064 SurfaceRef _r2(dp.get(), cur_c->read);
1074 if (cur_c->read != EGL_NO_SURFACE) {
1075 r = get_surface(cur_c->read);
1079 cur_c->draw, cur_c->read, cur_c->context,
1137 case EGL_READ: return c->read;