/external/deqp/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 150 tcu::Surface referenceFrame (viewportW, viewportH); in iterate() local 229 for (int y = 0; y < referenceFrame.getHeight(); y++) in iterate() 231 float yf = ((float)y + 0.5f) / referenceFrame.getHeight(); in iterate() 232 …int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWi… in iterate() 237 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 241 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green : tcu::RGBA::blue); in iterate() 245 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate() 247 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 248 float xh = ((float)x - half + 0.5f) / (float)(referenceFrame.getWidth()-half); in iterate() 253 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green : tcu::RGBA::blue); in iterate() [all …]
|
D | es2fTextureFormatTests.cpp | 142 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 191 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate() 194 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate() 318 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local 359 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testFace() 362 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace() 452 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 481 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate() 484 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate() 563 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local [all …]
|
D | es2fTextureSizeTests.cpp | 123 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 154 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate() 157 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate() 266 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local 298 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testFace() 301 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
|
D | es2fTextureWrapTests.cpp | 165 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 199 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, … in iterate() 212 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWi… in iterate() 217 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
|
D | es2fTextureMipmapTests.cpp | 349 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 389 sampleTexture(SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate() 394 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate() 409 m_testCtx.getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate() 667 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 712 …SurfaceAccess idealDst(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), curX, curY,… in iterate() 718 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate() 732 m_testCtx.getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragDepthTests.cpp | 134 tcu::Surface referenceFrame (viewportW, viewportH); in iterate() local 236 for (int y = 0; y < referenceFrame.getHeight(); y++) in iterate() 238 float yf = ((float)y + 0.5f) / referenceFrame.getHeight(); in iterate() 239 …int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWi… in iterate() 244 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 248 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green : tcu::RGBA::blue); in iterate() 252 for (int x = half; x < referenceFrame.getWidth(); x++) in iterate() 254 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth(); in iterate() 255 float xh = ((float)x - half + 0.5f) / (float)(referenceFrame.getWidth()-half); in iterate() 260 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green : tcu::RGBA::blue); in iterate() [all …]
|
D | es3fTextureSwizzleTests.cpp | 150 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 196 …sampleTexture(SurfaceAccess(referenceFrame, tcu::PixelFormat(8,8,8,8)), m_texture->getRefTexture()… in iterate() 199 swizzle(referenceFrame, m_swizzleR, m_swizzleG, m_swizzleB, m_swizzleA); in iterate() 204 for (int y = 0; y < referenceFrame.getHeight(); y++) in iterate() 206 for (int x = 0; x < referenceFrame.getWidth(); x++) in iterate() 208 tcu::RGBA p = referenceFrame.getPixel(x, y); in iterate() 209 referenceFrame.setPixel(x, y, pixelFormat.convertColor(p)); in iterate() 216 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
|
D | es3fTextureFormatTests.cpp | 159 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 208 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate() 211 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate() 349 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local 390 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testFace() 393 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace() 511 tcu::Surface referenceFrame (viewport.width, viewport.height); in testLayer() local 547 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testLayer() 550 …Ndx))).c_str(), (string("Layer " + de::toString(layerNdx))).c_str(), referenceFrame, renderedFrame… in testLayer() 663 tcu::Surface referenceFrame (viewport.width, viewport.height); in testSlice() local [all …]
|
D | es3fTextureSizeTests.cpp | 123 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 154 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in iterate() 157 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate() 266 tcu::Surface referenceFrame (viewport.width, viewport.height); in testFace() local 298 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testFace() 301 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
|
D | es3fTextureMipmapTests.cpp | 393 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 433 sampleTexture(SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate() 438 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate() 453 m_testCtx.getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate() 706 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 751 …SurfaceAccess idealDst(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), curX, curY,… in iterate() 757 tcu::getSubregion(referenceFrame.getAccess(), curX, curY, curW, curH), in iterate() 771 m_testCtx.getLog() << TestLog::Image("Reference", "Ideal reference", referenceFrame) in iterate() 1340 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 1379 sampleTexture(SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate() [all …]
|
D | es3fASTCDecompressionCases.cpp | 1828 Surface referenceFrame (imageWidth, imageHeight); in iterate() local 1830 …m_renderer->render(referenceFrame, renderedFrame, texture, getUncompressedFormat(compressed.getFor… in iterate() 1839 …const bool compareOk = compareBlockImages(referenceFrame, renderedFrame, threshold, blockSize, cur… in iterate() 1858 << TestLog::Image("Reference", "Reference", referenceFrame) in iterate() 1955 Surface referenceFrame (imageWidth, imageHeight); in iterate() local 1958 …m_renderer->render(referenceFrame, renderedFrame, texture, getUncompressedFormat(compressed.getFor… in iterate() 1974 …Compare(m_testCtx.getLog(), "ComparisonResult", "Comparison Result", referenceFrame, renderedFrame… in iterate()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 191 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 233 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, … in iterate() 244 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWi… in iterate() 273 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bot… in iterate() 284 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWi… in iterate() 296 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); in iterate() 534 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 571 …SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bot… in iterate() 581 …SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightW… in iterate() 602 …SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, lef… in iterate() [all …]
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 200 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 242 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, … in iterate() 253 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWi… in iterate() 282 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bot… in iterate() 293 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWi… in iterate() 307 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); in iterate() 524 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 561 …SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bot… in iterate() 571 …SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightW… in iterate() 592 …SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, lef… in iterate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureFormatTests.cpp | 178 tcu::Surface referenceFrame (viewport.width, viewport.height); in testLayerFace() local 219 …sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_tex… in testLayerFace() 222 …str(), (string("Layer-face " + de::toString(layerFaceNdx))).c_str(), referenceFrame, renderedFrame… in testLayerFace() 316 tcu::Surface referenceFrame (viewport.width, viewport.height); in iterate() local 352 …fetchTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_text… in iterate() 355 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
|
D | es31fCopyImageTests.cpp | 903 tcu::Surface referenceFrame (viewport.width, viewport.height); in verifyTexture2DView() local 922 …sampleTexture(SurfaceAccess(referenceFrame, renderContext.getRenderTarget().getPixelFormat()), ref… in verifyTexture2DView() 925 …ng(level)).c_str(), ("Render level " + de::toString(level)).c_str(), referenceFrame, renderedFrame… in verifyTexture2DView() 1066 tcu::Surface referenceFrame (viewport.width, viewport.height); in verifyTexture3DView() local 1080 …sampleTexture(SurfaceAccess(referenceFrame, renderContext.getRenderTarget().getPixelFormat()), ref… in verifyTexture3DView() 1083 … " + de::toString(level) + ", Slice" + de::toString(slice)).c_str(), referenceFrame, renderedFrame… in verifyTexture3DView() 1179 tcu::Surface referenceFrame (viewport.width, viewport.height); in verifyTextureCubemapView() local 1193 …sampleTexture(SurfaceAccess(referenceFrame, renderContext.getRenderTarget().getPixelFormat()), ref… in verifyTextureCubemapView() 1196 …evel " + de::toString(level) + ", Face " + cubemapFaceName).c_str(), referenceFrame, renderedFrame… in verifyTextureCubemapView() 1347 tcu::Surface referenceFrame (viewport.width, viewport.height); in verifyTexture2DArrayView() local [all …]
|