Home
last modified time | relevance | path

Searched refs:frameNdx (Results 1 – 15 of 15) sorted by relevance

/external/deqp/modules/egl/
DteglBufferAgeTests.cpp200 …tLog& log, const tcu::Surface& reference, const tcu::Surface& buffer, int frameNdx, int bufferNum);
201 vector<int> getFramesOnBuffer (const vector<int>& bufferAges, int frameNdx);
475 vector<int> getFramesOnBuffer (const vector<int>& bufferAges, int frameNdx) in getFramesOnBuffer() argument
477 DE_ASSERT(frameNdx < (int)bufferAges.size()); in getFramesOnBuffer()
479 int age = bufferAges[frameNdx]; in getFramesOnBuffer()
482 frameNdx = frameNdx - age; in getFramesOnBuffer()
483 DE_ASSERT(frameNdx >= 0); in getFramesOnBuffer()
484 frameOnBuffer.push_back(frameNdx); in getFramesOnBuffer()
485 age = bufferAges[frameNdx]; in getFramesOnBuffer()
512 for (int frameNdx = 0; frameNdx < numFrames; frameNdx++) in iterate() local
[all …]
DteglPartialUpdateTests.cpp188 …tLog& log, const tcu::Surface& reference, const tcu::Surface& buffer, int frameNdx, int bufferNum);
189 vector<int> getFramesOnBuffer (const vector<int>& bufferAges, int frameNdx);
459 vector<int> getFramesOnBuffer (const vector<int>& bufferAges, int frameNdx) in getFramesOnBuffer() argument
461 DE_ASSERT(frameNdx < (int)bufferAges.size()); in getFramesOnBuffer()
463 int age = bufferAges[frameNdx]; in getFramesOnBuffer()
466 frameNdx = frameNdx - age; in getFramesOnBuffer()
467 DE_ASSERT(frameNdx >= 0); in getFramesOnBuffer()
468 frameOnBuffer.push_back(frameNdx); in getFramesOnBuffer()
469 age = bufferAges[frameNdx]; in getFramesOnBuffer()
510 for (int frameNdx = 0; frameNdx < numFrames; frameNdx++) in iterate() local
[all …]
DteglSwapBuffersWithDamageTests.cpp498 for (int frameNdx = 0; frameNdx < numFrames; frameNdx++) in iterate() local
500 const Frame& currentFrame = frameSequence[frameNdx]; in iterate()
507 if (frameNdx % 2 == 0) in iterate()
517 if (frameNdx % 2 == 0) in iterate()
586 for (int frameNdx = 0; frameNdx < numFrames; frameNdx++) in iterate() local
591 int endFrameNdx = frameNdx; in iterate()
598 stream << "Fail, the age is invalid. Age: " << bufferAge << ", frameNdx: " << frameNdx; in iterate()
603 if (bufferAge == 0 || bufferAge > frameNdx) in iterate()
609 startFrameNdx = frameNdx-bufferAge+1; in iterate()
621 if (frameNdx % 2 == 0) in iterate()
[all …]
DteglGLES2SharedRenderingPerfTests.cpp661 for (int frameNdx = 0; frameNdx < m_config.frameCount; frameNdx++) in render() local
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawMultipleInterpolationTests.cpp289 for (deUint32 frameNdx = 0; frameNdx < colorTargetImages.size(); frameNdx++) in render() local
302 colorTargetImages[frameNdx] = Image::createAndAlloc(vk, device, targetImageCreateInfo, in render()
331 for (deUint32 frameNdx = 0; frameNdx < colorTargetImages.size(); frameNdx++) in render() local
333 const ImageViewCreateInfo colorTargetViewInfo (colorTargetImages[frameNdx]->object(), in render()
357 const ImageViewCreateInfo multisamplingTargetViewInfo (multisampleImages[frameNdx]->object(), in render()
394 for (deUint32 frameNdx = 0; frameNdx < colorTargetViews.size(); frameNdx++) in render() local
396 attachments.push_back(**colorTargetViews[frameNdx]); in render()
399 attachments.push_back(**multisampleViews[frameNdx]); in render()
513 for (deUint32 frameNdx = 0; frameNdx < colorTargetImages.size(); frameNdx++) in render() local
515 frames[frameNdx] = colorTargetImages[frameNdx]->readSurface(queue, in render()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiIncrementalPresentTests.cpp238 vk::VkRect2D getRenderFrameRect (size_t frameNdx, in getRenderFrameRect() argument
242 const deUint32 x = frameNdx == 0 in getRenderFrameRect()
244 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u); in getRenderFrameRect()
245 const deUint32 y = frameNdx == 0 in getRenderFrameRect()
247 : de::min(((deUint32)frameNdx) % imageHeight, imageHeight - 1u); in getRenderFrameRect()
248 const deUint32 width = frameNdx == 0 in getRenderFrameRect()
250 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x); in getRenderFrameRect()
251 const deUint32 height = frameNdx == 0 in getRenderFrameRect()
253 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageHeight / 3), imageHeight - y); in getRenderFrameRect()
273 for (size_t frameNdx = firstFrameNdx; frameNdx <= lastFrameNdx; frameNdx++) in getUpdatedRects() local
[all …]
DvktWsiFullScreenExclusiveTests.cpp483 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in fullScreenExclusiveTest() local
485 const VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in fullScreenExclusiveTest()
486 …const VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.size(… in fullScreenExclusiveTest()
506 …LUSIVE_MODE_LOST_EXT at vkAcquireFullScreenExclusiveModeEXT. Frame " << frameNdx << tcu::TestLog::… in fullScreenExclusiveTest()
517 if (frameNdx >= maxQueuedFrames) in fullScreenExclusiveTest()
544 …const VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%renderingC… in fullScreenExclusiveTest()
545 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in fullScreenExclusiveTest()
571 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in fullScreenExclusiveTest()
DvktWsiSwapchainTests.cpp1401 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in basicRenderTest() local
1403 const VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in basicRenderTest()
1404 …const VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.size(… in basicRenderTest()
1414 …Log() << TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << TestLog::EndMe… in basicRenderTest()
1422 …const VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%renderingC… in basicRenderTest()
1423 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
1449 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in basicRenderTest()
1632 for (size_t frameNdx = 0; frameNdx < kNumFramesToRender; ++frameNdx) in multiSwapchainRenderTest() local
1634 size_t swapchainIndex = frameNdx % params.swapchainCount; in multiSwapchainRenderTest()
1645 …Log() << TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << TestLog::EndMe… in multiSwapchainRenderTest()
[all …]
DvktWsiColorSpaceTests.cpp719 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in surfaceFormatRenderTest() local
721 const VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in surfaceFormatRenderTest()
722 …const VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.size(… in surfaceFormatRenderTest()
725 if (frameNdx >= maxQueuedFrames) in surfaceFormatRenderTest()
739 …Log() << TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << TestLog::EndMe… in surfaceFormatRenderTest()
747 …const VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%renderingC… in surfaceFormatRenderTest()
748 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in surfaceFormatRenderTest()
793 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in surfaceFormatRenderTest()
DvktWsiSharedPresentableImageTests.cpp254 size_t frameNdx, in cmdRenderFrame() argument
257 const deUint32 frameNdxValue = (deUint32)frameNdx; in cmdRenderFrame()
271 size_t frameNdx, in createCommandBuffer() argument
291 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, quadCount); in createCommandBuffer()
DvktWsiDisplayTimingTests.cpp240 size_t frameNdx, in cmdRenderFrame() argument
243 const deUint32 frameNdxValue = (deUint32)frameNdx; in cmdRenderFrame()
259 size_t frameNdx, in createCommandBuffer() argument
304 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, quadCount); in createCommandBuffer()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp831 deUint32 frameNdx) const;
1038 deUint32 frameNdx) const in recordFrame()
1052 …fer, *m_pipelineLayout, vk::VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint32)sizeof(deUint32), &frameNdx); in recordFrame()
1208 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in basicRenderTest() local
1210 const vk::VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in basicRenderTest()
1211 …const vk::VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.s… in basicRenderTest()
1214 if (frameNdx >= maxQueuedFrames) in basicRenderTest()
1228 … << tcu::TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << tcu::TestLog::… in basicRenderTest()
1236 …const vk::VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%render… in basicRenderTest()
1237 const vk::VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.hpp151 deUint32 frameNdx) const;
158 deUint32 frameNdx) const;
DvkWsiUtil.cpp869 deUint32 frameNdx) const in recordFrame()
899 …dBuffer, *m_pipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint32)sizeof(deUint32), &frameNdx); in recordFrame()
921 deUint32 frameNdx) const in recordDeviceGroupFrame()
998 …dBuffer, *m_pipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint32)sizeof(deUint32), &frameNdx); in recordDeviceGroupFrame()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp5646 const int frameNdx = m_frameNdx++; in iterate() local
5653 if (frameNdx != m_samples[currentSampleNdx].numFrames) in iterate()
5659 if (frameNdx == 0) in iterate()
5665 …if (frameNdx == m_samples[currentSampleNdx].numFrames) // \note: not else if, m_samples[currentSam… in iterate()
5674 else if (frameNdx == m_samples[currentSampleNdx].numFrames + betweenIterationDummyFrameCount) in iterate()