Home
last modified time | relevance | path

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

12

/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.cpp1900 Surface refImage (width, height); in iterate() local
1931 clear(refImage.getAccess(), m_clearColor); in iterate()
1971 if (de::inBounds(dx, 0, refImage.getWidth()) && de::inBounds(dy, 0, refImage.getHeight())) in iterate()
1972 refImage.setPixel(dx, dy, RGBA(color)); in iterate()
1977 …context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, thresh… in iterate()
2137 Surface refImage (width, height); in iterate() local
2162 for (int y = 0; y < refImage.getHeight(); y++) in iterate()
2164 for (int x = 0; x < refImage.getWidth(); x++) in iterate()
2168 if (((m_shaderInputTypes & SHADER_INPUT_BUILTIN_BIT) && (x < refImage.getWidth() / 2)) || in iterate()
2173 const float xf = (float(x)+.5f) / float(refImage.getWidth()); in iterate()
[all …]
/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/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()
907 tcu::Surface refImage(viewportWidth, viewportHeight); in iterate() local
949 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
961 …const bool isOk = compareImages(m_context.getRenderContext(), m_testCtx.getLog(), refImage, resIma… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp562 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleTest() local
566 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleTest()
567 …renderReferenceTriangle(refImage.getAccess(), vertices, context.getDeviceProperties().limits.subPi… in renderTriangleTest()
572 refImage.getAccess(), in renderTriangleTest()
1165 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleDummyExtStructTest() local
1169 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleDummyExtStructTest()
1170 …renderReferenceTriangle(refImage.getAccess(), vertices, context.getDeviceProperties().limits.subPi… in renderTriangleDummyExtStructTest()
1175 refImage.getAccess(), in renderTriangleDummyExtStructTest()
1467 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleUnusedResolveAttachmentTest() local
1471 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleUnusedResolveAttachmentTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp673 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
674 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
684 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
692 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
789 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
790 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
801 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
809 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
918 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
919 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;
191 void DrawTest::drawReferenceImage (const tcu::PixelBufferAccess& refImage) const in drawReferenceImage()
209 tcu::clear(refImage, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in drawReferenceImage()
219 tcu::clear(tcu::getSubregion(refImage, x, y, rectWidth, rectHeight), color); in drawReferenceImage()
DvktDrawAhbTests.cpp613 tcu::TextureLevel refImage(mapVkFormat(colorAttachmentFormat), WIDTH, HEIGHT); in iterate() local
614 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
626 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
632 …if (!tcu::fuzzyCompare(log, "Result", "Image comparison result", refImage.getAccess(), renderedFra… in iterate()
DvktDrawInstancedTests.cpp678 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.… in iterate() local
680 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
685 …cess colorBuffer = rr::MultisamplePixelBufferAccess::fromSinglesampleAccess(refImage.getAccess()); in iterate()
729 log, "Result", resultDesc.str().c_str(), refImage.getAccess(), renderedFrame, in iterate()
740 …if (!tcu::fuzzyCompare(log, "Result", resultDesc.str().c_str(), refImage.getAccess(), renderedFram… in iterate()
DvktDrawScissorTests.cpp382 TextureLevel refImage; in iterate() local
532 refImage.setStorage(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), WIDTH, HEIGHT); in iterate()
533 clear(refImage.getAccess(), Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
553 …clear(getSubregion(refImage.getAccess(), scissoredQuad.m_x, scissoredQuad.m_y, 0, scissoredQuad.m_… in iterate()
561 …if (!intThresholdCompare(log, "Result", "Image comparison result", refImage.getAccess(), frame, UV… in iterate()
/external/skia/tools/gpu/
DYUVUtils.h38 sk_sp<SkImage> refImage(GrRecordingContext* rContext, Type);
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp507 Surface refImage(width, height); in iterate() local
509 computeVertexReference(refImage, quadGrid); in iterate()
511 computeFragmentReference(refImage, quadGrid); in iterate()
514 bool testOk = compareImages(resImage, refImage, 0.07f); in iterate()
829 bool ShaderRenderCase::compareImages(const Surface& resImage, const Surface& refImage, float errorT… in compareImages() argument
831 …fuzzyCompare(m_testCtx.getLog(), "ComparisonResult", "Image comparison result", refImage, resImage, in compareImages()
DglcShaderRenderCase.hpp296 …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.cpp231 tcu::Surface refImage (viewport.width, viewport.height); in iterate() local
261 glu::readPixels(m_renderCtx, viewport.x, viewport.y, refImage.getAccess()); in iterate()
291 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea); in iterate()
293 …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/skia/gm/
Dducky_yuv_blend.cpp34 duckyFG[1] = lazyYUV->refImage(rContext, sk_gpu_test::LazyYUVImage::Type::kFromPixmaps);
Dyuv420_odd_dim.cpp49 return imageHelper->refImage(rContext, sk_gpu_test::LazyYUVImage::Type::kFromPixmaps); in make_image()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1010 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorFormat), 32, 32); in verifyTestResult() local
1025 tcu::clear(refImage.getAccess(), clearColorVec4); in verifyTestResult()
1046 refImage.getAccess().setPixel(vertex->color, x, y); in verifyTestResult()
1058 refImage.getAccess(), in verifyTestResult()
1290 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorFormat), 32, 32); in verifyTestResult() local
1303 tcu::clear(refImage.getAccess(), clearColorVec4); in verifyTestResult()
1329 refImage.getAccess().setPixel(vertex->color, x, y); in verifyTestResult()
1349 refImage.getAccess(), in verifyTestResult()
DvktPipelineBlendOperationAdvancedTests.cpp1545 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorFormat), 32, 32); in verifyTestResult() local
1546 tcu::clear(refImage.getAccess(), clearColorVec4); in verifyTestResult()
1547 referenceImages.emplace_back(refImage); in verifyTestResult()
2323 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorFormat), 32, 32); in verifyTestResult() local
2325 tcu::clear(refImage.getAccess(), clearColorVec4); in verifyTestResult()
2370 tcu::clear(tcu::getSubregion(refImage.getAccess(), x, y, 1u, 1u), rectColor); in verifyTestResult()
2379 refImage.getAccess(), in verifyTestResult()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp1664 …string refImage = m_fillModeNonSolid ? "vulkan/data/device_group/sphere.png" : "vulkan/data/device… in iterate() local
1665 … tcu::ImageIO::loadPNG(referenceImage, m_context.getTestContext().getArchive(), refImage.c_str()); in iterate()
1677 tcu::TextureLevel refImage(tcuFormat, (deInt32)renderSize.x(), (deInt32)renderSize.y()); in iterate() local
1681 tcu::clear(refImage.getAccess(), clearColor); in iterate()
1682 …renderReferenceTriangle(refImage.getAccess(), triVertices, m_context.getDeviceProperties().limits.… in iterate()
1687 refImage.getAccess(), in iterate()

12