Home
last modified time | relevance | path

Searched refs:frameNdx (Results 1 – 11 of 11) 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);
470 vector<int> getFramesOnBuffer (const vector<int>& bufferAges, int frameNdx) in getFramesOnBuffer() argument
472 DE_ASSERT(frameNdx < (int)bufferAges.size()); in getFramesOnBuffer()
474 int age = bufferAges[frameNdx]; in getFramesOnBuffer()
477 frameNdx = frameNdx - age; in getFramesOnBuffer()
478 DE_ASSERT(frameNdx >= 0); in getFramesOnBuffer()
479 frameOnBuffer.push_back(frameNdx); in getFramesOnBuffer()
480 age = bufferAges[frameNdx]; in getFramesOnBuffer()
507 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);
454 vector<int> getFramesOnBuffer (const vector<int>& bufferAges, int frameNdx) in getFramesOnBuffer() argument
456 DE_ASSERT(frameNdx < (int)bufferAges.size()); in getFramesOnBuffer()
458 int age = bufferAges[frameNdx]; in getFramesOnBuffer()
461 frameNdx = frameNdx - age; in getFramesOnBuffer()
462 DE_ASSERT(frameNdx >= 0); in getFramesOnBuffer()
463 frameOnBuffer.push_back(frameNdx); in getFramesOnBuffer()
464 age = bufferAges[frameNdx]; in getFramesOnBuffer()
505 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/wsi/
DvktWsiSwapchainTests.cpp797 deUint32 frameNdx) const;
1092 deUint32 frameNdx) const in recordFrame()
1107 …dBuffer, *m_pipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint32)sizeof(deUint32), &frameNdx); in recordFrame()
1226 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in basicRenderTest() local
1228 const VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in basicRenderTest()
1229 …const VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.size(… in basicRenderTest()
1232 if (frameNdx >= maxQueuedFrames) in basicRenderTest()
1246 …Log() << TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << TestLog::EndMe… in basicRenderTest()
1254 …const VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%renderingC… in basicRenderTest()
1255 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
[all …]
DvktWsiIncrementalPresentTests.cpp269 vk::VkRect2D getRenderFrameRect (size_t frameNdx, in getRenderFrameRect() argument
273 const deUint32 x = frameNdx == 0 in getRenderFrameRect()
275 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u); in getRenderFrameRect()
276 const deUint32 y = frameNdx == 0 in getRenderFrameRect()
278 : de::min(((deUint32)frameNdx) % imageHeight, imageHeight - 1u); in getRenderFrameRect()
279 const deUint32 width = frameNdx == 0 in getRenderFrameRect()
281 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x); in getRenderFrameRect()
282 const deUint32 height = frameNdx == 0 in getRenderFrameRect()
284 … : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageHeight / 3), imageHeight - y); in getRenderFrameRect()
304 for (size_t frameNdx = firstFrameNdx; frameNdx <= lastFrameNdx; frameNdx++) in getUpdatedRects() local
[all …]
DvktWsiColorSpaceTests.cpp410 deUint32 frameNdx) const;
705 deUint32 frameNdx) const in recordFrame()
720 …dBuffer, *m_pipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint32)sizeof(deUint32), &frameNdx); in recordFrame()
877 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in surfaceFormatRenderTest() local
879 const VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in surfaceFormatRenderTest()
880 …const VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.size(… in surfaceFormatRenderTest()
883 if (frameNdx >= maxQueuedFrames) in surfaceFormatRenderTest()
897 …Log() << TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << TestLog::EndMe… in surfaceFormatRenderTest()
905 …const VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%renderingC… in surfaceFormatRenderTest()
906 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in surfaceFormatRenderTest()
[all …]
DvktWsiSharedPresentableImageTests.cpp284 size_t frameNdx, in cmdRenderFrame() argument
287 const deUint32 frameNdxValue = (deUint32)frameNdx; in cmdRenderFrame()
301 size_t frameNdx, in createCommandBuffer() argument
321 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, quadCount); in createCommandBuffer()
DvktWsiDisplayTimingTests.cpp271 size_t frameNdx, in cmdRenderFrame() argument
274 const deUint32 frameNdxValue = (deUint32)frameNdx; in cmdRenderFrame()
288 size_t frameNdx, in createCommandBuffer() argument
308 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, quadCount); in createCommandBuffer()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp809 deUint32 frameNdx) const;
1016 deUint32 frameNdx) const in recordFrame()
1030 …fer, *m_pipelineLayout, vk::VK_SHADER_STAGE_VERTEX_BIT, 0u, (deUint32)sizeof(deUint32), &frameNdx); in recordFrame()
1186 for (deUint32 frameNdx = 0; frameNdx < numFramesToRender; ++frameNdx) in basicRenderTest() local
1188 const vk::VkFence imageReadyFence = **imageReadyFences[frameNdx%imageReadyFences.size()]; in basicRenderTest()
1189 …const vk::VkSemaphore imageReadySemaphore = **imageReadySemaphores[frameNdx%imageReadySemaphores.s… in basicRenderTest()
1192 if (frameNdx >= maxQueuedFrames) in basicRenderTest()
1206 … << tcu::TestLog::Message << "Got " << acquireResult << " at frame " << frameNdx << tcu::TestLog::… in basicRenderTest()
1214 …const vk::VkSemaphore renderingCompleteSemaphore = **renderingCompleteSemaphores[frameNdx%render… in basicRenderTest()
1215 const vk::VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
[all …]
/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()