Lines Matching defs:context
21 * \brief EGL multi context tests
153 const eglw::EGLContext context = egl.createContext(*display, config, sharedContext, attribList);
156 if (context == EGL_NO_CONTEXT || error != EGL_SUCCESS)
170 if (context != EGL_NO_CONTEXT)
171 resultCollector.fail("eglCreateContext() produced error, but context is not EGL_NO_CONTEXT");
177 contexts.push_back(context);
181 const eglw::EGLBoolean result = egl.makeCurrent(*display, *surface, *surface, context);
186 log << TestLog::Message << "Failed to make " << (contextCount + 1) << "th context current: " << eglu::getErrorStr(makeCurrentError) << TestLog::EndMessage;
187 resultCollector.fail("Failed to make context current");
233 de::MovePtr<TestCaseGroup> group (new TestCaseGroup(eglTestCtx, "multicontext", "EGL multi context tests."));