Home | History | Annotate | Download | only in functional

Lines Matching defs:TestSpec

60 	struct TestSpec
78 ReadPixelsTest (Context& context, const TestSpec& spec);
94 TestSpec::FramebufferType m_framebuffeType;
106 ReadPixelsTest::ReadPixelsTest (Context& context, const TestSpec& spec)
119 if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_NATIVE)
123 else if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_RENDERBUFFER)
159 if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_RENDERBUFFER)
208 if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_NATIVE)
210 else if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_RENDERBUFFER)
334 if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_NATIVE)
339 else if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_RENDERBUFFER)
393 case TestSpec::FRAMEBUFFERTYPE_NATIVE:
397 case TestSpec::FRAMEBUFFERTYPE_RENDERBUFFER:
478 if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_NATIVE)
485 else if (m_framebuffeType == TestSpec::FRAMEBUFFERTYPE_RENDERBUFFER)
603 ReadPixelsTest::TestSpec nativeFramebufferTests[] = {
609 ReadPixelsTest::TestSpec::FRAMEBUFFERTYPE_NATIVE,
617 ReadPixelsTest::TestSpec::FRAMEBUFFERTYPE_NATIVE,
703 ReadPixelsTest::TestSpec testSpec;
705 testSpec.name = string(renderbufferFormatsStr [formatNdx]) + "_" + (trianglesClears == 0 ? "triangles" : "clears"),
706 testSpec.description = testSpec.name;
707 testSpec.useColorClear = trianglesClears == 1,
708 testSpec.renderTriangles = trianglesClears == 0,
709 testSpec.framebufferType = ReadPixelsTest::TestSpec::FRAMEBUFFERTYPE_RENDERBUFFER,
710 testSpec.renderbufferFormat = renderbufferFormats[formatNdx];
712 renderbufferGroup->addChild(new ReadPixelsTest(m_context, testSpec));