Lines Matching refs:EGL_NO_SURFACE
477 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE || in eglMakeCurrent()
491 if ((!draw_surf && draw != EGL_NO_SURFACE) || in eglMakeCurrent()
492 (!read_surf && read != EGL_NO_SURFACE)) in eglMakeCurrent()
530 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreateWindowSurface()
532 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
535 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreateWindowSurface()
551 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreatePixmapSurface()
553 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_PIXMAP, EGL_NO_SURFACE); in eglCreatePixmapSurface()
556 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreatePixmapSurface()
572 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreatePbufferSurface()
575 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreatePbufferSurface()
673 if (_eglGetSurfaceHandle(surf) == EGL_NO_SURFACE) in eglSwapInterval()
737 _eglGetSurfaceHandle(ctx->DrawSurface) == EGL_NO_SURFACE) in eglWaitClient()
783 _eglGetSurfaceHandle(ctx->DrawSurface) == EGL_NO_SURFACE) in eglWaitNative()
828 RETURN_EGL_SUCCESS(NULL, EGL_NO_SURFACE); in eglGetCurrentSurface()
1069 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreateScreenSurfaceMESA()
1072 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreateScreenSurfaceMESA()
1090 if (!surf && surface != EGL_NO_SURFACE) in eglShowScreenSurfaceMESA()
1257 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreatePbufferFromClientBuffer()
1261 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreatePbufferFromClientBuffer()