Lines Matching defs:test

52 	TYPE_DRAW_COUNT,		// !< test with 1, 5, and 25 primitives
53 TYPE_INSTANCE_COUNT, // !< test with 1, 4, and 11 instances
153 static void addTestIterations (gls::DrawTest* test, gls::DrawTestSpec& spec, TestIterationType type)
158 test->addIteration(spec, "draw count = 1");
161 test->addIteration(spec, "draw count = 5");
164 test->addIteration(spec, "draw count = 25");
169 test->addIteration(spec, "instance count = 1");
172 test->addIteration(spec, "instance count = 4");
175 test->addIteration(spec, "instance count = 11");
262 gls::DrawTest* test = new gls::DrawTest(m_testCtx, m_context.getRenderContext(), "single_attribute", "Single attribute array.");
292 addTestIterations(test, spec, TYPE_DRAW_COUNT);
294 this->addChild(test);
299 gls::DrawTest* test = new gls::DrawTest(m_testCtx, m_context.getRenderContext(), "multiple_attributes", "Multiple attribute arrays.");
340 addTestIterations(test, spec, TYPE_DRAW_COUNT);
342 this->addChild(test);
347 gls::DrawTest* test = new gls::DrawTest(m_testCtx, m_context.getRenderContext(), "instanced_attributes", "Instanced attribute array.");
402 addTestIterations(test, spec, TYPE_INSTANCE_COUNT);
404 this->addChild(test);
409 gls::DrawTest* test = new gls::DrawTest(m_testCtx, m_context.getRenderContext(), "default_attribute", "Attribute specified with glVertexAttrib*.");
467 test->addIteration(spec, desc.c_str());
470 this->addChild(test);
522 gls::DrawTest* test = new gls::DrawTest(m_testCtx, m_context.getRenderContext(), name.c_str(), desc.c_str());
530 test->addIteration(spec, iterationDesc.c_str());
533 addChild(test);
589 gls::DrawTest* test = new gls::DrawTest(m_testCtx, m_context.getRenderContext(), name.c_str(), desc.c_str());
597 test->addIteration(spec, iterationDesc.c_str());
600 addChild(test);
640 gls::DrawTest* test = new gls::DrawTest(m_testCtx, m_context.getRenderContext(), name.c_str(), desc.c_str());
644 addTestIterations(test, spec, TYPE_DRAW_COUNT);
646 this->addChild(test);
803 // \note the green/yellow pattern is only for clarity. The test will only verify that all instances were drawn by looking for anything non-green/yellow.
1190 // \note the green/yellow pattern is only for clarity. The test will only verify that all grid cells were drawn by looking for anything non-green/yellow.
2461 throw tcu::NotSupportedError("The negative test for vertex attrib array in the client memory is not supported in the GL context");
2463 throw tcu::NotSupportedError("The negative test for use with default vao is not supported in the GL context");
2509 // \note We use default VAO since we use client pointers. Trying indirect draw with default VAO is also an error. => This test does two illegal operations