Lines Matching refs:EGL_NO_SURFACE
812 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE || in eglMakeCurrent()
830 if ((!draw_surf && draw != EGL_NO_SURFACE) || in eglMakeCurrent()
831 (!read_surf && read != EGL_NO_SURFACE)) in eglMakeCurrent()
880 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in _eglCreateWindowSurfaceCommon()
896 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in _eglCreateWindowSurfaceCommon()
900 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in _eglCreateWindowSurfaceCommon()
903 RETURN_EGL_ERROR(disp, EGL_BAD_MATCH, EGL_NO_SURFACE); in _eglCreateWindowSurfaceCommon()
907 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in _eglCreateWindowSurfaceCommon()
919 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreateWindowSurface()
952 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreatePlatformWindowSurfaceEXT()
967 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreatePlatformWindowSurface()
971 RETURN_EGL_ERROR(disp, EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreatePlatformWindowSurface()
1018 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_PIXMAP, EGL_NO_SURFACE); in _eglCreatePixmapSurfaceCommon()
1022 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in _eglCreatePixmapSurfaceCommon()
1025 RETURN_EGL_ERROR(disp, EGL_BAD_MATCH, EGL_NO_SURFACE); in _eglCreatePixmapSurfaceCommon()
1028 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_PIXMAP, EGL_NO_SURFACE); in _eglCreatePixmapSurfaceCommon()
1032 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in _eglCreatePixmapSurfaceCommon()
1044 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreatePixmapSurface()
1057 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreatePlatformPixmapSurfaceEXT()
1073 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreatePlatformPixmapSurface()
1077 RETURN_EGL_ERROR(disp, EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreatePlatformPixmapSurface()
1097 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreatePbufferSurface()
1098 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreatePbufferSurface()
1101 RETURN_EGL_ERROR(disp, EGL_BAD_MATCH, EGL_NO_SURFACE); in eglCreatePbufferSurface()
1104 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreatePbufferSurface()
1207 if (_eglGetSurfaceHandle(surf) == EGL_NO_SURFACE) in eglSwapInterval()
1423 _eglGetSurfaceHandle(ctx->DrawSurface) == EGL_NO_SURFACE) in _eglWaitClientCommon()
1468 _eglGetSurfaceHandle(ctx->DrawSurface) == EGL_NO_SURFACE) in eglWaitNative()
1512 _EGL_FUNC_START(NULL, EGL_NONE, NULL, EGL_NO_SURFACE); in eglGetCurrentSurface()
1515 RETURN_EGL_SUCCESS(NULL, EGL_NO_SURFACE); in eglGetCurrentSurface()
1609 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreatePbufferFromClientBuffer()
1611 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreatePbufferFromClientBuffer()
1615 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreatePbufferFromClientBuffer()