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()
399 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
411 return setError(EGL_BAD_ACCESS, EGL_FALSE); in connect()
495 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
537 return setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
553 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
554 return EGL_FALSE; in swapBuffers()
567 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
571 return setError(EGL_BAD_CURRENT_SURFACE, EGL_FALSE); in swapBuffers()
899 { EGL_BIND_TO_TEXTURE_RGBA, EGL_FALSE },
900 { EGL_BIND_TO_TEXTURE_RGB, EGL_FALSE },
1206 return setError(EGL_BAD_CONFIG, EGL_FALSE); in getConfigAttrib()
1226 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in getConfigAttrib()
1232 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createWindowSurface()
1238 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface()
1239 return EGL_FALSE; in createWindowSurface()
1250 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createWindowSurface()
1251 return EGL_FALSE; in createWindowSurface()
1281 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPixmapSurface()
1287 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface()
1288 return EGL_FALSE; in createPixmapSurface()
1299 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPixmapSurface()
1300 return EGL_FALSE; in createPixmapSurface()
1327 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPbufferSurface()
1331 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface()
1332 return EGL_FALSE; in createPbufferSurface()
1338 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPbufferSurface()
1339 return EGL_FALSE; in createPbufferSurface()
1399 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglInitialize()
1400 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglInitialize()
1420 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglTerminate()
1421 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglTerminate()
1441 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigs()
1442 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglGetConfigs()
1461 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglChooseConfig()
1462 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglChooseConfig()
1465 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglChooseConfig()
1542 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigAttrib()
1543 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglGetConfigAttrib()
1574 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroySurface()
1575 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroySurface()
1579 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglDestroySurface()
1581 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroySurface()
1596 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQuerySurface()
1597 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQuerySurface()
1600 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglQuerySurface()
1602 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQuerySurface()
1625 *value = EGL_FALSE; in eglQuerySurface()
1652 ret = setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglQuerySurface()
1660 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreateContext()
1677 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroyContext()
1678 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroyContext()
1689 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglMakeCurrent()
1690 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1694 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglMakeCurrent()
1696 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1702 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglMakeCurrent()
1704 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1711 return setError(EGL_BAD_MATCH, EGL_FALSE); in eglMakeCurrent()
1714 return setError(EGL_BAD_MATCH, EGL_FALSE); in eglMakeCurrent()
1726 return setError(EGL_BAD_ACCESS, EGL_FALSE); in eglMakeCurrent()
1764 if (d->connect() == EGL_FALSE) { in eglMakeCurrent()
1765 return EGL_FALSE; in eglMakeCurrent()
1798 return setError(EGL_BAD_ACCESS, EGL_FALSE); in eglMakeCurrent()
1839 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryContext()
1840 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQueryContext()
1848 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglQueryContext()
1863 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapBuffers()
1864 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapBuffers()
1868 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglSwapBuffers()
1870 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapBuffers()
1893 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCopyBuffers()
1894 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglCopyBuffers()
1896 return EGL_FALSE; in eglCopyBuffers()
1906 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryString()
1929 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSurfaceAttrib()
1930 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSurfaceAttrib()
1932 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglSurfaceAttrib()
1938 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglBindTexImage()
1939 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglBindTexImage()
1941 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglBindTexImage()
1947 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglReleaseTexImage()
1948 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglReleaseTexImage()
1950 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglReleaseTexImage()
1955 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapInterval()
1956 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapInterval()
1968 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglBindAPI()
1993 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreatePbufferFromClientBuffer()
2017 EGLBoolean result = EGL_FALSE; in eglLockSurfaceKHR()
2023 EGLBoolean result = EGL_FALSE; in eglUnlockSurfaceKHR()
2030 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateImageKHR()
2065 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglDestroyImageKHR()
2066 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroyImageKHR()
2072 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroyImageKHR()
2075 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroyImageKHR()
2091 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateSyncKHR()
2112 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroySyncKHR()
2122 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglClientWaitSyncKHR()
2132 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglGetSyncAttribKHR()
2146 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglGetSyncAttribKHR()
2157 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSetSwapRectangleANDROID()
2158 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSetSwapRectangleANDROID()
2162 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglSetSwapRectangleANDROID()
2164 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSetSwapRectangleANDROID()