Lines Matching refs:EGL_FALSE

129         return ((uintptr_t(dpy)-1U) >= NUM_DISPLAYS) ? EGL_FALSE : EGL_TRUE;  in is_valid()
216 return EGL_FALSE; in swapBuffers()
233 return EGL_FALSE; in setSwapRectangle()
397 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
404 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
418 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
422 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
434 return setError(EGL_BAD_ACCESS, EGL_FALSE); in connect()
512 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
554 return setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
572 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
573 return EGL_FALSE; in swapBuffers()
577 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
578 return EGL_FALSE; in swapBuffers()
591 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
595 return setError(EGL_BAD_CURRENT_SURFACE, EGL_FALSE); in swapBuffers()
938 { EGL_BIND_TO_TEXTURE_RGBA, EGL_FALSE },
939 { EGL_BIND_TO_TEXTURE_RGB, EGL_FALSE },
1263 return setError(EGL_BAD_CONFIG, EGL_FALSE); in getConfigAttrib()
1283 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in getConfigAttrib()
1289 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createWindowSurface()
1295 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createWindowSurface()
1296 return EGL_FALSE; in createWindowSurface()
1307 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createWindowSurface()
1308 return EGL_FALSE; in createWindowSurface()
1338 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPixmapSurface()
1344 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPixmapSurface()
1345 return EGL_FALSE; in createPixmapSurface()
1356 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPixmapSurface()
1357 return EGL_FALSE; in createPixmapSurface()
1384 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in createPbufferSurface()
1388 if (getConfigAttrib(dpy, config, EGL_SURFACE_TYPE, &surfaceType) == EGL_FALSE) in createPbufferSurface()
1389 return EGL_FALSE; in createPbufferSurface()
1395 if (getConfigAttrib(dpy, config, EGL_CONFIG_ID, &configID) == EGL_FALSE) in createPbufferSurface()
1396 return EGL_FALSE; in createPbufferSurface()
1456 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglInitialize()
1457 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglInitialize()
1477 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglTerminate()
1478 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglTerminate()
1499 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigs()
1500 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglGetConfigs()
1503 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglGetConfigs()
1522 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglChooseConfig()
1523 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglChooseConfig()
1526 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglChooseConfig()
1603 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglGetConfigAttrib()
1604 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglGetConfigAttrib()
1635 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroySurface()
1636 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroySurface()
1640 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglDestroySurface()
1642 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroySurface()
1657 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQuerySurface()
1658 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQuerySurface()
1661 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglQuerySurface()
1663 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQuerySurface()
1686 *value = EGL_FALSE; in eglQuerySurface()
1713 ret = setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglQuerySurface()
1721 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreateContext()
1738 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglDestroyContext()
1739 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroyContext()
1750 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglMakeCurrent()
1751 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1755 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglMakeCurrent()
1757 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1763 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglMakeCurrent()
1765 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglMakeCurrent()
1772 return setError(EGL_BAD_MATCH, EGL_FALSE); in eglMakeCurrent()
1775 return setError(EGL_BAD_MATCH, EGL_FALSE); in eglMakeCurrent()
1786 return setError(EGL_BAD_ACCESS, EGL_FALSE); in eglMakeCurrent()
1824 if (d->connect() == EGL_FALSE) { in eglMakeCurrent()
1825 return EGL_FALSE; in eglMakeCurrent()
1858 return setError(EGL_BAD_ACCESS, EGL_FALSE); in eglMakeCurrent()
1899 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryContext()
1900 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQueryContext()
1908 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglQueryContext()
1923 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapBuffers()
1924 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapBuffers()
1928 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglSwapBuffers()
1930 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapBuffers()
1953 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCopyBuffers()
1954 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglCopyBuffers()
1956 return EGL_FALSE; in eglCopyBuffers()
1966 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglQueryString()
1989 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSurfaceAttrib()
1990 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSurfaceAttrib()
1992 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglSurfaceAttrib()
1998 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglBindTexImage()
1999 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglBindTexImage()
2001 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglBindTexImage()
2007 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglReleaseTexImage()
2008 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglReleaseTexImage()
2010 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglReleaseTexImage()
2015 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSwapInterval()
2016 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapInterval()
2028 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglBindAPI()
2053 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglCreatePbufferFromClientBuffer()
2077 EGLBoolean result = EGL_FALSE; in eglLockSurfaceKHR()
2083 EGLBoolean result = EGL_FALSE; in eglUnlockSurfaceKHR()
2090 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateImageKHR()
2125 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglDestroyImageKHR()
2126 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroyImageKHR()
2132 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroyImageKHR()
2135 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroyImageKHR()
2151 if (egl_display_t::is_valid(dpy) == EGL_FALSE) { in eglCreateSyncKHR()
2172 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglDestroySyncKHR()
2182 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglClientWaitSyncKHR()
2192 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglGetSyncAttribKHR()
2206 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglGetSyncAttribKHR()
2217 if (egl_display_t::is_valid(dpy) == EGL_FALSE) in eglSetSwapRectangleANDROID()
2218 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSetSwapRectangleANDROID()
2222 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglSetSwapRectangleANDROID()
2224 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSetSwapRectangleANDROID()