/external/deqp/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.g… in drawAndCheckGradient() 328 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 | es2fBlendTests.cpp | 212 tcu::Surface renderedImg (m_viewportW, m_viewportH); in iterate() local 263 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 270 …pareResult", "Image Comparison Result", m_refColorBuffer->getAccess(), renderedImg.getAccess(), co… in iterate()
|
D | es2fRandomFragmentOpTests.cpp | 304 tcu::Surface renderedImg (width, height); in iterate() local 366 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 372 …pareResult", "Image Comparison Result", m_refColorBuffer->getAccess(), renderedImg.getAccess(), ge… in iterate()
|
D | es2fUniformApiTests.cpp | 1671 tcu::Surface renderedImg (viewportW, viewportH); in renderTest() local 1715 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in renderTest() 1718 for (int y = 0; y < renderedImg.getHeight(); y++) in renderTest() 1720 for (int x = 0; x < renderedImg.getWidth(); x++) in renderTest() 1722 if (renderedImg.getPixel(x, y) != tcu::RGBA::white) in renderTest() 1729 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()
|
/external/deqp/modules/gles3/functional/ |
D | es3fDitheringTests.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.g… in drawAndCheckGradient() 328 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient() [all …]
|
D | es3fMultisampleTests.cpp | 579 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 590 readImage(renderedImg); in iterate() 592 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() 598 …for (int y = 0; y < renderedImg.getHeight() && (int)m_detectedColors.size() < requiredNumDistinctC… in iterate() 599 …for (int x = 0; x < renderedImg.getWidth() && (int)m_detectedColors.size() < requiredNumDistinctCo… in iterate() 601 tcu::RGBA color = renderedImg.getPixel(x, y); in iterate() 787 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 979 readImage(renderedImg); in iterate() 983 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() 993 bool errorsInCurrentRegion = !isPixelRegionUnicolored(renderedImg, p0Win, p1Win, p2Win, p3Win); in iterate() [all …]
|
D | es3fBlendTests.cpp | 265 …TextureLevel renderedImg (TextureFormat(m_useSrgbFbo ? TextureFormat::sRGBA : TextureFormat::… in iterate() local 316 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 326 (m_useSrgbFbo ? sRGBATextureLevelToLinear(renderedImg) : renderedImg).getAccess(), in iterate()
|
D | es3fRandomFragmentOpTests.cpp | 304 tcu::Surface renderedImg (width, height); in iterate() local 366 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate() 372 …pareResult", "Image Comparison Result", m_refColorBuffer->getAccess(), renderedImg.getAccess(), ge… 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 | 2083 tcu::Surface renderedImg (viewportW, viewportH); in renderTest() local 2125 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in renderTest() 2128 for (int y = 0; y < renderedImg.getHeight(); y++) in renderTest() 2130 for (int x = 0; x < renderedImg.getWidth(); x++) in renderTest() 2132 if (renderedImg.getPixel(x, y) != tcu::RGBA::white) in renderTest() 2139 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg); in renderTest()
|
/external/deqp/modules/gles31/functional/ |
D | es31fMultisampleTests.cpp | 582 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 583 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() 620 readImage(renderedImg); in iterate() 622 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() 628 for (int y = 0; y < renderedImg.getHeight(); y++) in iterate() 629 for (int x = 0; x < renderedImg.getWidth(); x++) in iterate() 630 sumRed += renderedImg.getPixel(x, y).getRed(); in iterate() 740 tcu::Surface renderedImg (m_viewportSize, m_viewportSize); in iterate() local 830 readImage(renderedImg); in iterate() 832 …log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PN… in iterate() [all …]
|
D | es31fAdvancedBlendTests.cpp | 366 …TextureLevel renderedImg (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_vi… in iterate() local 484 glu::readPixels(renderCtx, viewportX, viewportY, renderedImg.getAccess()); in iterate() 503 renderedImg.getAccess(), in iterate() 513 renderedImg.getAccess(), in iterate()
|
D | es31fProgramUniformTests.cpp | 1586 tcu::Surface renderedImg (viewportW, viewportH); in renderTest() local 1627 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in renderTest() 1631 for (int y = 0; y < renderedImg.getHeight(); y++) in renderTest() 1633 for (int x = 0; x < renderedImg.getWidth(); x++) in renderTest() 1635 if (renderedImg.getPixel(x, y) != tcu::RGBA::green) in renderTest() 1642 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg); in renderTest()
|