Lines Matching refs:extension
77 enum Extension
84 SyncTest (EglTestContext& eglTestCtx, EGLenum syncType, Extension extensions, bool useCurrentContext, const char* name, const char* description);
92 const Extension m_extensions;
105 SyncTest::SyncTest (EglTestContext& eglTestCtx, EGLenum syncType, Extension extensions, bool useCurrentContext, const char* name, const char* description)
123 void requiredEGLExtensions (const Library& egl, EGLDisplay display, SyncTest::Extension requiredExtensions)
125 SyncTest::Extension foundExtensions = SyncTest::EXTENSION_NONE;
127 string extension;
131 while (std::getline(extensionStream, extension, ' '))
133 if (extension == "EGL_KHR_fence_sync")
134 foundExtensions = (SyncTest::Extension)(foundExtensions | SyncTest::EXTENSION_FENCE_SYNC);
135 else if (extension == "EGL_KHR_reusable_sync")
136 foundExtensions = (SyncTest::Extension)(foundExtensions | SyncTest::EXTENSION_REUSABLE_SYNC);
137 else if (extension == "EGL_KHR_wait_sync")
138 foundExtensions = (SyncTest::Extension)(foundExtensions | SyncTest::EXTENSION_WAIT_SYNC);
142 const SyncTest::Extension missingExtensions = (SyncTest::Extension)((foundExtensions & requiredExtensions) ^ requiredExtensions);
159 string extension;
163 while (std::getline(extensionStream, extension, ' '))
165 if (extension == "GL_OES_EGL_sync")
173 SyncTest::Extension getSyncTypeExtension (EGLenum syncType)
210 const Extension syncTypeExtension = getSyncTypeExtension(m_syncType);
211 requiredEGLExtensions(egl, m_eglDisplay, (Extension)(m_extensions | syncTypeExtension));
1199 : TestCaseGroup (eglTestCtx, "fence_sync", "EGL_KHR_fence_sync extension tests")
1268 : TestCaseGroup (eglTestCtx, "reusable_sync", "EGL_KHR_reusable_sync extension tests")