From 5b529792416782d92b8e579a6369c5769e59f738 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Mon, 19 Sep 2022 15:27:56 +0900 Subject: [PATCH] Move a final flush to Shutdown It makes the finalization is called from the update thread. Change-Id: Iae1f3c26594f0ef7d38e1eaeffaf1eac753f54e4 --- dali/internal/graphics/gles-impl/egl-graphics-controller.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dali/internal/graphics/gles-impl/egl-graphics-controller.h b/dali/internal/graphics/gles-impl/egl-graphics-controller.h index fd944d3..8999a06 100644 --- a/dali/internal/graphics/gles-impl/egl-graphics-controller.h +++ b/dali/internal/graphics/gles-impl/egl-graphics-controller.h @@ -126,13 +126,7 @@ public: void Shutdown() override { mIsShuttingDown = true; - } - /** - * @copydoc Dali::Graphics::Destroy() - */ - void Destroy() override - { // Final flush Flush(); @@ -151,6 +145,13 @@ public: } /** + * @copydoc Dali::Graphics::Destroy() + */ + void Destroy() override + { + } + + /** * @copydoc Dali::Graphics::UpdateTextures() */ void UpdateTextures(const std::vector& updateInfoList, -- 2.7.4