Home
last modified time | relevance | path

Searched refs:refImage (Results 1 – 20 of 20) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderLimitTests.cpp73 Surface refImage (width, height); in iterate() local
89 for (int y = 0; y < refImage.getHeight(); y++) in iterate()
91 for (int x = 0; x < refImage.getWidth(); x++) in iterate()
92 refImage.setPixel(x, y, RGBA(0, 255, 0, 255)); in iterate()
95 …context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, thresh… in iterate()
DvktShaderRenderBuiltinVarTests.cpp1845 Surface refImage (width, height); in iterate() local
1871 clear(refImage.getAccess(), m_clearColor); in iterate()
1897 if (de::inBounds(dx, 0, refImage.getWidth()) && de::inBounds(dy, 0, refImage.getHeight())) in iterate()
1898 refImage.setPixel(dx, dy, RGBA(color)); in iterate()
1903 …context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, thresh… in iterate()
2019 Surface refImage (width, height); in iterate() local
2044 for (int y = 0; y < refImage.getHeight(); y++) in iterate()
2046 for (int x = 0; x < refImage.getWidth(); x++) in iterate()
2050 if (((m_shaderInputTypes & SHADER_INPUT_BUILTIN_BIT) && (x < refImage.getWidth() / 2)) || in iterate()
2055 const float xf = (float(x)+.5f) / float(refImage.getWidth()); in iterate()
[all …]
DvktShaderRender.cpp678 tcu::Surface refImage (width, height); in iterate() local
680 computeVertexReference(refImage, *m_quadGrid); in iterate()
682 computeFragmentReference(refImage, *m_quadGrid); in iterate()
685 const bool compareOk = compareImages(resImage, refImage, 0.2f); in iterate()
2431 …tance::compareImages (const tcu::Surface& resImage, const tcu::Surface& refImage, float errorThres… in compareImages() argument
2433 …tTestContext().getLog(), "ComparisonResult", "Image comparison result", refImage, resImage, errorT… in compareImages()
DvktShaderRender.hpp584 const tcu::Surface& refImage,
/external/deqp/modules/gles2/functional/
Des2fPrerequisiteTests.cpp220 Surface refImage(imageWidth, imageHeight); in iterate() local
227 tcu::clear(refImage.getAccess(), tcu::IVec4(r, g, b, 255)); in iterate()
244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
261 << TestLog::Image("Reference", "Reference image", refImage) in iterate()
Des2fColorClearTest.cpp112 Surface refImage (targetWidth, targetHeight); in iterate() local
223 refImage.setPixel(x + ndx, y, spanColor); in iterate()
254 RGBA refRGBA = refImage.getPixel(x, y); in iterate()
278 << TestLog::Image("Reference", "Reference image", refImage) in iterate()
Des2fVertexTextureTests.cpp584 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() local
612 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
624 …const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resIma… in iterate()
911 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() local
953 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
965 …const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resIma… in iterate()
/external/deqp/modules/gles3/functional/
Des3fPrerequisiteTests.cpp220 Surface refImage(imageWidth, imageHeight); in iterate() local
227 tcu::clear(refImage.getAccess(), tcu::IVec4(r, g, b, 255)); in iterate()
244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
260 << TestLog::Image("Reference", "Reference image", refImage) in iterate()
Des3fColorClearTest.cpp112 Surface refImage (targetWidth, targetHeight); in iterate() local
223 refImage.setPixel(x + ndx, y, spanColor); in iterate()
254 RGBA refRGBA = refImage.getPixel(x, y); in iterate()
278 << TestLog::Image("Reference", "Reference image", refImage) in iterate()
Des3fVertexTextureTests.cpp684 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() local
712 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
724 …const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resIma… in iterate()
1005 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() local
1047 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
1059 …const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resIma… in iterate()
1360 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() local
1387 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
1399 …const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resIma… in iterate()
1703 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp570 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleTest() local
574 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleTest()
575 renderReferenceTriangle(refImage.getAccess(), vertices); in renderTriangleTest()
580 refImage.getAccess(), in renderTriangleTest()
880 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleUnusedResolveAttachmentTest() local
884 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleUnusedResolveAttachmentTest()
885 renderReferenceTriangle(refImage.getAccess(), vertices); in renderTriangleUnusedResolveAttachmentTest()
890 refImage.getAccess(), in renderTriangleUnusedResolveAttachmentTest()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp661 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
662 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
672 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
680 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
775 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
776 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
787 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
795 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
902 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
903 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
[all …]
DvktDrawShaderDrawParametersTests.cpp91 void drawReferenceImage (const tcu::PixelBufferAccess& refImage) const;
229 void DrawTest::drawReferenceImage (const tcu::PixelBufferAccess& refImage) const in drawReferenceImage()
247 tcu::clear(refImage, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in drawReferenceImage()
257 tcu::clear(tcu::getSubregion(refImage, x, y, rectWidth, rectHeight), color); in drawReferenceImage()
DvktDrawInstancedTests.cpp594 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
596 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
601 …cess colorBuffer = rr::MultisamplePixelBufferAccess::fromSinglesampleAccess(refImage.getAccess()); in iterate()
643 log, "Result", resultDesc.str().c_str(), refImage.getAccess(), renderedFrame, in iterate()
654 …if (!tcu::fuzzyCompare(log, "Result", resultDesc.str().c_str(), refImage.getAccess(), renderedFram… in iterate()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp492 Surface refImage(width, height); in iterate() local
494 computeVertexReference(refImage, quadGrid); in iterate()
496 computeFragmentReference(refImage, quadGrid); in iterate()
499 bool testOk = compareImages(resImage, refImage, 0.05f); in iterate()
810 bool ShaderRenderCase::compareImages(const Surface& resImage, const Surface& refImage, float errorT… in compareImages() argument
812 …fuzzyCompare(m_testCtx.getLog(), "ComparisonResult", "Image comparison result", refImage, resImage, in compareImages()
DglcShaderRenderCase.hpp284 …bool compareImages(const tcu::Surface& resImage, const tcu::Surface& refImage, float errorThreshol…
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp443 Surface refImage (width, height); in iterate() local
445 computeVertexReference(refImage, quadGrid); in iterate()
447 computeFragmentReference(refImage, quadGrid); in iterate()
450 bool testOk = compareImages(resImage, refImage, 0.07f); in iterate()
749 bool ShaderRenderCase::compareImages (const Surface& resImage, const Surface& refImage, float error… in compareImages() argument
751 …pare(m_testCtx.getLog(), "ComparisonResult", "Image comparison result", refImage, resImage, errorT… in compareImages()
DglsScissorTests.cpp214 tcu::Surface refImage (viewport.width, viewport.height); in iterate() local
244 glu::readPixels(m_renderCtx, viewport.x, viewport.y, refImage.getAccess()); in iterate()
274 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea); in iterate()
276 …if (tcu::floatThresholdCompare(log, "ComparisonResult", "Image comparison result", refImage.getAcc… in iterate()
DglsShaderRenderCase.hpp238 …bool compareImages (const tcu::Surface& resImage, const tcu::Surface& refImage, float error…
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp1639 …string refImage = m_fillModeNonSolid ? "vulkan/data/device_group/sphere.png" : "vulkan/data/device… in iterate() local
1640 … tcu::ImageIO::loadPNG(referenceImage, m_context.getTestContext().getArchive(), refImage.c_str()); in iterate()
1652 tcu::TextureLevel refImage(tcuFormat, (deInt32)renderSize.x(), (deInt32)renderSize.y()); in iterate() local
1656 tcu::clear(refImage.getAccess(), clearColor); in iterate()
1657 renderReferenceTriangle(refImage.getAccess(), triVertices); in iterate()
1662 refImage.getAccess(), in iterate()