Lines Matching defs:image
79 //! Returns true when the image passes the verification.
81 const tcu::ConstPixelBufferAccess image,
90 const int totalNumPixels = image.getWidth()*image.getHeight();
99 for (int y = 0; y < image.getHeight(); y++)
100 for (int x = 0; x < image.getWidth(); x++)
102 numWhitePixels += image.getPixel(x, y) == white ? 1 : 0;
103 numRedPixels += image.getPixel(x, y) == red ? 1 : 0;
125 const int badPixelTolerance = (primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 5*de::max(image.getWidth(), image.getHeight()) : 0);
137 const tcu::IVec2 expectedEnd (image.getWidth()-1, image.getWidth());
143 for (int x = 0; x < image.getWidth(); ++x)
145 if (image.getPixel(x, 0) == white)
151 for (int x = 0; x < image.getWidth(); ++x)
153 if (image.getPixel(x, image.getHeight()-1) == white)
430 // Color output buffer: image will be copied here for verification
495 // Change color attachment image layout
545 // Log rendered image
552 log << tcu::TestLog::Image("color0", "Rendered image", imagePixelAccess);