Searched refs:refImg (Results 1 – 5 of 5) sorted by relevance
/external/deqp/modules/gles2/functional/ |
D | es2fShaderBuiltinVarTests.cpp | 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() [all …]
|
/external/deqp/modules/internal/ |
D | ditImageCompareTests.cpp | 55 …FuzzyComparisonMetricCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const … in FuzzyComparisonMetricCase() argument 57 , m_refImg (refImg) in FuzzyComparisonMetricCase() 66 tcu::TextureLevel refImg; in iterate() local 75 …tcu::ImageIO::loadImage(refImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_refImg).get… in iterate() 78 …errorMask.setStorage(refImg.getFormat(), refImg.getWidth(), refImg.getHeight(), refImg.getDepth()); in iterate() 82 result = tcu::fuzzyCompare(params, refImg, cmpImg, errorMask); in iterate() 86 m_testCtx.getLog() << TestLog::Image("RefImage", "Reference Image", refImg) in iterate() 114 …BilinearCompareCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* … in BilinearCompareCase() argument 116 , m_refImg (refImg) in BilinearCompareCase() 125 tcu::TextureLevel refImg; in iterate() local [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderBuiltinVarTests.cpp | 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() [all …]
|
/external/skia/tests/ |
D | ImageTest.cpp | 713 SkAutoTUnref<SkImage> refImg( in DEF_GPUTEST_FOR_NATIVE_CONTEXT() local 719 check_image_color(reporter, refImg, expected0); in DEF_GPUTEST_FOR_NATIVE_CONTEXT() 731 check_image_color(reporter, refImg, expected1); in DEF_GPUTEST_FOR_NATIVE_CONTEXT() 737 refImg.reset(nullptr); // force a release of the image in DEF_GPUTEST_FOR_NATIVE_CONTEXT()
|
/external/deqp/modules/egl/ |
D | teglImageFormatTests.cpp | 121 …virtual bool invoke (ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& refImg) const…
|