Do not reset mPostRendering in ResizeSurface 64/293964/3
authorHeeyong Song <heeyong.song@samsung.com>
Fri, 9 Jun 2023 07:03:35 +0000 (16:03 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 12 Jun 2023 09:03:07 +0000 (09:03 +0000)
We should wait for PostRenderComplete in this case

Change-Id: Ib83d7586fe8edb0903dfd4b1dc1c3397317009f8

dali/internal/adaptor/common/combined-update-render-controller.cpp

index c80ac40..db68e43 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -366,7 +366,6 @@ void CombinedUpdateRenderController::ResizeSurface()
 
   {
     ConditionalWait::ScopedLock lock(mUpdateRenderThreadWaitCondition);
-    mPostRendering = FALSE; // Clear the post-rendering flag as Update/Render thread will resize the surface now
     // Surface is resized and the surface resized count is increased.
     mSurfaceResized++;
     mUpdateRenderThreadWaitCondition.Notify(lock);