Lines Matching refs:isVerticallyIncreasing
110 bool drawAndCheckGradient (bool isVerticallyIncreasing, const tcu::Vec4& highColor) const;
239 bool DitheringCase::drawAndCheckGradient (const bool isVerticallyIncreasing, const Vec4& highColor) const
263 log << TestLog::Message << "Drawing a " << (isVerticallyIncreasing ? "vertically" : "horizontally") << " increasing gradient" << TestLog::EndMessage;
266 quad.color[1] = isVerticallyIncreasing ? quadClr1 : quadClr0;
267 quad.color[2] = isVerticallyIncreasing ? quadClr0 : quadClr1;
275 log << TestLog::Image(isVerticallyIncreasing ? "VerGradient" : "HorGradient",
276 isVerticallyIncreasing ? "Vertical gradient" : "Horizontal gradient",
289 const float inputF = ((float)(isVerticallyIncreasing ? y : x) + 0.5f) / (float)(isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.getWidth());
318 const int increasingDirectionSize = isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.getWidth();
319 const int constantDirectionSize = isVerticallyIncreasing ? renderedImg.getWidth() : renderedImg.getHeight();
327 const int x = isVerticallyIncreasing ? constPos : incrPos;
328 const int y = isVerticallyIncreasing ? incrPos : constPos;
338 << "Failure: colors should be constant per " << (isVerticallyIncreasing ? "row" : "column")
340 << " and does not equal the color at (" << (isVerticallyIncreasing ? x-1 : x) << ", " << (isVerticallyIncreasing ? y : y-1) << "), which is " << prevConstantDirectionPix