Lines Matching refs:refImg

287 		tcu::Surface			refImg		(width, height);  in iterate()  local
332 for (int y = 0; y < refImg.getHeight(); y++) in iterate()
334 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
336 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
337 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate()
343 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
349 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()
380 tcu::Surface refImg (width, height); in iterate() local
424 for (int y = 0; y < refImg.getHeight(); y++) in iterate()
426 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
428 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
429 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate()
435 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
441 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()
473 tcu::Surface refImg (width, height); in iterate() local
530 tcu::clear(refImg.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
550 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight())) in iterate()
551 refImg.setPixel(dx, dy, tcu::RGBA(color)); in iterate()
558 …bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", refImg, testImg, threshold… in iterate()
591 tcu::Surface refImg (width, height); in iterate() local
655 for(int y = 0; y < refImg.getHeight() / 2; y++) in iterate()
656 for(int x = 0; x < refImg.getWidth() / 2; x++) in iterate()
657 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
659 for(int y = 0; y < refImg.getHeight() / 2; y++) in iterate()
660 for(int x = refImg.getWidth() / 2; x < refImg.getWidth(); x++) in iterate()
661 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
663 for(int y = refImg.getHeight() / 2; y < refImg.getHeight(); y++) in iterate()
664 for(int x = 0; x < refImg.getWidth() / 2; x++) in iterate()
665 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
667 for(int y = refImg.getHeight() / 2; y < refImg.getHeight(); y++) in iterate()
668 for(int x = refImg.getWidth() / 2; x < refImg.getWidth(); x++) in iterate()
669 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
674 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()