Searched refs:resultImage (Results 1 - 23 of 23) sorted by relevance

/external/deqp/modules/gles31/functional/
H A Des31fMultisampleShaderRenderCase.hpp89 void verifyResultImageAndSetResult (const tcu::Surface& resultImage);
96 virtual bool verifyImage (const tcu::Surface& resultImage) = 0;
H A Des31fShaderMultisampleInterpolationTests.cpp110 bool verifyImage (const tcu::Surface& resultImage);
140 bool MultisampleShadeCountRenderCase::verifyImage (const tcu::Surface& resultImage) argument
149 << tcu::TestLog::Image("ResultImage", "Result Image", resultImage.getAccess())
158 const tcu::RGBA color = resultImage.getPixel(x, y);
647 bool verifyImage (const tcu::Surface& resultImage);
749 bool SingleSampleInterpolateAtSampleCase::verifyImage (const tcu::Surface& resultImage)
751 return verifyGreenImage(resultImage, m_testCtx.getLog());
839 bool verifyImage (const tcu::Surface& resultImage);
922 bool CentroidQualifierAtSampleCase::verifyImage (const tcu::Surface& resultImage)
924 return verifyGreenImage(resultImage, m_testCt
[all...]
H A Des31fSampleVariableTests.cpp207 static bool verifyImageWithVerifier (const tcu::Surface& resultImage, tcu::TestLog& log, const Verifier& verifier, bool logOnSuccess = true) argument
209 tcu::Surface errorMask (resultImage.getWidth(), resultImage.getHeight());
220 for (int y = 0; y < resultImage.getHeight(); ++y)
221 for (int x = 0; x < resultImage.getWidth(); ++x)
223 const tcu::RGBA color = resultImage.getPixel(x, y);
241 << tcu::TestLog::Image("Result", "Result image", resultImage.getAccess())
249 << tcu::TestLog::Image("Result", "Result image", resultImage.getAccess())
293 bool verifyImage (const tcu::Surface& resultImage);
332 bool NumSamplesCase::verifyImage (const tcu::Surface& resultImage)
[all...]
H A Des31fMultisampleShaderRenderCase.cpp404 void MultisampleRenderCase::verifyResultImageAndSetResult (const tcu::Surface& resultImage)
410 if (!verifyImage(resultImage))
520 tcu::Surface resultImage(m_renderSize, m_renderSize);
525 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess());
529 verifyResultImageAndSetResult(resultImage);
533 tcu::Surface resultImage(m_renderSize, m_renderSize);
547 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess());
553 verifyResultImageAndSetResult(resultImage);
560 tcu::Surface resultImage (m_renderSize, m_renderSize);
598 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage
[all...]
H A Des31fSampleShadingTests.cpp250 bool verifyImage (const tcu::Surface& resultImage);
354 bool SampleShadingRenderingCase::verifyImage (const tcu::Surface& resultImage)
364 << tcu::TestLog::Image("ResultImage", "Result Image", resultImage.getAccess())
373 const tcu::RGBA color = resultImage.getPixel(x, y);
H A Des31fTessellationGeometryInteractionTests.cpp1768 tcu::Surface resultImage(RENDER_SIZE, RENDER_SIZE);
1770 renderTo(resultImage);
1772 if (verifyImage(resultImage))
/external/deqp/modules/gles2/functional/
H A Des2fRasterizationTests.cpp254 tcu::Surface resultImage (m_renderSize, m_renderSize);
261 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType);
277 compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
340 tcu::Surface resultImage (m_renderSize, m_renderSize);
358 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType);
375 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
442 tcu::Surface resultImage (m_renderSize, m_renderSize);
460 drawPrimitives(resultImage, drawBuffer, GL_POINTS);
476 compareOk = verifyPointGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
1004 tcu::Surface resultImage (m_renderSiz
[all...]
/external/deqp/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp248 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE);
304 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess());
320 const tcu::RGBA col = resultImage.getPixel(x, y);
340 << tcu::TestLog::Image("Result", "Result", resultImage)
607 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE);
699 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess());
703 if (!checkResultImage(resultImage))
828 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE);
888 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess());
892 if (!checkResultImage(resultImage))
[all...]
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
H A DvktRasterizationTests.cpp1056 tcu::Surface resultImage (m_renderSize, m_renderSize);
1063 drawPrimitives(resultImage, drawBuffer, m_primitiveTopology);
1081 compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_context.getTestContext().getLog());
1167 tcu::Surface resultImage (m_renderSize, m_renderSize);
1178 drawPrimitives(resultImage, drawBuffer, m_primitiveTopology);
1197 if (!verifyClippedTriangulatedLineGroupRasterization(resultImage, scene, args, m_context.getTestContext().getLog()))
1284 tcu::Surface resultImage (m_renderSize, m_renderSize);
1295 drawPrimitives(resultImage, drawBuffer, VK_PRIMITIVE_TOPOLOGY_POINT_LIST);
1313 compareOk = verifyPointGroupRasterization(resultImage, scene, args, m_context.getTestContext().getLog());
1790 tcu::Surface resultImage (m_renderSiz
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fRasterizationTests.cpp456 tcu::Surface resultImage (m_renderSize, m_renderSize);
463 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType);
479 compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
577 tcu::Surface resultImage (m_renderSize, m_renderSize);
588 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType);
605 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
718 tcu::Surface resultImage (m_renderSize, m_renderSize);
729 drawPrimitives(resultImage, drawBuffer, GL_POINTS);
745 compareOk = verifyPointGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
1281 tcu::Surface resultImage (m_renderSiz
[all...]
/external/deqp/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp256 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE);
312 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess());
328 const tcu::RGBA col = resultImage.getPixel(x, y);
348 << tcu::TestLog::Image("Result", "Result", resultImage)
619 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE);
711 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess());
715 if (!checkResultImage(resultImage))
843 tcu::Surface resultImage (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE);
904 glu::readPixels(m_context.getRenderContext(), 0, 0, resultImage.getAccess());
908 if (!checkResultImage(resultImage))
[all...]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationSmokeTests.cpp1012 void* resultImage; local
1096 resultImage = testContext.renderReadBuffer->getHostPtr();
1105 resultImage));
1141 void* resultImage; local
1206 resultImage = testContext1.renderReadBuffer->getHostPtr();
1215 resultImage));
1232 resultImage = testContext2.renderReadBuffer->getHostPtr();
1241 resultImage));
1273 void* resultImage; local
1336 resultImage
[all...]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryTestsUtil.cpp712 bool compareWithFileImage (Context& context, const tcu::ConstPixelBufferAccess& resultImage, std::string testName) argument
719 referenceImage.getAccess(), resultImage, 0.001f, tcu::COMPARE_LOG_RESULT))
721 referenceImage.getAccess(), resultImage, tcu::UVec4(1u, 1u, 1u, 1u), tcu::IVec3(2,2,2), false, tcu::COMPARE_LOG_RESULT);
H A DvktGeometryTestsUtil.hpp189 bool compareWithFileImage (Context& context, const tcu::ConstPixelBufferAccess& resultImage, std::string name);
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawNegativeViewportHeightTests.cpp428 const tcu::ConstPixelBufferAccess resultImage = draw(viewport); local
447 if (!tcu::fuzzyCompare(log, "Image compare", "Image compare", referenceImage->getAccess(), resultImage, 0.02f, tcu::COMPARE_LOG_RESULT))
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp752 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr());
756 if (!tcu::floatThresholdCompare(context.getTestContext().getLog(), "color", "Image compare", referenceImage.getAccess(), resultImage, Vec4(0.02f), tcu::COMPARE_LOG_RESULT))
H A DvktFragmentOperationsScissorTests.cpp733 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferScissoredAlloc->getHostPtr());
740 if (!tcu::floatThresholdCompare(context.getTestContext().getLog(), "color", "Image compare", referenceImage, resultImage, Vec4(0.02f), tcu::COMPARE_LOG_RESULT))
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp677 tcu::TextureLevel resultImage; local
690 resultImage.setStorage(dataFormat, renderedImage.getWidth(), renderedImage.getHeight());
691 tcu::copy(resultImage.getAccess(), tcu::ConstPixelBufferAccess(dataFormat, renderedImage.getSize(), renderedImage.getAccess().getDataPtr()));
695 resultImage = renderedImage;
701 tcu::Surface errorMask(resultImage.getWidth(), resultImage.getHeight());
704 const bool isOk = verify(resultImage.getAccess(), errorMask.getAccess());
707 << TestLog::Image("Rendered", "Rendered image", resultImage);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp723 const tcu::ConstPixelBufferAccess resultImage (format, caseDef.renderSize.x(), caseDef.renderSize.y(), depth, colorBufferAlloc->getHostPtr());
725 if (!tcu::intThresholdCompare(context.getTestContext().getLog(), "Image Comparison", "", expectedImage, resultImage, tcu::UVec4(2), tcu::COMPARE_LOG_RESULT))
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesBufferTests.cpp829 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(m_colorFormat), m_renderSize.x(), m_renderSize.y(), 1u, m_colorBufferAlloc->getHostPtr());
832 << tcu::LogImageSet("Result", "Result") << tcu::LogImage("color0", "", resultImage) << tcu::TestLog::EndImageSet;
834 if (imageHasErrorPixels(resultImage))
/external/skia/tests/
H A DImageFilterTest.cpp1275 sk_sp<SkSpecialImage> resultImage(imageFilter->filterImage(srcImg.get(), ctx, &offset));
1276 REPORTER_ASSERT(reporter, !resultImage);
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingShaderAccessTests.cpp817 tcu::TextureLevel resultImage; local
906 readRenderTarget(resultImage);
907 return verifyResultImage(resultImage.getAccess());
/external/deqp/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp3057 const ConstPixelBufferAccess resultImage (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_imageWidth, m_imageHeight, 1, ptr);
3061 if (!tcu::intThresholdCompare(context.getLog(), (de::toString(commandIndex) + ":" + getName()).c_str(), (de::toString(commandIndex) + ":" + getName()).c_str(), referenceImage, resultImage, UVec4(0), tcu::COMPARE_LOG_ON_ERROR))

Completed in 478 milliseconds