Lines Matching refs:setError

96 static T setError(GLint error, T returnValue) {  in setError()  function
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()
577 setError(EGL_BAD_ALLOC, 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()
697 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
702 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
785 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
790 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
1263 return setError(EGL_BAD_CONFIG, EGL_FALSE); in getConfigAttrib()
1283 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in getConfigAttrib()
1290 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createWindowSurface()
1292 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1299 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1303 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in createWindowSurface()
1313 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1339 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createPixmapSurface()
1341 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPixmapSurface()
1348 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPixmapSurface()
1352 return setError(EGL_BAD_NATIVE_PIXMAP, EGL_NO_SURFACE); in createPixmapSurface()
1362 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPixmapSurface()
1366 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPixmapSurface()
1385 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createPbufferSurface()
1392 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPbufferSurface()
1401 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPbufferSurface()
1457 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglInitialize()
1478 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglTerminate()
1500 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglGetConfigs()
1503 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglGetConfigs()
1523 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglChooseConfig()
1526 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglChooseConfig()
1604 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglGetConfigAttrib()
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()
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()
1713 ret = setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglQuerySurface()
1722 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in eglCreateContext()
1725 if (!gl) return setError(EGL_BAD_ALLOC, EGL_NO_CONTEXT); in eglCreateContext()
1739 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglDestroyContext()
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()
1858 return setError(EGL_BAD_ACCESS, EGL_FALSE); in eglMakeCurrent()
1882 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglGetCurrentSurface()
1900 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglQueryContext()
1908 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in eglQueryContext()
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()
1954 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglCopyBuffers()
1967 return setError(EGL_BAD_DISPLAY, (const char*)0); in eglQueryString()
1979 return setError(EGL_BAD_PARAMETER, (const char *)0); in eglQueryString()
1990 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSurfaceAttrib()
1992 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglSurfaceAttrib()
1999 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglBindTexImage()
2001 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglBindTexImage()
2008 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglReleaseTexImage()
2010 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglReleaseTexImage()
2016 return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglSwapInterval()
2028 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglBindAPI()
2054 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in eglCreatePbufferFromClientBuffer()
2056 return setError(EGL_BAD_PARAMETER, EGL_NO_SURFACE); in eglCreatePbufferFromClientBuffer()
2091 return setError(EGL_BAD_DISPLAY, EGL_NO_IMAGE_KHR); in eglCreateImageKHR()
2094 return setError(EGL_BAD_CONTEXT, EGL_NO_IMAGE_KHR); in eglCreateImageKHR()
2097 return setError(EGL_BAD_PARAMETER, EGL_NO_IMAGE_KHR); in eglCreateImageKHR()
2103 return setError(EGL_BAD_PARAMETER, EGL_NO_IMAGE_KHR); in eglCreateImageKHR()
2106 return setError(EGL_BAD_PARAMETER, EGL_NO_IMAGE_KHR); in eglCreateImageKHR()
2116 return setError(EGL_BAD_PARAMETER, EGL_NO_IMAGE_KHR); in eglCreateImageKHR()
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()
2152 return setError(EGL_BAD_DISPLAY, EGL_NO_SYNC_KHR); in eglCreateSyncKHR()
2157 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SYNC_KHR); in eglCreateSyncKHR()
2161 return setError(EGL_BAD_MATCH, EGL_NO_SYNC_KHR); 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()
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()