Lines Matching refs:EGL_FALSE
107 return ((uintptr_t(dpy)-1U) >= NUM_DISPLAYS) ? EGL_FALSE : EGL_TRUE; in is_valid()
194 return EGL_FALSE; in swapBuffers()
211 return EGL_FALSE; in setSwapRectangle()
380 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
387 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
401 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
405 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
417 return setError(EGL_BAD_ACCESS, EGL_FALSE); in connect()
501 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
543 return setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
561 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
562 return EGL_FALSE; in swapBuffers()
566 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
567 return EGL_FALSE; in swapBuffers()
580 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
584 return setError(EGL_BAD_CURRENT_SURFACE, EGL_FALSE); in swapBuffers()
926 { EGL_BIND_TO_TEXTURE_RGBA, EGL_FALSE },
927 { EGL_BIND_TO_TEXTURE_RGB, EGL_FALSE },
1233 return setError(EGL_BAD_CONFIG, EGL_FALSE); in getConfigAttrib()
1253 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in getConfigAttrib()
1259 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createWindowSurface()
1265 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface()
1266 return EGL_FALSE; in createWindowSurface()
1277 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createWindowSurface()
1278 return EGL_FALSE; in createWindowSurface()
1308 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPixmapSurface()
1314 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface()
1315 return EGL_FALSE; in createPixmapSurface()
1326 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPixmapSurface()
1327 return EGL_FALSE; in createPixmapSurface()
1354 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPbufferSurface()
1358 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface()
1359 return EGL_FALSE; in createPbufferSurface()
1365 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPbufferSurface()
1366 return EGL_FALSE; in createPbufferSurface()
1426 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglInitialize()
1427 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglInitialize()
1447 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglTerminate()
1448 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglTerminate()
1469 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigs()
1470 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglGetConfigs()
1489 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglChooseConfig()
1490 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglChooseConfig()
1493 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglChooseConfig()
1570 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigAttrib()
1571 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglGetConfigAttrib()
1602 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroySurface()
1603 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroySurface()
1607 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglDestroySurface()
1609 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroySurface()
1624 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQuerySurface()
1625 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQuerySurface()
1628 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglQuerySurface()
1630 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQuerySurface()
1653 *value = EGL_FALSE; in eglQuerySurface()
1680 ret = setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglQuerySurface()
1688 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreateContext()
1705 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroyContext()
1706 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroyContext()
1717 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglMakeCurrent()
1718 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1722 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglMakeCurrent()
1724 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1730 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglMakeCurrent()
1732 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1739 return setError(EGL_BAD_MATCH, EGL_FALSE); in eglMakeCurrent()
1742 return setError(EGL_BAD_MATCH, EGL_FALSE); in eglMakeCurrent()
1754 return setError(EGL_BAD_ACCESS, EGL_FALSE); in eglMakeCurrent()
1792 if (d->connect() == EGL_FALSE) { in eglMakeCurrent()
1793 return EGL_FALSE; in eglMakeCurrent()
1826 return setError(EGL_BAD_ACCESS, EGL_FALSE); in eglMakeCurrent()
1867 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryContext()
1868 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQueryContext()
1876 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglQueryContext()
1891 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapBuffers()
1892 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapBuffers()
1896 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglSwapBuffers()
1898 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapBuffers()
1921 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCopyBuffers()
1922 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglCopyBuffers()
1924 return EGL_FALSE; in eglCopyBuffers()
1934 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryString()
1957 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSurfaceAttrib()
1958 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSurfaceAttrib()
1960 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglSurfaceAttrib()
1966 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglBindTexImage()
1967 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglBindTexImage()
1969 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglBindTexImage()
1975 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglReleaseTexImage()
1976 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglReleaseTexImage()
1978 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglReleaseTexImage()
1983 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapInterval()
1984 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapInterval()
1996 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglBindAPI()
2021 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreatePbufferFromClientBuffer()
2045 EGLBoolean result = EGL_FALSE; in eglLockSurfaceKHR()
2051 EGLBoolean result = EGL_FALSE; in eglUnlockSurfaceKHR()
2058 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateImageKHR()
2093 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglDestroyImageKHR()
2094 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroyImageKHR()
2100 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroyImageKHR()
2103 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroyImageKHR()
2119 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateSyncKHR()
2140 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroySyncKHR()
2150 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglClientWaitSyncKHR()
2160 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglGetSyncAttribKHR()
2174 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglGetSyncAttribKHR()
2185 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSetSwapRectangleANDROID()
2186 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSetSwapRectangleANDROID()
2190 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglSetSwapRectangleANDROID()
2192 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSetSwapRectangleANDROID()