From e75a053b34c82e7358074934d1319d6ddd094041 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Tue, 4 Oct 2022 18:15:58 +0900 Subject: [PATCH] Revert "[Tizen] Submit a empty command buffer when rendering is skipped to flush" This reverts commit 5b9a31e2d4c86b3d5da69cd23814ee5c36dae8ae. --- dali/internal/render/common/render-manager.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/dali/internal/render/common/render-manager.cpp b/dali/internal/render/common/render-manager.cpp index 6f28e02..75a80a2 100644 --- a/dali/internal/render/common/render-manager.cpp +++ b/dali/internal/render/common/render-manager.cpp @@ -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; } -- 2.7.4