Lines Matching defs:direction
69 NearestEdgeTestCase(deqp::Context& context, OffsetDirection direction);
75 static std::string getName (OffsetDirection direction);
76 static std::string getDesc (OffsetDirection direction);
101 std::string NearestEdgeTestCase::getName (OffsetDirection direction)
103 switch (direction)
113 std::string NearestEdgeTestCase::getDesc (OffsetDirection direction)
115 switch (direction)
168 NearestEdgeTestCase::NearestEdgeTestCase (deqp::Context& context, OffsetDirection direction)
169 : TestCase(context, getName(direction).c_str(), getDesc(direction).c_str())
170 , m_offsetSign {(direction == OffsetDirection::LEFT) ? -1.0f : 1.0f}
297 // Draw full screen quad with the texture and an offset of almost half a texel in one direction, so sampling happens near the texel
449 for (const auto direction : kDirections)
450 addChild(new NearestEdgeTestCase{m_context, direction});