Lines Matching defs:white
92 const tcu::Vec4 white = tcu::RGBA::white().toVec();
98 // Count red and white pixels
102 numWhitePixels += image.getPixel(x, y) == white ? 1 : 0;
108 log << tcu::TestLog::Message << "Note: got " << numWhitePixels << " white and " << numRedPixels << " red pixels" << tcu::TestLog::EndMessage;
115 << "Failure: Got " << otherPixels << " other than white or red pixels"
129 log << tcu::TestLog::Message << "Failure: wrong number of white pixels; expected approximately " << totalNumPixels/2 << tcu::TestLog::EndMessage;
145 if (image.getPixel(x, 0) == white)
153 if (image.getPixel(x, image.getHeight()-1) == white)
172 log << tcu::TestLog::Message << "Failure: expected only white pixels (full-viewport quad)" << tcu::TestLog::EndMessage;