Fix race-condition when window is resized or rotated. 72/281872/4
authorWonsik Jung <sidein@samsung.com>
Thu, 22 Sep 2022 21:49:52 +0000 (06:49 +0900)
committerWonsik Jung <sidein@samsung.com>
Thu, 20 Oct 2022 06:27:15 +0000 (15:27 +0900)
Internal dali window module has some variables and flags.
They are set by both main thread and render thread.
It has the effect of race condition when window is resized or rotated serval times.
This patch is to fix them.

Change-Id: Iba405199015dc00fec4d7d6f6ff2ecf6f997abcb

automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-scene-holder-impl.h

index 8075dbe..628330d 100644 (file)
@@ -71,7 +71,9 @@ public:
 
   Integration::StencilBufferAvailable GetStencilBufferRequired() override { return Integration::StencilBufferAvailable::FALSE; };
 
-  int GetOrientation() const override {return 0;};
+  int GetSurfaceOrientation() const override {return 0;};
+
+  int GetScreenOrientation() const override {return 0;};
 
   void SetBackgroundColor( Vector4 color ) {};