Revert "[Tizen] Submit a empty command buffer when rendering is skipped to flush"
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 4 Oct 2022 09:15:58 +0000 (18:15 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 4 Oct 2022 09:15:58 +0000 (18:15 +0900)
This reverts commit 5b9a31e2d4c86b3d5da69cd23814ee5c36dae8ae.

dali/internal/render/common/render-manager.cpp

index 6f28e02..75a80a2 100644 (file)
@@ -970,12 +970,9 @@ void RenderManager::PostRender()
 {
   if(!mImpl->commandBufferSubmitted)
   {
-    // Rendering is skipped but there may be pending tasks. Flush them.
-    Graphics::SubmitInfo submitInfo;
-    submitInfo.cmdBuffer.clear(); // Only flush
-    submitInfo.flags = 0 | Graphics::SubmitFlagBits::FLUSH;
-    mImpl->graphicsController.SubmitCommandBuffers(submitInfo);
-
+    // Rendering is skipped but there may be pending commands
+    // Submit command buffers
+    mImpl->renderAlgorithms.SubmitCommandBuffer();
     mImpl->commandBufferSubmitted = true;
   }