Lines Matching refs:refImg

303 		tcu::Surface			refImg		(width, height);  in iterate()  local
351 for (int y = 0; y < refImg.getHeight(); y++) in iterate()
353 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
355 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
356 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate()
362 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
368 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()
399 tcu::Surface refImg (width, height); in iterate() local
446 for (int y = 0; y < refImg.getHeight(); y++) in iterate()
448 for (int x = 0; x < refImg.getWidth(); x++) in iterate()
450 const float xf = (float(x)+.5f) / float(refImg.getWidth()); in iterate()
451 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate()
457 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
463 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()
495 tcu::Surface refImg (width, height); in iterate() local
555 tcu::clear(refImg.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
575 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight())) in iterate()
576 refImg.setPixel(dx, dy, tcu::RGBA(color)); in iterate()
583 …bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", refImg, testImg, threshold… in iterate()
616 tcu::Surface refImg (width, height); in iterate() local
683 for(int y = 0; y < refImg.getHeight() / 2; y++) in iterate()
684 for(int x = 0; x < refImg.getWidth() / 2; x++) in iterate()
685 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
687 for(int y = 0; y < refImg.getHeight() / 2; y++) in iterate()
688 for(int x = refImg.getWidth() / 2; x < refImg.getWidth(); x++) in iterate()
689 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
691 for(int y = refImg.getHeight() / 2; y < refImg.getHeight(); y++) in iterate()
692 for(int x = 0; x < refImg.getWidth() / 2; x++) in iterate()
693 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
695 for(int y = refImg.getHeight() / 2; y < refImg.getHeight(); y++) in iterate()
696 for(int x = refImg.getWidth() / 2; x < refImg.getWidth(); x++) in iterate()
697 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
702 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate()
994 tcu::Surface refImg (viewportW, viewportH); in iterate() local
1016 tcu::clear(refImg.getAccess(), clearColor); in iterate()
1036 …renderReference(refImg.getAccess(), (int)m_positions.size(), &indices[0], &m_positions[0], &m_colo… in iterate()
1059 …renderReference(refImg.getAccess(), (int)indices.size(), &indices[0], &mappedPos[0], &m_colors[0],… in iterate()
1085 tcu::clear(refImg.getAccess(), clearColor); in iterate()
1086 …renderReference(refImg.getAccess(), (int)indices.size(), &indices[0], &mappedPos[0], &m_colors[0],… in iterate()
1091 …if (!tcu::fuzzyCompare(m_testCtx.getLog(), "Result", "Image comparison result", refImg, testImg, t… in iterate()