Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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.cpp2028 Surface refImage (width, height); in iterate() local
2059 clear(refImage.getAccess(), m_clearColor); in iterate()
2099 if (de::inBounds(dx, 0, refImage.getWidth()) && de::inBounds(dy, 0, refImage.getHeight())) in iterate()
2100 refImage.setPixel(dx, dy, RGBA(color)); in iterate()
2105 …context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, thresh… in iterate()
2265 Surface refImage (width, height); in iterate() local
2290 for (int y = 0; y < refImage.getHeight(); y++) in iterate()
2292 for (int x = 0; x < refImage.getWidth(); x++) in iterate()
2296 if (((m_shaderInputTypes & SHADER_INPUT_BUILTIN_BIT) && (x < refImage.getWidth() / 2)) || in iterate()
2301 const float xf = (float(x)+.5f) / float(refImage.getWidth()); in iterate()
[all …]
/third_party/vk-gl-cts/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.cpp2028 Surface refImage (width, height); in iterate() local
2059 clear(refImage.getAccess(), m_clearColor); in iterate()
2099 if (de::inBounds(dx, 0, refImage.getWidth()) && de::inBounds(dy, 0, refImage.getHeight())) in iterate()
2100 refImage.setPixel(dx, dy, RGBA(color)); in iterate()
2105 …context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, thresh… in iterate()
2265 Surface refImage (width, height); in iterate() local
2290 for (int y = 0; y < refImage.getHeight(); y++) in iterate()
2292 for (int x = 0; x < refImage.getWidth(); x++) in iterate()
2296 if (((m_shaderInputTypes & SHADER_INPUT_BUILTIN_BIT) && (x < refImage.getWidth() / 2)) || in iterate()
2301 const float xf = (float(x)+.5f) / float(refImage.getWidth()); in iterate()
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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()
870 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleUnusedResolveAttachmentTest() local
874 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleUnusedResolveAttachmentTest()
875 …renderReferenceTriangle(refImage.getAccess(), vertices, context.getDeviceProperties().limits.subPi… in renderTriangleUnusedResolveAttachmentTest()
880 refImage.getAccess(), in renderTriangleUnusedResolveAttachmentTest()
/third_party/vk-gl-cts/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()
870 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleUnusedResolveAttachmentTest() local
874 tcu::clear(refImage.getAccess(), clearColor); in renderTriangleUnusedResolveAttachmentTest()
875 …renderReferenceTriangle(refImage.getAccess(), vertices, context.getDeviceProperties().limits.subPi… in renderTriangleUnusedResolveAttachmentTest()
880 refImage.getAccess(), in renderTriangleUnusedResolveAttachmentTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp849 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
850 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
860 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
868 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
1024 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
1025 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
1036 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
1044 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
1213 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
1214 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;
195 void DrawTest::drawReferenceImage (const tcu::PixelBufferAccess& refImage) const in drawReferenceImage()
213 tcu::clear(refImage, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in drawReferenceImage()
223 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktBasicDrawTests.cpp849 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
850 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
860 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
868 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
1024 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
1025 tcu::clear(refImage.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
1036 generateRefImage(refImage.getAccess(), vertices, colors); in iterate()
1044 if (!imageCompare(log, refImage.getAccess(), renderedFrame, m_data.topology)) in iterate()
1213 …tcu::TextureLevel refImage (vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<flo… in iterate() local
1214 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;
195 void DrawTest::drawReferenceImage (const tcu::PixelBufferAccess& refImage) const in drawReferenceImage()
213 tcu::clear(refImage, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in drawReferenceImage()
223 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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp931 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorFormat), 32, 32); in verifyTestResult() local
946 tcu::clear(refImage.getAccess(), clearColorVec4); in verifyTestResult()
967 refImage.getAccess().setPixel(vertex->color, x, y); in verifyTestResult()
979 refImage.getAccess(), in verifyTestResult()
1222 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorFormat), 32, 32); in verifyTestResult() local
1235 tcu::clear(refImage.getAccess(), clearColorVec4); in verifyTestResult()
1261 refImage.getAccess().setPixel(vertex->color, x, y); in verifyTestResult()
1281 refImage.getAccess(), in verifyTestResult()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp931 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorFormat), 32, 32); in verifyTestResult() local
946 tcu::clear(refImage.getAccess(), clearColorVec4); in verifyTestResult()
967 refImage.getAccess().setPixel(vertex->color, x, y); in verifyTestResult()
979 refImage.getAccess(), in verifyTestResult()
1222 tcu::TextureLevel refImage (vk::mapVkFormat(m_colorFormat), 32, 32); in verifyTestResult() local
1235 tcu::clear(refImage.getAccess(), clearColorVec4); in verifyTestResult()
1261 refImage.getAccess().setPixel(vertex->color, x, y); in verifyTestResult()
1281 refImage.getAccess(), in verifyTestResult()
/third_party/flutter/skia/tools/gpu/
DYUVUtils.h29 sk_sp<SkImage> refImage(GrContext* context);
/third_party/skia/tools/gpu/
DYUVUtils.h50 sk_sp<SkImage> refImage(GrRecordingContext* rContext, Type);
/third_party/skia/gm/
Dducky_yuv_blend.cpp34 duckyFG[1] = lazyYUV->refImage(rContext, sk_gpu_test::LazyYUVImage::Type::kFromPixmaps);

123