Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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
/third_party/vk-gl-cts/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.cpp485 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in fullScreenExclusiveTest() local
487 const VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in fullScreenExclusiveTest()
488 …const VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.size(… in fullScreenExclusiveTest()
508 …LUSIVE_MODE_LOST_EXT at vkAcquireFullScreenExclusiveModeEXT. Frame " << frameNdx << tcu::TestLog::… in fullScreenExclusiveTest()
519 if (frameNdx >= maxQueuedFrames) in fullScreenExclusiveTest()
546 …const VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%renderingC… in fullScreenExclusiveTest()
547 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in fullScreenExclusiveTest()
573 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in fullScreenExclusiveTest()
DvktWsiSwapchainTests.cpp1337 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in basicRenderTest() local
1339 const VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in basicRenderTest()
1340 …const VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.size(… in basicRenderTest()
1350 …Log() << TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << TestLog::EndMe… in basicRenderTest()
1358 …const VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%renderingC… in basicRenderTest()
1359 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
1385 renderer.recordFrame(commandBuffer, imageNdx, frameNdx); in basicRenderTest()
1568 for (size_t frameNdx = 0; frameNdx < kNumFramesToRender; ++frameNdx) in multiSwapchainRenderTest() local
1570 size_t swapchainIndex = frameNdx % params.swapchainCount; in multiSwapchainRenderTest()
1581 …Log() << TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << TestLog::EndMe… in multiSwapchainRenderTest()
[all …]
DvktWsiColorSpaceTests.cpp673 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in surfaceFormatRenderTest() local
675 const VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in surfaceFormatRenderTest()
676 …const VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.size(… in surfaceFormatRenderTest()
679 if (frameNdx >= maxQueuedFrames) in surfaceFormatRenderTest()
693 …Log() << TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << TestLog::EndMe… in surfaceFormatRenderTest()
701 …const VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%renderingC… in surfaceFormatRenderTest()
702 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in surfaceFormatRenderTest()
747 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()
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultipleInterpolationTests.cpp440 for (deUint32 frameNdx = 0; frameNdx < colorTargetViews.size(); frameNdx++) in render() local
442 attachments.push_back(**colorTargetViews[frameNdx]); in render()
445 attachments.push_back(**multisampleViews[frameNdx]); in render()
/third_party/vk-gl-cts/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()