Home
last modified time | relevance | path

Searched refs:renderedFrame (Results 1 – 25 of 46) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp556 bool verifyTextureSampleResult (const tcu::ConstPixelBufferAccess& renderedFrame,
562 bool verifyTextureCompareResult (const tcu::ConstPixelBufferAccess& renderedFrame,
570 bool verifyTextureGatherResult (const tcu::ConstPixelBufferAccess& renderedFrame,
575 bool verifyTextureGatherCmpResult(const tcu::ConstPixelBufferAccess& renderedFrame,
717 tcu::Surface renderedFrame (VIEWPORT_WIDTH, VIEWPORT_HEIGHT); in iterate() local
721 renderTo(renderedFrame, iterationConfig, samplerParams); in iterate()
722 verifyImage(renderedFrame, iterationConfig, samplerParams); in iterate()
910 void TextureBorderClampTest::verifyImage (const tcu::Surface& renderedFrame, in verifyImage() argument
943 verificationOk = verifyTextureSampleResult(renderedFrame.getAccess(), in verifyImage()
951 verificationOk = verifyTextureGatherResult(renderedFrame.getAccess(), in verifyImage()
[all …]
Des31fTextureFormatTests.cpp208 tcu::Surface renderedFrame (viewport.width, viewport.height); in testLayerFace() local
247 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in testLayerFace()
253 …ng("Layer-face " + de::toString(layerFaceNdx))).c_str(), referenceFrame, renderedFrame, threshold); in testLayerFace()
358 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
391 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
399 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureFormatTests.cpp143 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
189 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
196 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
319 tcu::Surface renderedFrame (viewport.width, viewport.height); in testFace() local
357 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in testFace()
364 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
453 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
477 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
486 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
564 tcu::Surface renderedFrame (viewport.width, viewport.height); in testFace() local
[all …]
Des2fClipControlTests.cpp505 tcu::Surface renderedFrame(viewportW, viewportH); in ValidateFramebuffer() local
510 for (int y = 0; y < renderedFrame.getHeight(); y++) in ValidateFramebuffer()
512 float yCoord = (float)(y) / (float)renderedFrame.getHeight(); in ValidateFramebuffer()
514 for (int x = 0; x < renderedFrame.getWidth(); x++) in ValidateFramebuffer()
517 float xCoord = (float)(x) / (float)renderedFrame.getWidth(); in ValidateFramebuffer()
541 glu::readPixels(context.getRenderContext(), 0, 0, renderedFrame.getAccess()); in ValidateFramebuffer()
543 …if (tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.0… in ValidateFramebuffer()
915 tcu::Surface renderedFrame(windowW, windowH); in ValidateFramebuffer() local
920 for (int y = 0; y < renderedFrame.getHeight(); y++) in ValidateFramebuffer()
922 float yCoord = static_cast<float>(y) / static_cast<float>(renderedFrame.getHeight()); in ValidateFramebuffer()
[all …]
Des2fDepthRangeTests.cpp149 tcu::Surface renderedFrame (viewportW, viewportH); in iterate() local
226 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
257 …uzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::C… in iterate()
298 tcu::Surface renderedFrame (viewportW, viewportH); in iterate() local
373 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
390 …uzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::C… in iterate()
Des2fTextureSizeTests.cpp123 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
157 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
163 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
271 tcu::Surface renderedFrame (viewport.width, viewport.height); in testFace() local
304 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in testFace()
312 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
Des2fTextureWrapTests.cpp174 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
217 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
230 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
237 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cClipControlTests.cpp513 tcu::Surface renderedFrame(viewportW, viewportH); in ValidateFramebuffer() local
518 for (int y = 0; y < renderedFrame.getHeight(); y++) in ValidateFramebuffer()
520 float yCoord = (float)(y) / (float)renderedFrame.getHeight(); in ValidateFramebuffer()
522 for (int x = 0; x < renderedFrame.getWidth(); x++) in ValidateFramebuffer()
525 float xCoord = (float)(x) / (float)renderedFrame.getWidth(); in ValidateFramebuffer()
549 glu::readPixels(context.getRenderContext(), 0, 0, renderedFrame.getAccess()); in ValidateFramebuffer()
551 …if (tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.0… in ValidateFramebuffer()
1291 tcu::Surface renderedFrame(windowW, windowH); in ValidateFramebuffer() local
1296 for (int y = 0; y < renderedFrame.getHeight(); y++) in ValidateFramebuffer()
1298 float yCoord = (float)(y) / (float)renderedFrame.getHeight(); in ValidateFramebuffer()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureFormatTests.cpp183 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
229 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
236 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
378 tcu::Surface renderedFrame (viewport.width, viewport.height); in testFace() local
416 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in testFace()
423 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
545 tcu::Surface renderedFrame (viewport.width, viewport.height); in testLayer() local
579 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in testLayer()
585 …(), (string("Layer " + de::toString(layerNdx))).c_str(), referenceFrame, renderedFrame, threshold); in testLayer()
702 tcu::Surface renderedFrame (viewport.width, viewport.height); in testSlice() local
[all …]
Des3fASTCDecompressionCases.cpp452 Surface renderedFrame (imageWidth, imageHeight); in iterate() local
455 …m_renderer->render(referenceFrame, renderedFrame, texture, getUncompressedFormat(compressed.getFor… in iterate()
464 …const bool compareOk = compareBlockImages(referenceFrame, renderedFrame, threshold, blockSize, cur… in iterate()
482 << TestLog::Image("Result", "Result", renderedFrame) in iterate()
499 << TestLog::Image("Result", "Result", renderedFrame) in iterate()
574 Surface renderedFrame (imageWidth, imageHeight); in iterate() local
578 …m_renderer->render(referenceFrame, renderedFrame, texture, getUncompressedFormat(compressed.getFor… in iterate()
594 …estCtx.getLog(), "ComparisonResult", "Comparison Result", referenceFrame, renderedFrame, threshold, in iterate()
Des3fFragDepthTests.cpp133 tcu::Surface renderedFrame (viewportW, viewportH); in iterate() local
233 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
264 …uzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::C… in iterate()
304 tcu::Surface renderedFrame (viewportW, viewportH); in iterate() local
399 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
416 …uzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::C… in iterate()
Des3fTextureSizeTests.cpp124 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
158 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
164 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); in iterate()
272 tcu::Surface renderedFrame (viewport.width, viewport.height); in testFace() local
305 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in testFace()
313 return compareImages(log, referenceFrame, renderedFrame, threshold); in testFace()
Des3fTextureMipmapTests.cpp312 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
388 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
438 …numFailedPixels += computeTextureLookupDiff(tcu::getSubregion(renderedFrame.getAccess(), curX, cur… in iterate()
450 << TestLog::Image("Rendered", "Rendered image", renderedFrame); in iterate()
636 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
702 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
757 …numFailedPixels += computeTextureLookupDiff(tcu::getSubregion(renderedFrame.getAccess(), curX, cur… in iterate()
768 << TestLog::Image("Rendered", "Rendered image", renderedFrame); in iterate()
1267 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
1335 glu::readPixels(m_context.getRenderContext(), viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateGeneralTests.cpp132 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
137 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
229 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
233 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
367 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
371 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
DvktDynamicStateVPTests.cpp106 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
110 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
333 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
337 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
DvktDynamicStateCBTests.cpp140 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
144 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcFragDepthTests.cpp150 tcu::Surface renderedFrame(viewportW, viewportH); in iterate() local
231 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
262 …= tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, in iterate()
303 tcu::Surface renderedFrame(viewportW, viewportH); in iterate() local
384 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
401 …= tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringAnisotropyTests.cpp129 Surface renderedFrame (ANISOTROPY_TEST_RESOLUTION, ANISOTROPY_TEST_RESOLUTION); in iterate() local
142 renderer.renderQuad(renderedFrame, position, 0, &texCoord[0], m_refParams, 1.0f); in iterate()
146renderedFrame.getAccess(), renderedAnisotropyFrame.getAccess(), 0.05f, tcu::COMPARE_LOG_RESULT)) in iterate()
155renderedFrame.getAccess(), renderedAnisotropyFrame.getAccess(), Vec4(0.02f), tcu::COMPARE_LOG_RESU… in iterate()
DvktTextureMipmapTests.cpp272 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() local
326 m_renderer.renderQuad(renderedFrame, 0, &texCoord[0], refParams); in iterate()
379 …numFailedPixels += computeTextureLookupDiff(tcu::getSubregion(renderedFrame.getAccess(), curX, cur… in iterate()
391 << TestLog::Image("Rendered", "Rendered image", renderedFrame); in iterate()
512 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() local
561 m_renderer.renderQuad(renderedFrame, 0, &texCoord[0], refParams); in iterate()
617 …numFailedPixels += computeTextureLookupDiff(tcu::getSubregion(renderedFrame.getAccess(), curX, cur… in iterate()
630 << TestLog::Image("Rendered", "Rendered image", renderedFrame); in iterate()
787 tcu::Surface renderedFrame (viewportWidth, viewportHeight); in iterate() local
840 m_renderer.renderQuad(renderedFrame, 0, &texCoord[0], refParams); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawSimpleTest.cpp183 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
189 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
277 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
283 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
DvktDrawIndexedTest.cpp198 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
204 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
305 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
311 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp269 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
359 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
366 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); in iterate()
547 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
626 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
633 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); in iterate()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp261 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
351 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
358 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); in iterate()
535 tcu::Surface renderedFrame (viewport.width, viewport.height); in iterate() local
614 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess()); in iterate()
621 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp2188 tcu::Surface renderedFrame(viewportW, viewportH); in iterate() local
2255 glu::readPixels(m_context.getRenderContext(), 0, 0, renderedFrame.getAccess()); in iterate()
2258 if (!checkSurface(renderedFrame, tcu::RGBA::green())) in iterate()
2297 glu::readPixels(m_context.getRenderContext(), 0, 0, renderedFrame.getAccess()); in iterate()
2300 if (!checkSurface(renderedFrame, tcu::RGBA::blue())) in iterate()
2383 glu::readPixels(m_context.getRenderContext(), 0, 0, renderedFrame.getAccess()); in iterate()
2386 if (!checkSurface(renderedFrame, tcu::RGBA::red())) in iterate()
2421 glu::readPixels(m_context.getRenderContext(), 0, 0, renderedFrame.getAccess()); in iterate()
2424 if (!checkSurface(renderedFrame, tcu::RGBA::green())) in iterate()
2454 glu::readPixels(m_context.getRenderContext(), 0, 0, renderedFrame.getAccess()); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalClearAttachmentTests.cpp208 …const tcu::ConstPixelBufferAccess renderedFrame = m_colorTargetImage->readSurface(queue, m_context… in iterate() local
214 referenceFrame.getLevel(0), renderedFrame, 0.05f, in iterate()

12