Home
last modified time | relevance | path

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

/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()
902 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() local
944 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
956 …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/draw/
DvktBasicDrawTests.cpp686 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
687 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
697 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
707 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
814 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
815 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
826 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
836 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
955 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
956 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
[all …]
DvktDrawShaderDrawParametersTests.cpp90 void drawReferenceImage (const tcu::PixelBufferAccess& refImage) const;
228 void DrawTest::drawReferenceImage (const tcu::PixelBufferAccess& refImage) const in drawReferenceImage()
246 tcu::clear(refImage, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in drawReferenceImage()
256 tcu::clear(tcu::getSubregion(refImage, x, y, rectWidth, rectHeight), color); in drawReferenceImage()
DvktDrawInstancedTests.cpp590 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
592 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
597 …cess colorBuffer = rr::MultisamplePixelBufferAccess::fromSinglesampleAccess(refImage.getAccess()); in iterate()
638 log, "Result", resultDesc.str().c_str(), refImage.getAccess(), renderedFrame, in iterate()
649 …if (!tcu::fuzzyCompare(log, "Result", resultDesc.str().c_str(), refImage.getAccess(), renderedFram… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp917 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleTest() local
921 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleTest()
922 renderReferenceTriangle(refImage.getAccess(), vertices); in renderTriangleTest()
927 refImage.getAccess(), in renderTriangleTest()
1534 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleUnusedResolveAttachmentTest() local
1538 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleUnusedResolveAttachmentTest()
1539 renderReferenceTriangle(refImage.getAccess(), vertices); in renderTriangleUnusedResolveAttachmentTest()
1544 refImage.getAccess(), in renderTriangleUnusedResolveAttachmentTest()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp2192 Surface refImage (width, height); in iterate() local
2218 clear(refImage.getAccess(), m_clearColor); in iterate()
2244 if (de::inBounds(dx, 0, refImage.getWidth()) && de::inBounds(dy, 0, refImage.getHeight())) in iterate()
2245 refImage.setPixel(dx, dy, RGBA(color)); in iterate()
2250 …context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, thresh… in iterate()
2366 Surface refImage (width, height); in iterate() local
2391 for (int y = 0; y < refImage.getHeight(); y++) in iterate()
2393 for (int x = 0; x < refImage.getWidth(); x++) in iterate()
2397 if (((m_shaderInputTypes & SHADER_INPUT_BUILTIN_BIT) && (x < refImage.getWidth() / 2)) || in iterate()
2402 const float xf = (float(x)+.5f) / float(refImage.getWidth()); in iterate()
[all …]
DvktShaderRender.cpp761 tcu::Surface refImage (width, height); in iterate() local
763 computeVertexReference(refImage, *m_quadGrid); in iterate()
765 computeFragmentReference(refImage, *m_quadGrid); in iterate()
768 const bool compareOk = compareImages(resImage, refImage, 0.2f); in iterate()
3173 …tance::compareImages (const tcu::Surface& resImage, const tcu::Surface& refImage, float errorThres… in compareImages() argument
3175 …tTestContext().getLog(), "ComparisonResult", "Image comparison result", refImage, resImage, errorT… in compareImages()
DvktShaderRender.hpp602 const tcu::Surface& refImage,
/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.05f); 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/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/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp1964 …string refImage = m_fillModeNonSolid ? "vulkan/data/device_group/sphere.png" : "vulkan/data/device… in iterate() local
1965 … tcu::ImageIO::loadPNG(referenceImage, m_context.getTestContext().getArchive(), refImage.c_str()); in iterate()
1985 tcu::TextureLevel refImage(tcuFormat, (deInt32)renderSize.x(), (deInt32)renderSize.y()); in iterate() local
1989 tcu::clear(refImage.getAccess(), clearColor); in iterate()
1990 renderReferenceTriangle(refImage.getAccess(), triVertices); in iterate()
1995 refImage.getAccess(), in iterate()