/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDitheringTests.cpp | 258 Surface renderedImg (viewportWid, viewportHei); in drawAndCheckGradient() local 278 glu::readPixels(m_renderCtx, viewportX, viewportY, renderedImg.getAccess()); in drawAndCheckGradient() 283 renderedImg); in drawAndCheckGradient() 291 for (int y = 0; y < renderedImg.getHeight(); y++) in drawAndCheckGradient() 293 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckGradient() 295 …asing ? y : x) + 0.5f) / (float)(isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.ge… in drawAndCheckGradient() 297 …const bool increaseTol = ((renderedImg.getWidth() < 300) || (renderedImg.getHeigh… in drawAndCheckGradient() 299 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk, increaseTol)) in drawAndCheckGradient() 325 …st int increasingDirectionSize = isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.ge… in drawAndCheckGradient() 326 …const int constantDirectionSize = isVerticallyIncreasing ? renderedImg.getWidth() : renderedImg.ge… in drawAndCheckGradient() [all …]
|
D | es3fMultisampleTests.cpp | 581 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 592 readImage(renderedImg); in iterate() 594 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() 600 …for (int y = 0; y < renderedImg.getHeight() && (int)m_detectedColors.size() < requiredNumDistinctC… in iterate() 601 …for (int x = 0; x < renderedImg.getWidth() && (int)m_detectedColors.size() < requiredNumDistinctCo… in iterate() 603 tcu::RGBA color = renderedImg.getPixel(x, y); in iterate() 799 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 991 readImage(renderedImg); in iterate() 995 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() 1005 bool errorsInCurrentRegion = !isPixelRegionUnicolored(renderedImg, p0Win, p1Win, p2Win, p3Win); in iterate() [all …]
|
D | es3fBlendTests.cpp | 261 …TextureLevel renderedImg (TextureFormat(m_useSrgbFbo ? TextureFormat::sRGBA : TextureFormat::… in iterate() local 262 TextureLevel referenceImg (renderedImg.getFormat(), m_viewportWidth, m_viewportHeight); in iterate() 316 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 323 sRGBAToLinear(renderedImg, renderedImg); in iterate() 331 referenceImg.getAccess(), renderedImg.getAccess(), in iterate()
|
D | es3fRandomFragmentOpTests.cpp | 305 tcu::Surface renderedImg (width, height); in iterate() local 371 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 389 renderedImg.getAccess(), in iterate() 398 renderedImg.getAccess(), in iterate()
|
D | es3fDepthStencilTests.cpp | 619 tcu::Surface renderedImg (m_renderTarget.width, m_renderTarget.height); in iterate() local 696 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 702 …tx.getLog(), "CompareResult", "Image Comparison Result", *m_refColorBuffer, renderedImg, threshold, in iterate()
|
D | es3fUniformApiTests.cpp | 2073 tcu::Surface renderedImg (viewportW, viewportH); in renderTest() local 2115 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in renderTest() 2118 for (int y = 0; y < renderedImg.getHeight(); y++) in renderTest() 2120 for (int x = 0; x < renderedImg.getWidth(); x++) in renderTest() 2122 if (renderedImg.getPixel(x, y) != tcu::RGBA::white()) in renderTest() 2129 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg); in renderTest()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDitheringTests.cpp | 252 Surface renderedImg (viewportWid, viewportHei); in drawAndCheckGradient() local 272 glu::readPixels(m_renderCtx, viewportX, viewportY, renderedImg.getAccess()); in drawAndCheckGradient() 277 renderedImg); in drawAndCheckGradient() 285 for (int y = 0; y < renderedImg.getHeight(); y++) in drawAndCheckGradient() 287 for (int x = 0; x < renderedImg.getWidth(); x++) in drawAndCheckGradient() 289 …asing ? y : x) + 0.5f) / (float)(isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.ge… in drawAndCheckGradient() 292 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckGradient() 318 …st int increasingDirectionSize = isVerticallyIncreasing ? renderedImg.getHeight() : renderedImg.ge… in drawAndCheckGradient() 319 …const int constantDirectionSize = isVerticallyIncreasing ? renderedImg.getWidth() : renderedImg.ge… in drawAndCheckGradient() 330 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient() [all …]
|
D | es2fMultisampleTests.cpp | 423 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 434 readImage(renderedImg); in iterate() 436 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() 442 …for (int y = 0; y < renderedImg.getHeight() && (int)m_detectedColors.size() < requiredNumDistinctC… in iterate() 443 …for (int x = 0; x < renderedImg.getWidth() && (int)m_detectedColors.size() < requiredNumDistinctCo… in iterate() 445 tcu::RGBA color = renderedImg.getPixel(x, y); in iterate() 637 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 829 readImage(renderedImg); in iterate() 833 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() 843 bool errorsInCurrentRegion = !isPixelRegionUnicolored(renderedImg, p0Win, p1Win, p2Win, p3Win); in iterate() [all …]
|
D | es2fRandomFragmentOpTests.cpp | 305 tcu::Surface renderedImg (width, height); in iterate() local 371 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 389 renderedImg.getAccess(), in iterate() 398 renderedImg.getAccess(), in iterate()
|
D | es2fBlendTests.cpp | 213 tcu::Surface renderedImg (m_viewportW, m_viewportH); in iterate() local 268 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 275 … "CompareResult", "Image Comparison Result", referenceImg.getAccess(), renderedImg.getAccess(), co… in iterate()
|
D | es2fUniformApiTests.cpp | 1661 tcu::Surface renderedImg (viewportW, viewportH); in renderTest() local 1705 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in renderTest() 1708 for (int y = 0; y < renderedImg.getHeight(); y++) in renderTest() 1710 for (int x = 0; x < renderedImg.getWidth(); x++) in renderTest() 1712 if (renderedImg.getPixel(x, y) != tcu::RGBA::white()) in renderTest() 1719 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg); in renderTest()
|
D | es2fDepthStencilTests.cpp | 619 tcu::Surface renderedImg (m_renderTarget.width, m_renderTarget.height); in iterate() local 696 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 702 …tx.getLog(), "CompareResult", "Image Comparison Result", *m_refColorBuffer, renderedImg, threshold, in iterate()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fMultisampleTests.cpp | 586 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 587 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() 624 readImage(renderedImg); in iterate() 626 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() 632 for (int y = 0; y < renderedImg.getHeight(); y++) in iterate() 633 for (int x = 0; x < renderedImg.getWidth(); x++) in iterate() 634 sumRed += renderedImg.getPixel(x, y).getRed(); in iterate() 744 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 834 readImage(renderedImg); in iterate() 836 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() [all …]
|
D | es31fAdvancedBlendTests.cpp | 410 …TextureLevel renderedImg (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_vi… in iterate() local 542 glu::readPixels(renderCtx, viewportX, viewportY, renderedImg.getAccess()); in iterate() 561 renderedImg.getAccess(), in iterate() 571 renderedImg.getAccess(), in iterate()
|
D | es31fProgramUniformTests.cpp | 1576 tcu::Surface renderedImg (viewportW, viewportH); in renderTest() local 1617 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in renderTest() 1621 for (int y = 0; y < renderedImg.getHeight(); y++) in renderTest() 1623 for (int x = 0; x < renderedImg.getWidth(); x++) in renderTest() 1625 if (renderedImg.getPixel(x, y) != tcu::RGBA::green()) in renderTest() 1632 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg); in renderTest()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayETC2Support.cpp | 347 tcu::PixelBufferAccess renderedImg(textureFormat, RENDER_WIDTH, RENDER_HEIGHT, 1, empty_data); in isRenderedImageValid() local 348 glu::readPixels(m_context.getRenderContext(), 0, 0, renderedImg); in isRenderedImageValid() 353 …yCompare(m_testCtx.getLog(), "CompareResult", "Image Comparison Result", referenceImg, renderedImg, in isRenderedImageValid()
|