Lines Matching defs:draw
56 EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw,
131 EGLSurface draw;
1712 c->draw = 0;
1727 EGLBoolean eglMakeCurrent( EGLDisplay dpy, EGLSurface draw,
1732 if (draw) {
1733 egl_surface_t* s = (egl_surface_t*)draw;
1738 // TODO: check that draw is compatible with the context
1740 if (read && read!=draw) {
1751 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT))
1754 if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT))
1762 egl_surface_t* d = (egl_surface_t*)draw;
1775 egl_surface_t* d = (egl_surface_t*)draw;
1778 if (c->draw) {
1779 egl_surface_t* s = reinterpret_cast<egl_surface_t*>(c->draw);
1789 c->draw = draw;
1796 if (draw) {
1821 egl_surface_t* d = (egl_surface_t*)c->draw;
1824 c->draw = 0;
1852 // eglGetCurrentSurface returns the read or draw surface attached
1861 return c->draw;
1902 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface draw)
1907 egl_surface_t* d = static_cast<egl_surface_t*>(draw);
1923 if (c->read == draw) {
2195 EGLBoolean eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw,
2201 egl_surface_t* d = static_cast<egl_surface_t*>(draw);