Lines Matching refs:egl
59 namespace egl namespace
163 const Library& egl = m_eglTestCtx.getLibrary(); in hasRequiredEGLVersion() local
165 eglu::Version version = eglu::getVersion(egl, m_eglDisplay); in hasRequiredEGLVersion()
235 const Library& egl = m_eglTestCtx.getLibrary(); in init() local
253 m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, displayAttribList); in init()
262 EGLU_CHECK_CALL(egl, bindAPI(EGL_OPENGL_ES_API)); in init()
263 m_eglContext = egl.createContext(m_eglDisplay, m_eglConfig, EGL_NO_CONTEXT, contextAttribList); in init()
264 EGLU_CHECK_MSG(egl, "Failed to create GLES2 context"); in init()
270 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, m_eglSurface, m_eglSurface, m_eglContext)); in init()
286 const Library& egl = m_eglTestCtx.getLibrary(); in deinit() local
292 EGLU_CHECK_CALL(egl, destroySyncKHR(m_eglDisplay, m_sync)); in deinit()
296 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in deinit()
300 EGLU_CHECK_CALL(egl, destroyContext(m_eglDisplay, m_eglContext)); in deinit()
306 EGLU_CHECK_CALL(egl, destroySurface(m_eglDisplay, m_eglSurface)); in deinit()
313 egl.terminate(m_eglDisplay); in deinit()
334 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
338 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
342 EGLU_CHECK_MSG(egl, msgChk.c_str()); in test()
382 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
390 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, attribList); in test()
394 EGLU_CHECK_MSG(egl, msgChk.c_str()); in test()
434 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
437 m_sync = (egl.*createSyncFunc)(EGL_NO_DISPLAY, m_syncType, NULL); in test()
442 EGLint error = egl.getError(); in test()
495 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
498 m_sync = (egl.*createSyncFunc)(m_eglDisplay, EGL_NONE, NULL); in test()
502 EGLint error = egl.getError(); in test()
556 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
564 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, attribs); in test()
569 EGLint error = egl.getError(); in test()
620 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
625 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, in test()
628 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
633 EGLint error = egl.getError(); in test()
685 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
689 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
693 EGLU_CHECK_MSG(egl, msgChk.c_str()); in test()
695 EGLint status = (egl.*clientWaitSyncFunc)(m_eglDisplay, m_sync, 0, 0); in test()
750 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
755 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
759 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
763 EGLBoolean ret = egl.signalSyncKHR(m_eglDisplay, m_sync, EGL_SIGNALED_KHR); in test()
767 EGLU_CHECK_MSG(egl, "eglSignalSyncKHR()"); in test()
777 EGLint status = (egl.*clientWaitSyncFunc)(m_eglDisplay, m_sync, 0, eglTime); in test()
783 EGLU_CHECK_MSG(egl, clientWaitSyncMsgChk.c_str()); in test()
831 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
835 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
839 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
844 EGLBoolean ret = egl.signalSyncKHR(m_eglDisplay, m_sync, EGL_SIGNALED_KHR); in test()
848 EGLU_CHECK_MSG(egl, "eglSignalSyncKHR()"); in test()
860 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, in test()
863 EGLint result = (egl.*clientWaitSyncFunc)(m_eglDisplay, m_sync, 0, eglTime); in test()
916 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
920 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
924 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
928 EGLBoolean ret = egl.signalSyncKHR(m_eglDisplay, m_sync, EGL_SIGNALED_KHR); in test()
932 EGLU_CHECK_MSG(egl, "eglSignalSyncKHR()"); in test()
935 EGLint status = (egl.*clientWaitSyncFunc)(m_eglDisplay, m_sync, flags, eglTime); in test()
992 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
996 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1000 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1002 EGLint status = (egl.*clientWaitSyncFunc)(EGL_NO_DISPLAY, m_sync, flags, eglTime); in test()
1007 EGLint error = egl.getError(); in test()
1066 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1069 EGLint status = (egl.*clientWaitSyncFunc)(m_eglDisplay, sync, 0, eglTime); in test()
1074 EGLint error = egl.getError(); in test()
1131 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1135 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1139 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1142 EGLU_CHECK_CALL_FPTR(egl, (egl.*getSyncAttribFunc)(m_eglDisplay, m_sync, in test()
1194 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1198 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1202 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1205 EGLU_CHECK_CALL_FPTR(egl, (egl.*getSyncAttribFunc)(m_eglDisplay, m_sync, attribute, &status)); in test()
1267 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1271 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1275 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1279 EGLBoolean ret = egl.signalSyncKHR(m_eglDisplay, m_sync, EGL_SIGNALED_KHR); in test()
1283 EGLU_CHECK_MSG(egl, "eglSignalSyncKHR()"); in test()
1294 EGLint status = (egl.*clientWaitSyncFunc)(m_eglDisplay, m_sync, flags, eglTime); in test()
1302 EGLU_CHECK_CALL_FPTR(egl, (egl.*getSyncAttribFunc)(m_eglDisplay, m_sync, attribute, &status)); in test()
1368 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1372 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1376 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1379 EGLU_CHECK_CALL_FPTR(egl, (egl.*getSyncAttribFunc)(m_eglDisplay, m_sync, in test()
1435 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1439 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1443 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1446 EGLBoolean result = (egl.*getSyncAttribFunc)(EGL_NO_DISPLAY, m_sync, attribute, &condition); in test()
1451 EGLint error = egl.getError(); in test()
1511 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1515 EGLBoolean result = (egl.*getSyncAttribFunc)(m_eglDisplay, syncValue, in test()
1521 EGLint error = egl.getError(); in test()
1580 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1584 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1588 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1591 EGLBoolean result = (egl.*getSyncAttribFunc)(m_eglDisplay, m_sync, EGL_NONE, &condition); in test()
1596 EGLint error = egl.getError(); in test()
1655 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1659 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1663 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1665 EGLBoolean result = (egl.*getSyncAttribFunc)(m_eglDisplay, m_sync, attribute, NULL); in test()
1670 EGLint error = egl.getError(); in test()
1729 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1733 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1737 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1741 EGLU_CHECK_CALL_FPTR(egl, (egl.*destroySyncFunc)(m_eglDisplay, m_sync)); in test()
1789 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1793 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1797 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
1799 EGLBoolean result = (egl.*destroySyncFunc)(EGL_NO_DISPLAY, m_sync); in test()
1803 EGLint error = egl.getError(); in test()
1859 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1862 EGLBoolean result = (egl.*destroySyncFunc)(m_eglDisplay, syncValue); in test()
1866 EGLint error = egl.getError(); in test()
1924 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1928 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1932 EGLU_CHECK_MSG(egl, msgChk.c_str()); in test()
1934 waitSyncStatusType status = (egl.*waitSyncFunc)(m_eglDisplay, m_sync, 0); in test()
1989 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
1993 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
1997 EGLU_CHECK_MSG(egl, msgChk.c_str()); in test()
1999 waitSyncStatusType status = (egl.*waitSyncFunc)(EGL_NO_DISPLAY, m_sync, 0); in test()
2003 EGLint error = egl.getError(); in test()
2059 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
2062 EGLint status = (egl.*waitSyncFunc)(m_eglDisplay, syncValue, 0); in test()
2066 EGLint error = egl.getError(); in test()
2122 const Library& egl = m_eglTestCtx.getLibrary(); in test() local
2126 m_sync = (egl.*createSyncFunc)(m_eglDisplay, m_syncType, NULL); in test()
2130 EGLU_CHECK_MSG(egl, createSyncMsgChk.c_str()); in test()
2132 EGLint status = (egl.*waitSyncFunc)(m_eglDisplay, m_sync, 0xFFFFFFFF); in test()
2136 EGLint error = egl.getError(); in test()