platform/core/uifw/dali-core.git
17 months ago[Tizen] Fix error when RenderTask is not matched with consumed layer 55/293255/1 accepted/tizen/7.0/unified/20230526.164247
Eunki, Hong [Fri, 19 May 2023 06:35:09 +0000 (15:35 +0900)]
[Tizen] Fix error when RenderTask is not matched with consumed layer

Change-Id: I6f3dfefdbf04025c1dfd87f5a9945ba392663fe7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months ago[Tizen] Fix a clipping mode bug 85/293185/2
Heeyong Song [Fri, 19 May 2023 10:02:59 +0000 (19:02 +0900)]
[Tizen] Fix a clipping mode bug

Clipping had a bug when it is used with the DrawMode::OVERLAY_2D.
The node should be added to the overlayRenderables.

Change-Id: I2464ec54551927249cdf8d23ed4e6ebf2a79615f

17 months ago[Tizen] Remove forceProcess and forceUpdate flag 62/293162/1
Heeyong Song [Thu, 18 May 2023 08:30:03 +0000 (17:30 +0900)]
[Tizen] Remove forceProcess and forceUpdate flag

We don't need them now because we change to process events regardless of state

Change-Id: I0416a79c4fdbb8aa12b2be5cabeb3da525216a6c

18 months ago[Tizen] bug fixed mMinimumTouchEventsAfterStart to mMinimumTouchEvents 02/293002/1
joogab.yun [Thu, 18 May 2023 02:23:04 +0000 (11:23 +0900)]
[Tizen] bug fixed mMinimumTouchEventsAfterStart to mMinimumTouchEvents

Change-Id: I62e4d181e8bf847e57b84757f2ec3083c4c4061d

18 months ago[Tizen] Fix invalidated PipelineCacheL2 pointer problem 31/292731/3 accepted/tizen/7.0/unified/20230515.132831 accepted/tizen/7.0/unified/20230515.152734
Eunki, Hong [Fri, 12 May 2023 04:15:13 +0000 (13:15 +0900)]
[Tizen] Fix invalidated PipelineCacheL2 pointer problem

Let we keep std::list<PipelineCacheL2>::iterator instead of PipelineCacheL2*.

So, the pointer of pipeline what render-renderer has should be valid even
if cache container size changed.

And also, for safe issue, let we keep the pipeline container as std::list.

Change-Id: I5a0572f040ff3304876bdb2483af85ff26fbccbb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Fix culling issue with scale 64/292664/3
seungho baek [Thu, 11 May 2023 04:58:42 +0000 (13:58 +0900)]
[Tizen] Fix culling issue with scale

Change-Id: I46418d927ee21bc72b94aeae7e8ae4068b46d6be
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] Remove old pipeline caches 67/292667/2
Heeyong Song [Mon, 8 May 2023 05:59:15 +0000 (14:59 +0900)]
[Tizen] Remove old pipeline caches

Change-Id: I17290e72f05cecedfce82dc665217c38a99a8470

18 months ago[Tizen] Fix to unused Z component to zero to get scale. 54/292654/1
seungho baek [Thu, 11 May 2023 01:07:41 +0000 (10:07 +0900)]
[Tizen] Fix to unused Z component to zero to get scale.

Change-Id: Ibd07450e6fdd39d15cd5e90b8c8c0994cde3d589
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] Reduce Bezier Curve AlphaFunction's tolerance 45/292545/1
Eunki, Hong [Wed, 10 May 2023 00:07:31 +0000 (09:07 +0900)]
[Tizen] Reduce Bezier Curve AlphaFunction's tolerance

Previously, we use the tolerance of T value as 0.001f.
That mean, In 4K system, the error range of result can be ~2 pixels.

Let we squeeze the tolerance so reduce the numeric error.

Change-Id: I7d08de0bce8f2bac3441cb8a0bd4e5b55a31b989
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Add Touch source type for gesture 28/292528/1
joogab.yun [Tue, 9 May 2023 06:37:02 +0000 (15:37 +0900)]
[Tizen] Add Touch source type for gesture

Change-Id: Ib3782eb3e7125e045b469b314641de4cec7901c6

18 months ago[Tizen] Support Animation Blend for AnimateBetween 50/292450/2
seungho baek [Wed, 26 Apr 2023 13:01:15 +0000 (22:01 +0900)]
[Tizen] Support Animation Blend for AnimateBetween

Change-Id: Ifa53a54742239d8c2913499de2e29757bf8e9f72
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
18 months ago[Tizen] Sort Animator only if required. 49/292449/2
Eunki, Hong [Mon, 27 Feb 2023 13:09:34 +0000 (22:09 +0900)]
[Tizen] Sort Animator only if required.

Previously, we sort mConnectorTargetValues every Play() API.
Even if we don't need to sort it.

Now, make we sort that container only if last inserted value is bigger than
latest thing, and reset the flag if we sort.

Change-Id: Ia2ba07df3db5a2a0d6d89b0ef2854c5fc655fb2a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Set KeyFrame's frame value 65/292265/1
Eunki, Hong [Thu, 27 Apr 2023 02:37:18 +0000 (11:37 +0900)]
[Tizen] Set KeyFrame's frame value

Let we make the API to change the value of specific KeyFrame data

Change-Id: Iecd9cb3b9118083dfa6d4ab812bf31dac4e1d38a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
18 months ago[Tizen] Add SetTapRecognizerTime 19/291919/1 accepted/tizen/7.0/unified/20230428.015840 accepted/tizen/7.0/unified/20230428.170427
joogab.yun [Mon, 24 Apr 2023 09:13:38 +0000 (18:13 +0900)]
[Tizen] Add SetTapRecognizerTime

This is the time from touch down to touch up to recognize a tap gesture.

If set to 300ms, a touch up after a touch down must occur within 300ms to be recognized as a tap gesture.

Change-Id: I1b7be723938a32f4009232553671bda17503c782

19 months ago[Tizen] Allow to load uint32_t indices for geometry 85/291685/1 accepted/tizen/7.0/unified/20230424.020508
Eunki Hong [Sat, 18 Feb 2023 11:06:24 +0000 (20:06 +0900)]
[Tizen] Allow to load uint32_t indices for geometry

Dali's default indices use uint16_t. But if heavy 3D model who need more than
65536 indexes loaded, It will break index.

This patch make Scene3D can allow to use uint32_t type indeces load
and generete Geometry by it.

Change-Id: I020b27642760e6262fb5137a74e59b8da803e859
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months ago[Tizen] Backport some MatrixUtils Operation 63/291663/2
Eunki Hong [Sat, 4 Feb 2023 04:08:53 +0000 (13:08 +0900)]
[Tizen] Backport some MatrixUtils Operation

This is a combination of 3 commits.

Optimize some matrix multiply for projection matrix + Orthographic reflection

Let we use MatrixUtils::MultiplyProjectionMatrix for some internal API.

And also, make Orthographic camera can use reflection plane.

TODO : We should make MultiplyProjectionMatrix funtion as NEON.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Fix matrix multiply with quaternion bug in ARM

There was some bug when we try to use MatrixUtils::Multiply at
ARM devices. We fix it.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Multiply only for Transform Matrix + NEON comment clean up

If 4x4 matrix form as Transform, we can optimize matrix multiply function.
It will be reduce the time of Transform Update time.

Below are some test result.
1. VLD1.F32 each time is more faster than VLDM.
2. Transpose lhs -> multply -> transpose tmp is slower than current logic
3. "+r"(temp) at Output Operand is slower than "r"(temp) Intput Oprerand with "%r0"(why?)
 --> But when we make current Multiply with Output Operand as Input Operand, it makes slow down. (why?)

Change-Id: I3eb7f4b2e0b4ce7ae595e3e006d86ed63eee4529
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months ago[Tizen] (DR) Fix texture binding 48/291648/1
Heeyong Song [Fri, 29 Jul 2022 02:35:32 +0000 (11:35 +0900)]
[Tizen] (DR) Fix texture binding

Backporting of GLView Direct rendering feature

Change-Id: I5eda9a16c769354485934c54136561d731e12ebe

19 months ago[Tizen] Add Post Constraint that works after transform 05/291605/1
seungho baek [Tue, 18 Apr 2023 11:05:14 +0000 (20:05 +0900)]
[Tizen] Add Post Constraint that works after transform

Change-Id: I90a7b2d731623691915ed5c01500ac6928d25112
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
19 months ago[Tizen] Add some performace trace logs 26/291226/1 accepted/tizen/7.0/unified/20230418.141935
Heeyong Song [Wed, 12 Apr 2023 05:18:50 +0000 (14:18 +0900)]
[Tizen] Add some performace trace logs

Change-Id: Ib99c88e4420d0c6bc200de4c65f75e2294f30a36

19 months ago[Tizen] Add trace log for touch, wheel and gesture 20/290920/2 accepted/tizen/7.0/unified/20230407.155830
joogab.yun [Wed, 5 Apr 2023 02:20:53 +0000 (11:20 +0900)]
[Tizen] Add trace log for touch, wheel and gesture

Change-Id: Iaf3a78103d123d4c81a9668497663cc14947ed44

19 months ago[Tizen] The hover event now starts in the STARTED state when a new actor is encountered. 20/290720/1 accepted/tizen/7.0/unified/20230403.235554 accepted/tizen/7.0/unified/20230404.033728
joogab.yun [Mon, 27 Mar 2023 09:56:08 +0000 (18:56 +0900)]
[Tizen] The hover event now starts in the STARTED state when a new actor is encountered.

When hover event is registered, only motion comes. You can't know that the hover has started on that actor.
So, when the hover starts on the new actor, set it to STARTED state.

Change-Id: If25595536bce2279529847056ed962c515632165

20 months ago[Tizen] Fix surface deletion order issue 88/289888/1 accepted/tizen/7.0/unified/20230330.014302
Heeyong Song [Wed, 22 Feb 2023 08:37:31 +0000 (17:37 +0900)]
[Tizen] Fix surface deletion order issue

Change-Id: I1fb3a2934ed6a36553421f002d6cc7821abc45dc

20 months ago[Tizen] Make mTargetSizeDirtyFlag true when Animation changes Actor's Size 23/289023/2 accepted/tizen/7.0/unified/20230302.015540 accepted/tizen/7.0/unified/20230327.042624
seungho baek [Mon, 27 Feb 2023 09:25:14 +0000 (18:25 +0900)]
[Tizen] Make mTargetSizeDirtyFlag true when Animation changes Actor's Size

Change-Id: Ied85413cd3bf8f8fc7d19c831e35f700e225c9f4
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
20 months ago[Tizen] Disable property notification when the object is deleted 06/288606/1 accepted/tizen/7.0/unified/20230223.015613
Heeyong Song [Mon, 20 Feb 2023 08:10:26 +0000 (17:10 +0900)]
[Tizen] Disable property notification when the object is deleted

Change-Id: Ief68d6cb246e75f9f9870f5285dc827b53ad2916

20 months ago[Tizen] Make new CameraActor creation API for 3D apps 41/288541/1
Eunki, Hong [Fri, 17 Feb 2023 06:38:05 +0000 (15:38 +0900)]
[Tizen] Make new CameraActor creation API for 3D apps

Default CameraActor's behavior is not helpful for formal 3D app side.
For example, 3D app don't care about "scene", but CameraActor::New()
change some properties by engine side automaticaly.

To make 3D app developer use CameraActor easly, make new API that fit
good to 3D cases.

Change-Id: Iaf2a792b0fd98cd31d2c655da61918133e211ff0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months ago[Tizen] Backport tizen_7.5 for Scene3D 78/287878/1
Eunki, Hong [Mon, 24 Oct 2022 06:04:28 +0000 (15:04 +0900)]
[Tizen] Backport tizen_7.5 for Scene3D

This is a combination of 3 commits.

Deprecate Plane Distance setter + Implement OrthographicSize + Animatable AspectRatio

Deprecate API s.t Left/Right/Top/Bottom value setter directly.
Instead of these things, let we use OrthographicSize.
It will make that each plane distnaces symmetric so that center of camera.

Due to we can disconnect dependency of plane distance parameters,
now we can make AspectRatio animatable.

Revert "[Tizen] Fix opacity animation issue in 3D"

Add Renderer::BlendMode::USE_ACTOR_OPACITY

 - This option make the renderer opaque only when its Actor::Color is opaque.

Change-Id: I7a9a90205bf76fc5e1ff8f0e90171211d27cc1cf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months ago[Tizen] Fix to do not use GetCurrentSize in actor-sizer 49/287649/1 accepted/tizen/7.0/unified/20230203.164137 accepted/tizen/7.0/unified/20230213.171726
seungho baek [Fri, 23 Dec 2022 07:40:31 +0000 (16:40 +0900)]
[Tizen] Fix to do not use GetCurrentSize in actor-sizer

Change-Id: I75c0502a33dcb67e90092b1a8a92e9cf9f6bbe37
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
21 months ago[Tizen] Do not register processor when registering singleton 15/287615/1
Heeyong Song [Wed, 1 Feb 2023 06:54:08 +0000 (15:54 +0900)]
[Tizen] Do not register processor when registering singleton

Change-Id: I31353cf1d513a40f82def9a5f0de3540b88c34dc

21 months ago[Tizen] Add Overlay Layer in scene 08/286908/3
seungho baek [Mon, 9 Jan 2023 01:23:21 +0000 (10:23 +0900)]
[Tizen] Add Overlay Layer in scene

Change-Id: I65447d7ace9e13f528f244234e139e3e9682291b
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
22 months ago[Tizen] Assert when proprety notification is used in a thread other than the main... 13/287013/1
Heeyong Song [Wed, 18 Jan 2023 06:46:16 +0000 (15:46 +0900)]
[Tizen] Assert when proprety notification is used in a thread other than the main thread

Change-Id: I9b2f6c1f70327c5289f1e9476d48876d5ecd762b

22 months ago[Tizen] Fix the screen rotation issue 87/286387/2 accepted/tizen/7.0/unified/20230106.165622 accepted/tizen/7.0/unified/20230118.093753
Wonsik Jung [Tue, 3 Jan 2023 03:09:13 +0000 (12:09 +0900)]
[Tizen] Fix the screen rotation issue

Fix the screen rotation issue in FHub Device.
When glViewport/glScissor is set, the screen rotation should be considered.

Change-Id: I660545a3b3b0fa8e5464dfb613a3d983be2e04b7

22 months ago[Tizen] Make assertion when SetParent is not called on the main thread 76/286076/1 accepted/tizen/7.0/unified/20221228.170438
Heeyong Song [Tue, 27 Dec 2022 07:06:52 +0000 (16:06 +0900)]
[Tizen] Make assertion when SetParent is not called on the main thread

Change-Id: I31735e43f33995b0d3e39fb489a5f4e77abf0899

22 months ago[Tizen] Add trace log to NotificationManager::ProcessMessages 57/285857/1
Heeyong Song [Wed, 21 Dec 2022 09:13:50 +0000 (18:13 +0900)]
[Tizen] Add trace log to NotificationManager::ProcessMessages

Change-Id: I8a7d3080087ef29448e3ac4b9ce333ce93e08e99

23 months agoMerge "[Tizen] Add trace log to FrameCallbackProcessor::Update" into tizen_7.0
Heeyong Song [Mon, 19 Dec 2022 07:51:22 +0000 (07:51 +0000)]
Merge "[Tizen] Add trace log to FrameCallbackProcessor::Update" into tizen_7.0

23 months ago[Tizen] Reduce GetCurrentSize call time 37/285737/1
Eunki, Hong [Mon, 19 Dec 2022 06:59:13 +0000 (15:59 +0900)]
[Tizen] Reduce GetCurrentSize call time

Change-Id: I1a22b4d86ad97856a14aa367f1b3d4b62b7e31bf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months ago[Tizen] Add trace log to FrameCallbackProcessor::Update 17/285717/1
Heeyong Song [Mon, 19 Dec 2022 01:59:45 +0000 (10:59 +0900)]
[Tizen] Add trace log to FrameCallbackProcessor::Update

Change-Id: I68f66b12400082d477518d6376c37ed53f144b4a

23 months ago[Tizen] Change DebugPriority name and Debug priority 09/285709/1
Heeyong Song [Thu, 15 Dec 2022 09:09:41 +0000 (18:09 +0900)]
[Tizen] Change DebugPriority name and Debug priority

Change-Id: I01dc0b22802a66b51d4ad3fb338b270c7d810142

23 months ago[Tizen] Fix opacity animation issue in 3D 06/285406/3
seungho baek [Mon, 12 Dec 2022 08:26:26 +0000 (17:26 +0900)]
[Tizen] Fix opacity animation issue in 3D

Change-Id: Id663f1254511bcb21df8d86b655f60bde969021f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
23 months ago[Tizen] Fix partial update issue 53/285453/1
Heeyong Song [Tue, 13 Dec 2022 06:00:32 +0000 (15:00 +0900)]
[Tizen] Fix partial update issue

Fixed the case there are 3D and 2D layers

Change-Id: Ie36922355bf979c5961bb9e7c12cde44a5644116

23 months ago[Tizen] Remove keylogging for security 79/285379/1
Eunki Hong [Sat, 10 Dec 2022 11:29:56 +0000 (20:29 +0900)]
[Tizen] Remove keylogging for security

Remove keylogging action in tizen.

Change-Id: I91e2df30c95d4e7ca0e4d6d68acf2b40700edf48
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
23 months ago[Tizen] Add MultiSampling FrameBuffer implement. 68/284568/1 accepted/tizen/7.0/unified/20221128.015437
Eunki, Hong [Fri, 11 Nov 2022 13:39:21 +0000 (22:39 +0900)]
[Tizen] Add MultiSampling FrameBuffer implement.

Let we allow to call FramebufferTexture2DMultisample if possible.

Change-Id: I4874ad78dfe1e468b5571ba4bc0112e7f710f492
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Enable Trace Filter with 0/1 54/284254/1 accepted/tizen/7.0/unified/20221117.014400
Heeyong Song [Mon, 14 Nov 2022 06:14:29 +0000 (15:14 +0900)]
[Tizen] Enable Trace Filter with 0/1

Change-Id: Ibe5ac416fff314fbb4a54b648df60763e5233533

2 years ago[Tizen] Fix Rendering order issue when 3D layer render translucent 25/284125/2
Eunki, Hong [Wed, 9 Nov 2022 08:35:15 +0000 (17:35 +0900)]
[Tizen] Fix Rendering order issue when 3D layer render translucent

Sort rendering-order by Euclidean distance for special case.

Previously, we only check ModelView's translation z-value.
But if we use perspective projectoin camera, the distance might not
be fit as human sense.

Now, when layer is 3D and camera is perspective projection mode,
let we use zValue as Euclidean distance.

It cannot resolve translucent object's rendering order issue
perfectly. But can resolve some case.

Change-Id: Ie33cc5cfd338ff001b18885026a4daf779227b0e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Fix Svace issue for 64bit 11/283911/1
Eunki, Hong [Fri, 4 Nov 2022 14:43:25 +0000 (23:43 +0900)]
[Tizen] Fix Svace issue for 64bit

Solve some convert from size_t to uint32_t case.

Change-Id: I486feb48eab38201aaae3bf9f2aadc0414789a5d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Not execute the remove callback accepted/tizen/7.0/unified/20221103.165443 accepted/tizen/7.0/unified/20221110.061315
tscholb [Wed, 2 Nov 2022 07:39:51 +0000 (16:39 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 9cc8a09ae13612360ee6546f5c21792b4a674324.

2 years agoMerge branch 'devel/master' into tizen
tscholb [Wed, 2 Nov 2022 07:39:19 +0000 (16:39 +0900)]
Merge branch 'devel/master' into tizen

2 years agoRevert "[Tizen] Not execute the remove callback"
tscholb [Wed, 2 Nov 2022 07:39:02 +0000 (16:39 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit a39edce44df267275a0edb060fe2a2c3790734e6.

2 years agoRevert "[Tizen] Fix Window Rotation issue"
tscholb [Wed, 2 Nov 2022 07:38:54 +0000 (16:38 +0900)]
Revert "[Tizen] Fix Window Rotation issue"

This reverts commit 9643232d147ac0dbca37d9649c498defab6a9dab.

2 years agoRevert "[Tizen] Create ProjectionDirection property at CameraActor"
tscholb [Wed, 2 Nov 2022 07:38:47 +0000 (16:38 +0900)]
Revert "[Tizen] Create ProjectionDirection property at CameraActor"

This reverts commit 6e1aebb198e5075227e4656ed5a5cef02c99139a.

2 years agoRevert "[Tizen](Partial Update) Continue to calculate damaged rects even though there...
tscholb [Wed, 2 Nov 2022 07:38:37 +0000 (16:38 +0900)]
Revert "[Tizen](Partial Update) Continue to calculate damaged rects even though there is a 3D transformed item"

This reverts commit c96b5bf70c4a411d3916be6cab7a761f8bf91811.

2 years agoRevert "[Tizen] Add some logs to check performance"
tscholb [Wed, 2 Nov 2022 07:38:20 +0000 (16:38 +0900)]
Revert "[Tizen] Add some logs to check performance"

This reverts commit 84d96e087438998f24e16ffd69b24183e629298f.

2 years agoMerge "Add input source type and source data about Gesture. This is similar to MouseB...
joogab yun [Tue, 1 Nov 2022 00:36:42 +0000 (00:36 +0000)]
Merge "Add input source type and source data about Gesture. This is similar to MouseButton in TouchEvent." into devel/master

2 years agoAdd input source type and source data about Gesture. 68/283368/19
joogab.yun [Tue, 25 Oct 2022 08:21:50 +0000 (17:21 +0900)]
Add input source type and source data about Gesture.
This is similar to MouseButton in TouchEvent.

Now, you can see from which input the gesture was made.

Change-Id: Id1289e1482b21e756ebd5a549b7d8e9d1b1e19b7

2 years agoMerge "DALi Version 2.1.46" into devel/master
David Steele [Fri, 28 Oct 2022 10:27:24 +0000 (10:27 +0000)]
Merge "DALi Version 2.1.46" into devel/master

2 years agoDALi Version 2.1.46 47/283547/1 dali_2.1.46
Richard Huang [Fri, 28 Oct 2022 10:25:08 +0000 (11:25 +0100)]
DALi Version 2.1.46

Change-Id: Iea538285d3d930a4c440db70b8b02b94e5c6558e

2 years agoMerge "Fix race-condition when window is resized or rotated." into devel/master
Wonsik Jung [Fri, 28 Oct 2022 01:00:04 +0000 (01:00 +0000)]
Merge "Fix race-condition when window is resized or rotated." into devel/master

2 years agoMerge "Seperate some matrix operations to MatrixUtils" into devel/master
David Steele [Thu, 27 Oct 2022 13:28:59 +0000 (13:28 +0000)]
Merge "Seperate some matrix operations to MatrixUtils" into devel/master

2 years agoEnsure GlAbstraction is not copyable 86/283386/1
Adeel Kazmi [Tue, 25 Oct 2022 14:07:14 +0000 (15:07 +0100)]
Ensure GlAbstraction is not copyable

Change-Id: I95f40a776255ebfbba57d9761b3660dd3984b918

2 years agoFix race-condition when window is resized or rotated. 70/281870/9
Wonsik Jung [Thu, 22 Sep 2022 21:45:00 +0000 (06:45 +0900)]
Fix race-condition when window is resized or rotated.

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: I63ecc4a5d711569323a8f055e3b46ae878126235

2 years agoSeperate some matrix operations to MatrixUtils 51/283151/18
Eunki, Hong [Wed, 19 Oct 2022 05:33:36 +0000 (14:33 +0900)]
Seperate some matrix operations to MatrixUtils

Move some static Matrix / Matrix3 operations into specific file.
Previous logic doesn't support multiply-asign operations.

 A = A * B; (valid. Because A operator=({result-of-(A*B)}))
 A *= B; (invalid)

To resolve this issue, we plan to implement another operator *= for Matrix.

To seperate codes more clean + If we plan to make some util API about Matrix
(something like Internal::MatrixUtils::MultiplyProjectionMatrix)
Make another file for matrix utils internal.

TODO : Internal::MatrixUtils::MultiplyProjectionMatrix use NEON.
TODO : Make projection matrix use MatrixUtils after camera refator finished

Change-Id: I4333c52c93fb24f618ed509fe101a83e4a9f36c1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.45 82/283282/1 dali_2.1.45
David Steele [Fri, 21 Oct 2022 10:47:16 +0000 (11:47 +0100)]
DALi Version 2.1.45

Change-Id: If04c629888d288e6c513666d8623e75c99a785f2

2 years agoAdd trace logs to check performance 24/283124/2
Heeyong Song [Tue, 18 Oct 2022 09:43:48 +0000 (18:43 +0900)]
Add trace logs to check performance

Change-Id: I441a332afb89b8527c34eeadc1e3c7b332caa789

2 years agoMake SceneGraph::Camera as Node + FieldOfView animatable 59/282859/12
Eunki, Hong [Wed, 12 Oct 2022 10:53:39 +0000 (19:53 +0900)]
Make SceneGraph::Camera as Node + FieldOfView animatable

Previously, SceneGraph::Camera was not a SceneGraph::Node.
If we try to animate property of Camera, then
we use some PropertyBase s.t. PropertyOwner(==Node) doesn't owned.

To fix this logical unmatched issue, we make SceneGraph::Camera
as sub-class of SceneGraph::Node.

Moreover, We make Camera's FieldOfView Animatable.

After this patch merged, we try to refactor Camera's properties
and make them animatable.

Change-Id: I184f75b51a2152aea52879adc1e783cea7d190a0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago(Partial Update) Continue to calculate damaged rects even though there is a 3D transf... 45/283045/3
Heeyong Song [Fri, 14 Oct 2022 01:53:57 +0000 (10:53 +0900)]
(Partial Update) Continue to calculate damaged rects even though there is a 3D transformed item

Change-Id: I58136911893f488664ecff2f2ef616593efb8658

2 years agoMerge "DALi Version 2.1.44" into devel/master
David Steele [Fri, 14 Oct 2022 12:03:01 +0000 (12:03 +0000)]
Merge "DALi Version 2.1.44" into devel/master

2 years agoDALi Version 2.1.44 96/282996/1 dali_2.1.44
Adam Bialogonski [Fri, 14 Oct 2022 09:25:17 +0000 (10:25 +0100)]
DALi Version 2.1.44

Change-Id: I83a0c308589df00e76ecaf79420eaf18356168d5

2 years agoMake template class Dali::IntPair 75/282675/13
Eunki, Hong [Sat, 8 Oct 2022 07:32:02 +0000 (16:32 +0900)]
Make template class Dali::IntPair

Make integer pair case so we can use
integer based pair struct.

Dali::Uint16Pair already used for a long time.
But now, we need Dali::Int32Pair to use signed case.

uint-16-pair.h is used on third party app, we cannot
remove this file yet.
So, Let we define Uint16Pair in that class.

Change-Id: I24055b8f70c3948a51a0147786725f192ade8990
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Add some logs to check performance 71/282971/1
Heeyong Song [Fri, 14 Oct 2022 04:51:49 +0000 (13:51 +0900)]
[Tizen] Add some logs to check performance

Change-Id: Ie9205714816db6ea456fe8257ef441f4886c8b9a

2 years ago[Tizen](Partial Update) Continue to calculate damaged rects even though there is... 63/282963/1
Heeyong Song [Fri, 14 Oct 2022 01:53:57 +0000 (10:53 +0900)]
[Tizen](Partial Update) Continue to calculate damaged rects even though there is a 3D transformed item

Change-Id: I58136911893f488664ecff2f2ef616593efb8658

2 years agoMerge "Make Dali::Any move operator + Resolve memory leak." into devel/master
David Steele [Wed, 12 Oct 2022 15:17:41 +0000 (15:17 +0000)]
Merge "Make Dali::Any move operator + Resolve memory leak." into devel/master

2 years agoMerge "Matrix operator*" into devel/master
David Steele [Wed, 12 Oct 2022 14:56:30 +0000 (14:56 +0000)]
Merge "Matrix operator*" into devel/master

2 years agoMerge "Create ProjectionDirection property at CameraActor" into devel/master
David Steele [Wed, 12 Oct 2022 14:53:15 +0000 (14:53 +0000)]
Merge "Create ProjectionDirection property at CameraActor" into devel/master

2 years agoCreate ProjectionDirection property at CameraActor 70/282370/12
Eunki, Hong [Fri, 30 Sep 2022 07:19:58 +0000 (16:19 +0900)]
Create ProjectionDirection property at CameraActor

Add new property "ProjectionDirection" on CameraActor.
It determine whether current FieldOfView value base on
Vertical or Horizontal.
Default is Vertical.

Change-Id: I237f557af4bc03315ce5d6d6eeb25913e4fe7de4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMatrix operator* 43/282643/3
Eunki, Hong [Fri, 7 Oct 2022 07:31:09 +0000 (16:31 +0900)]
Matrix operator*

Matrix::Multiply(result, lhs, rhs) do as result = rhs * lhs;
It might makes some strange scense to future of Dali developer.

Let we make operator* so nobody feel confuse about the order of
multiply operation

Change-Id: I5adf0c8a8f29fa1c0774aa1e23ff0c3050e66af4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMake Dali::Any move operator + Resolve memory leak. 83/282583/5
Eunki, Hong [Thu, 6 Oct 2022 07:41:21 +0000 (16:41 +0900)]
Make Dali::Any move operator + Resolve memory leak.

Coverity minor issue fixed.
+
Resolve some memory leak.

Due to Dali::Any copy assign operator doesn't call
previous object's destructor, there can be memory leak.
(For example : Property::Map delete some values in destructor.)

Change-Id: Ifa29dd78b4f3689ed0ff00d9b8bcfe8ad9e167d6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agonoexcept move for BaseHandle/InstrusivePtr/Math 34/282634/4
Eunki, Hong [Fri, 7 Oct 2022 04:48:47 +0000 (13:48 +0900)]
noexcept move for BaseHandle/InstrusivePtr/Math

It can be optimize when we use std::vector<> or
std::is_nothrow_move_constructible<>::value is true or
std::is_nothrow_move_assignable<>::value is true.

Change-Id: I5a8866b928d40d7e26a68486c5aef764bc68a9af
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.43 55/282655/1 dali_2.1.43
Adeel Kazmi [Fri, 7 Oct 2022 11:23:05 +0000 (12:23 +0100)]
DALi Version 2.1.43

Change-Id: I22ae8cbcf6dac4108aae288986964370d1d3fed3

2 years agoUse map instead of hashmap in signal cache 64/282564/3
Eunki, Hong [Thu, 6 Oct 2022 04:15:06 +0000 (13:15 +0900)]
Use map instead of hashmap in signal cache

std::unordered_map is heavy than std::map for small case.
Let make the signal more lightweight.

Change-Id: I7868b44831fa095b8cdd0f963c6ac66ac741e6a7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix Window Rotation issue 90/282390/10
seungho [Fri, 30 Sep 2022 10:30:47 +0000 (19:30 +0900)]
Fix Window Rotation issue

 - Viewport was incorrectly computed when viewport is not fullscreen and window is rotated.
 - Scissor rect was incorrectly computed when viewport is not fullscreen and window is rotated.

Change-Id: I44c64a2216f6364d2d29e0bcdd38c5e0cbc7467c
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years ago[Tizen] Create ProjectionDirection property at CameraActor accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105933 accepted/tizen/unified/20221005.144442 tizen_7.0_m2_release
Eunki, Hong [Tue, 4 Oct 2022 09:17:53 +0000 (18:17 +0900)]
[Tizen] Create ProjectionDirection property at CameraActor

This reverts commit da848111d06ada79d78b1b26aaf49746e1e37ae6.

Change-Id: I30b4e5ad9a110347bacec5850d14a0bb122f96c6

2 years ago[Tizen] Fix Window Rotation issue
Eunki, Hong [Tue, 4 Oct 2022 09:17:38 +0000 (18:17 +0900)]
[Tizen] Fix Window Rotation issue

This reverts commit efd18fbaa27a191956b93d9e15eca9431311e2a8.

Change-Id: Ie32680063832052abfda0d85a93c094aa2ccd76e

2 years ago[Tizen] Not execute the remove callback
Eunki, Hong [Tue, 4 Oct 2022 09:16:33 +0000 (18:16 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 5377ff2daebaee16b16edebacff91ae95ff70276.

Change-Id: Iddf2e940692900587193da00016305f9811816fd

2 years agoMerge branch 'devel/master' into tizen
Eunki, Hong [Tue, 4 Oct 2022 09:16:10 +0000 (18:16 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I7e56f9cb474e0e991dd39c1770aa8c8f750d763b

2 years agoRevert "[Tizen] Not execute the remove callback"
Eunki, Hong [Tue, 4 Oct 2022 09:16:03 +0000 (18:16 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 0ed4ee4571aacaf595db0f5b4332fa14113f3d51.

2 years agoRevert "[Tizen] Calculrate screen position with RenderTask"
Eunki, Hong [Tue, 4 Oct 2022 09:16:00 +0000 (18:16 +0900)]
Revert "[Tizen] Calculrate screen position with RenderTask"

This reverts commit 1ccf334f119e39641dc6f7b912ea008b18ee1721.

2 years agoRevert "[Tizen] Submit a empty command buffer when rendering is skipped to flush"
Eunki, Hong [Tue, 4 Oct 2022 09:15:58 +0000 (18:15 +0900)]
Revert "[Tizen] Submit a empty command buffer when rendering is skipped to flush"

This reverts commit 5b9a31e2d4c86b3d5da69cd23814ee5c36dae8ae.

2 years agoRevert "[Tizen] Fix Window Rotation issue"
Eunki, Hong [Tue, 4 Oct 2022 09:15:56 +0000 (18:15 +0900)]
Revert "[Tizen] Fix Window Rotation issue"

This reverts commit e4c2363521dceb18183bd7bcdeabe1a17d8cb78b.

2 years agoRevert "[Tizen] Create ProjectionDirection property at CameraActor"
Eunki, Hong [Tue, 4 Oct 2022 09:15:54 +0000 (18:15 +0900)]
Revert "[Tizen] Create ProjectionDirection property at CameraActor"

This reverts commit d155ef0d147ba343044aeaddceef91580120b16b.

2 years agoMerge "[Tizen] Create ProjectionDirection property at CameraActor" into tizen
Eunki Hong [Tue, 4 Oct 2022 08:08:19 +0000 (08:08 +0000)]
Merge "[Tizen] Create ProjectionDirection property at CameraActor" into tizen

2 years ago[Tizen] Create ProjectionDirection property at CameraActor 72/282472/2
Eunki, Hong [Fri, 30 Sep 2022 07:19:58 +0000 (16:19 +0900)]
[Tizen] Create ProjectionDirection property at CameraActor

Add new property "ProjectionDirection" on CameraActor.
It determine whether current FieldOfView value base on
Vertical or Horizontal.
Default is Vertical.

Note : Current patch control only event-side FoV.
(Because FoV is not animatable)
update-side FoV use vertical FoV always.

Change-Id: I237f557af4bc03315ce5d6d6eeb25913e4fe7de4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[Tizen] Fix Window Rotation issue 42/282442/2
seungho [Fri, 30 Sep 2022 10:30:47 +0000 (19:30 +0900)]
[Tizen] Fix Window Rotation issue

 - Viewport was incorrectly computed when viewport is not fullscreen and window is rotated.
 - Scissor rect was incorrectly computed when viewport is not fullscreen and window is rotated.

Change-Id: I44c64a2216f6364d2d29e0bcdd38c5e0cbc7467c
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoMerge "Calculrate screen position with RenderTask" into devel/master
Adeel Kazmi [Mon, 3 Oct 2022 16:53:55 +0000 (16:53 +0000)]
Merge "Calculrate screen position with RenderTask" into devel/master

2 years agoDALi Version 2.1.42 78/282378/1 dali_2.1.42
Richard Huang [Fri, 30 Sep 2022 10:28:13 +0000 (11:28 +0100)]
DALi Version 2.1.42

Change-Id: I0f7ebbd5a33d3949c60995deb4af56c02ef20b25

2 years agoCalculrate screen position with RenderTask 13/280813/16
Eunki, Hong [Mon, 5 Sep 2022 10:14:39 +0000 (19:14 +0900)]
Calculrate screen position with RenderTask

Previous ScreenPosition / ScreenExtents consider
only the scene's default camera.
Now we make a new API that consider Custom camera's
View/Projection matrix.

Calculate screen position & extents is quite heavy
operation. So we need to seperate it for
simple 2D layer or 3D layer.

So, we add mLayer3DParentsCount value in actor.
It will be generated when actor is scene on,
or some layer's behaviour changed during on scene.

Change-Id: I7a6162bea84965f70800a6e7cbf2332e9933e20d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Optimize transform level propagate" into devel/master
David Steele [Tue, 27 Sep 2022 16:56:42 +0000 (16:56 +0000)]
Merge "Optimize transform level propagate" into devel/master

2 years agoMerge "Submit a empty command buffer when rendering is skipped to flush" into devel...
Heeyong Song [Tue, 27 Sep 2022 03:49:54 +0000 (03:49 +0000)]
Merge "Submit a empty command buffer when rendering is skipped to flush" into devel/master

2 years agoMerge "Moved event side actor world calculation" into devel/master
David Steele [Mon, 26 Sep 2022 10:45:00 +0000 (10:45 +0000)]
Merge "Moved event side actor world calculation" into devel/master

2 years ago[Tizen] Submit a empty command buffer when rendering is skipped to flush 98/281998/1 accepted/tizen/unified/20220928.020803
Heeyong Song [Mon, 26 Sep 2022 02:24:37 +0000 (11:24 +0900)]
[Tizen] Submit a empty command buffer when rendering is skipped to flush

Change-Id: Id0be7a139f6b990a8c17212102a0619aaeb8ea80

2 years ago[Tizen] Calculrate screen position with RenderTask
Heeyong Song [Mon, 26 Sep 2022 04:52:07 +0000 (13:52 +0900)]
[Tizen] Calculrate screen position with RenderTask

2 years ago[Tizen] Not execute the remove callback
Heeyong Song [Mon, 26 Sep 2022 04:51:37 +0000 (13:51 +0900)]
[Tizen] Not execute the remove callback