Home | History | Annotate | Download | only in main

Lines Matching full:surf

144 #define _EGL_CHECK_SURFACE(disp, surf, ret, drv) \
145 _EGL_CHECK_OBJECT(disp, Surface, surf, ret, drv)
179 _eglCheckSurface(_EGLDisplay *disp, _EGLSurface *surf, const char *msg)
184 if (!surf) {
527 _EGLSurface *surf;
534 surf = drv->API.CreateWindowSurface(drv, disp, conf, window, attrib_list);
535 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE;
548 _EGLSurface *surf;
555 surf = drv->API.CreatePixmapSurface(drv, disp, conf, pixmap, attrib_list);
556 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE;
569 _EGLSurface *surf;
574 surf = drv->API.CreatePbufferSurface(drv, disp, conf, attrib_list);
575 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE;
585 _EGLSurface *surf = _eglLookupSurface(surface, disp);
589 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
590 _eglUnlinkSurface(surf);
591 ret = drv->API.DestroySurface(drv, disp, surf);
601 _EGLSurface *surf = _eglLookupSurface(surface, disp);
605 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
606 ret = drv->API.QuerySurface(drv, disp, surf, attribute, value);
616 _EGLSurface *surf = _eglLookupSurface(surface, disp);
620 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
621 ret = drv->API.SurfaceAttrib(drv, disp, surf, attribute, value);
631 _EGLSurface *surf = _eglLookupSurface(surface, disp);
635 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
636 ret = drv->API.BindTexImage(drv, disp, surf, buffer);
646 _EGLSurface *surf = _eglLookupSurface(surface, disp);
650 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
651 ret = drv->API.ReleaseTexImage(drv, disp, surf, buffer);
662 _EGLSurface *surf;
672 surf = ctx->DrawSurface;
673 if (_eglGetSurfaceHandle(surf) == EGL_NO_SURFACE)
676 ret = drv->API.SwapInterval(drv, disp, surf, interval);
687 _EGLSurface *surf = _eglLookupSurface(surface, disp);
691 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
695 surf != ctx->DrawSurface)
698 ret = drv->API.SwapBuffers(drv, disp, surf);
708 _EGLSurface *surf = _eglLookupSurface(surface, disp);
712 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
715 ret = drv->API.CopyBuffers(drv, disp, surf, target);
824 _EGLSurface *surf;
832 surf = ctx->DrawSurface;
835 surf = ctx->ReadSurface;
838 surf = NULL;
843 ret = _eglGetSurfaceHandle(surf);
1066 _EGLSurface *surf;
1071 surf = drv->API.CreateScreenSurfaceMESA(drv, disp, conf, attrib_list);
1072 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE;
1084 _EGLSurface *surf = _eglLookupSurface(surface, disp);
1090 if (!surf && surface != EGL_NO_SURFACE)
1095 ret = drv->API.ShowScreenSurfaceMESA(drv, disp, scrn, surf, m);
1139 _EGLSurface *surf;
1143 ret = drv->API.QueryScreenSurfaceMESA(drv, disp, scrn, &surf);
1145 *surface = _eglGetSurfaceHandle(surf);
1254 _EGLSurface *surf;
1259 surf = drv->API.CreatePbufferFromClientBuffer(drv, disp, buftype, buffer,
1261 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE;
1438 _EGLSurface *surf = _eglLookupSurface(surface, disp);
1442 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
1449 surf != ctx->DrawSurface)
1452 ret = drv->API.SwapBuffersRegionNOK(drv, disp, surf, numRects, rects);
1567 _EGLSurface *surf = _eglLookupSurface(surface, disp);
1571 _EGL_CHECK_SURFACE(disp, surf, EGL_FALSE, drv);
1576 ret = drv->API.PostSubBufferNV(drv, disp, surf, x, y, width, height);