/external/deqp/modules/gles2/functional/ |
H A D | es2fPrerequisiteTests.cpp | 220 Surface refImage(imageWidth, imageHeight); 227 tcu::clear(refImage.getAccess(), tcu::IVec4(r, g, b, 255)); 244 RGBA refRGBA = refImage.getPixel(i, j); 261 << TestLog::Image("Reference", "Reference image", refImage)
|
H A D | es2fColorClearTest.cpp | 112 Surface refImage (targetWidth, targetHeight); 223 refImage.setPixel(x + ndx, y, spanColor); 254 RGBA refRGBA = refImage.getPixel(x, y); 278 << TestLog::Image("Reference", "Reference image", refImage)
|
H A D | es2fVertexTextureTests.cpp | 584 tcu::Surface refImage(viewportWidth, viewportHeight); 612 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); 624 const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resImage); 902 tcu::Surface refImage(viewportWidth, viewportHeight); 944 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); 956 const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resImage);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fPrerequisiteTests.cpp | 220 Surface refImage(imageWidth, imageHeight); 227 tcu::clear(refImage.getAccess(), tcu::IVec4(r, g, b, 255)); 244 RGBA refRGBA = refImage.getPixel(i, j); 260 << TestLog::Image("Reference", "Reference image", refImage)
|
H A D | es3fColorClearTest.cpp | 112 Surface refImage (targetWidth, targetHeight); 223 refImage.setPixel(x + ndx, y, spanColor); 254 RGBA refRGBA = refImage.getPixel(x, y); 278 << TestLog::Image("Reference", "Reference image", refImage)
|
H A D | es3fVertexTextureTests.cpp | 684 tcu::Surface refImage(viewportWidth, viewportHeight); 712 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); 724 const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resImage); 1005 tcu::Surface refImage(viewportWidth, viewportHeight); 1047 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); 1059 const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resImage); 1360 tcu::Surface refImage(viewportWidth, viewportHeight); 1387 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); 1399 const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resImage); 1703 tcu::Surface refImage(viewportWidt [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
H A D | vktBasicDrawTests.cpp | 686 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 687 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); 697 generateRefImage(refImage.getAccess(), vertices, colors); 707 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) 814 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 815 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); 826 generateRefImage(refImage.getAccess(), vertices, colors); 836 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) 955 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 956 tcu::clear(refImage [all...] |
H A D | vktDrawShaderDrawParametersTests.cpp | 90 void drawReferenceImage (const tcu::PixelBufferAccess& refImage) const; 228 void DrawTest::drawReferenceImage (const tcu::PixelBufferAccess& refImage) const 246 tcu::clear(refImage, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); 256 tcu::clear(tcu::getSubregion(refImage, x, y, rectWidth, rectHeight), color);
|
H A D | vktDrawInstancedTests.cpp | 590 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 592 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); 597 const rr::MultisamplePixelBufferAccess colorBuffer = rr::MultisamplePixelBufferAccess::fromSinglesampleAccess(refImage.getAccess()); 638 log, "Result", resultDesc.str().c_str(), refImage.getAccess(), renderedFrame, 649 if (!tcu::fuzzyCompare(log, "Result", resultDesc.str().c_str(), refImage.getAccess(), renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT))
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiSmokeTests.cpp | 917 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); 921 tcu::clear(refImage.getAccess(), clearColor); 922 renderReferenceTriangle(refImage.getAccess(), vertices); 927 refImage.getAccess(), 1534 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); 1538 tcu::clear(refImage.getAccess(), clearColor); 1539 renderReferenceTriangle(refImage.getAccess(), vertices); 1544 refImage.getAccess(),
|
/external/deqp/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 492 Surface refImage(width, height); 494 computeVertexReference(refImage, quadGrid); 496 computeFragmentReference(refImage, quadGrid); 499 bool testOk = compareImages(resImage, refImage, 0.05f); 810 bool ShaderRenderCase::compareImages(const Surface& resImage, const Surface& refImage, float errorThreshold) argument 812 return tcu::fuzzyCompare(m_testCtx.getLog(), "ComparisonResult", "Image comparison result", refImage, resImage,
|
H A D | glcShaderRenderCase.hpp | 284 bool compareImages(const tcu::Surface& resImage, const tcu::Surface& refImage, float errorThreshold);
|
/external/deqp/modules/glshared/ |
H A D | glsShaderRenderCase.cpp | 443 Surface refImage (width, height); 445 computeVertexReference(refImage, quadGrid); 447 computeFragmentReference(refImage, quadGrid); 450 bool testOk = compareImages(resImage, refImage, 0.05f); 749 bool ShaderRenderCase::compareImages (const Surface& resImage, const Surface& refImage, float errorThreshold) argument 751 return tcu::fuzzyCompare(m_testCtx.getLog(), "ComparisonResult", "Image comparison result", refImage, resImage, errorThreshold, tcu::COMPARE_LOG_RESULT);
|
H A D | glsScissorTests.cpp | 214 tcu::Surface refImage (viewport.width, viewport.height); 244 glu::readPixels(m_renderCtx, viewport.x, viewport.y, refImage.getAccess()); 274 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea); 276 if (tcu::floatThresholdCompare(log, "ComparisonResult", "Image comparison result", refImage.getAccess(), resImage.getAccess(), threshold, tcu::COMPARE_LOG_RESULT))
|
H A D | glsShaderRenderCase.hpp | 238 bool compareImages (const tcu::Surface& resImage, const tcu::Surface& refImage, float errorThreshold);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderBuiltinVarTests.cpp | 2192 Surface refImage (width, height); 2218 clear(refImage.getAccess(), m_clearColor); 2244 if (de::inBounds(dx, 0, refImage.getWidth()) && de::inBounds(dy, 0, refImage.getHeight())) 2245 refImage.setPixel(dx, dy, RGBA(color)); 2250 compareOk = fuzzyCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, threshold, COMPARE_LOG_RESULT); 2366 Surface refImage (width, height); 2391 for (int y = 0; y < refImage.getHeight(); y++) 2393 for (int x = 0; x < refImage.getWidth(); x++) 2397 if (((m_shaderInputTypes & SHADER_INPUT_BUILTIN_BIT) && (x < refImage [all...] |
H A D | vktShaderRender.hpp | 602 const tcu::Surface& refImage,
|
H A D | vktShaderRender.cpp | 761 tcu::Surface refImage (width, height); 763 computeVertexReference(refImage, *m_quadGrid); 765 computeFragmentReference(refImage, *m_quadGrid); 768 const bool compareOk = compareImages(resImage, refImage, 0.2f); 3173 bool ShaderRenderCaseInstance::compareImages (const tcu::Surface& resImage, const tcu::Surface& refImage, float errorThreshold) argument 3175 return tcu::fuzzyCompare(m_context.getTestContext().getLog(), "ComparisonResult", "Image comparison result", refImage, resImage, errorThreshold, tcu::COMPARE_LOG_EVERYTHING);
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
H A D | vktDeviceGroupRendering.cpp | 1964 string refImage = m_fillModeNonSolid ? "vulkan/data/device_group/sphere.png" : "vulkan/data/device_group/spherefilled.png"; local 1965 tcu::ImageIO::loadPNG(referenceImage, m_context.getTestContext().getArchive(), refImage.c_str()); 1985 tcu::TextureLevel refImage(tcuFormat, (deInt32)renderSize.x(), (deInt32)renderSize.y()); 1989 tcu::clear(refImage.getAccess(), clearColor); 1990 renderReferenceTriangle(refImage.getAccess(), triVertices); 1995 refImage.getAccess(),
|