Home | History | Annotate | Download | only in egl

Lines Matching defs:contexts

308 	vector<std::pair<EGLint, tcu::egl::Context*> > contexts;
309 contexts.reserve(3*m_numContextsPerApi); // 3 types of contexts at maximum.
313 // Create contexts that will participate in rendering.
319 contexts.push_back(std::make_pair(EGL_OPENGL_ES2_BIT, new tcu::egl::Context(display, config, &attribs[0], EGL_OPENGL_ES_API)));
325 contexts.push_back(std::make_pair(EGL_OPENGL_ES3_BIT_KHR, new tcu::egl::Context(display, config, &attribs[0], EGL_OPENGL_ES_API)));
331 contexts.push_back(std::make_pair(EGL_OPENGL_ES_BIT, new tcu::egl::Context(display, config, &attribs[0], EGL_OPENGL_ES_API)));
337 contexts.push_back(std::make_pair(EGL_OPENVG_BIT, new tcu::egl::Context(display, config, &attribs[0], EGL_OPENVG_API)));
341 // Execute for contexts.
342 executeForContexts(display, surface, config, contexts);
346 // Make sure all contexts have been destroyed.
347 for (vector<std::pair<EGLint, tcu::egl::Context*> >::iterator i = contexts.begin(); i != contexts.end(); i++)
352 // Destroy contexts.
353 for (vector<std::pair<EGLint, tcu::egl::Context*> >::iterator i = contexts.begin(); i != contexts.end(); i++)