Lines Matching refs:refImg
286 tcu::Surface refImg (width, height); in iterate() local
331 for (int y = 0; y < refImg.getHeight(); y++) in iterate()
333 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
335 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
336 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate()
342 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
348 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()
379 tcu::Surface refImg (width, height); in iterate() local
423 for (int y = 0; y < refImg.getHeight(); y++) in iterate()
425 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
427 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
428 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate()
434 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
440 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()
472 tcu::Surface refImg (width, height); in iterate() local
529 tcu::clear(refImg.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
549 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight())) in iterate()
550 refImg.setPixel(dx, dy, tcu::RGBA(color)); in iterate()
557 …bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", refImg, testImg, threshold… in iterate()
590 tcu::Surface refImg (width, height); in iterate() local
641 for (int y = 0; y < refImg.getHeight(); y++) in iterate()
643 for (int x = 0; x < refImg.getWidth()/2; x++) in iterate()
644 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
646 for (int x = refImg.getWidth()/2; x < refImg.getWidth(); x++) in iterate()
647 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
652 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()