Lines Matching refs:refImg

288 		tcu::Surface			refImg		(width, height);
333 for (int y = 0; y < refImg.getHeight(); y++)
335 for (int x = 0; x < refImg.getWidth(); x++)
337 const float xf = (float(x)+.5f) / float(refImg.getWidth());
338 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight());
344 refImg.setPixel(x, y, tcu::RGBA(color));
350 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT);
381 tcu::Surface refImg (width, height);
425 for (int y = 0; y < refImg.getHeight(); y++)
427 for (int x = 0; x < refImg.getWidth(); x++)
429 const float xf = (float(x)+.5f) / float(refImg.getWidth());
430 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight());
436 refImg.setPixel(x, y, tcu::RGBA(color));
442 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT);
474 tcu::Surface refImg (width, height);
531 tcu::clear(refImg.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f));
551 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight()))
552 refImg.setPixel(dx, dy, tcu::RGBA(color));
559 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT);
592 tcu::Surface refImg (width, height);
656 for(int y = 0; y < refImg.getHeight() / 2; y++)
657 for(int x = 0; x < refImg.getWidth() / 2; x++)
658 refImg.setPixel(x, y, tcu::RGBA::green());
660 for(int y = 0; y < refImg.getHeight() / 2; y++)
661 for(int x = refImg.getWidth() / 2; x < refImg.getWidth(); x++)
662 refImg.setPixel(x, y, tcu::RGBA::blue());
664 for(int y = refImg.getHeight() / 2; y < refImg.getHeight(); y++)
665 for(int x = 0; x < refImg.getWidth() / 2; x++)
666 refImg.setPixel(x, y, tcu::RGBA::blue());
668 for(int y = refImg.getHeight() / 2; y < refImg.getHeight(); y++)
669 for(int x = refImg.getWidth() / 2; x < refImg.getWidth(); x++)
670 refImg.setPixel(x, y, tcu::RGBA::green());
675 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT);