Lines Matching defs:context
103 void makeCurrent (EGLDisplay display, EGLContext context, EGLSurface surface);
131 EGLContext context = EGL_NO_CONTEXT;
140 context = egl.createContext(display, config, share, attriblist);
141 EGLU_CHECK_MSG(egl, "Failed to create GLES2 context");
142 TCU_CHECK(context != EGL_NO_CONTEXT);
144 return context;
147 void GLES2SharingTest::makeCurrent (EGLDisplay display, EGLContext context, EGLSurface surface)
150 EGLU_CHECK_CALL(egl, makeCurrent(display, surface, surface, context));
181 m_log << tcu::TestLog::Message << "Create context A (share_context = EGL_NO_CONTEXT)" << tcu::TestLog::EndMessage;
184 m_log << tcu::TestLog::Message << "Create context B (share_context = context A)" << tcu::TestLog::EndMessage;
189 m_log << tcu::TestLog::Message << "Make current context A" << tcu::TestLog::EndMessage;
217 m_log << tcu::TestLog::Message << "Make current context B" << tcu::TestLog::EndMessage;
237 m_log << tcu::TestLog::Message << "Make current context B" << tcu::TestLog::EndMessage;
244 m_log << tcu::TestLog::Message << "Make current context A" << tcu::TestLog::EndMessage;
255 m_log << tcu::TestLog::Message << "Destroy context B" << tcu::TestLog::EndMessage;
259 m_log << tcu::TestLog::Message << "Destroy context A" << tcu::TestLog::EndMessage;
265 m_log << tcu::TestLog::Message << "Destroy context A" << tcu::TestLog::EndMessage;
269 m_log << tcu::TestLog::Message << "Destroy context B" << tcu::TestLog::EndMessage;
1139 TestCaseGroup* context = new TestCaseGroup(m_eglTestCtx, "context", "Context creation and destruction tests");
1152 context->addChild(new GLES2SharingTest(m_eglTestCtx, "create_destroy", "Simple context creation and destruction", spec));
1165 context->addChild(new GLES2SharingTest(m_eglTestCtx, "create_destroy_mixed", "Simple context creation and destruction test with different destruction order", spec));
1168 gles2->addChild(context);
1183 buffer->addChild(new GLES2BufferSharingTest(m_eglTestCtx, "create_delete", "Create and delete on shared context", spec));
1227 texture->addChild(new GLES2TextureSharingTest(m_eglTestCtx, "create_delete", "Create and delete on shared context", spec, false));
1283 program->addChild(new GLES2ProgramSharingTest(m_eglTestCtx, "create_delete", "Create and delete on shared context", spec));
1327 shader->addChild(new GLES2ShaderSharingTest(m_eglTestCtx, "create_delete_vert", "Create and delete on shared context", GL_VERTEX_SHADER, spec));
1366 shader->addChild(new GLES2ShaderSharingTest(m_eglTestCtx, "create_delete_frag", "Create and delete on shared context", GL_FRAGMENT_SHADER, spec));