platform/core/uifw/dali-core.git
2 months ago[Tizen] 1. Fixes a bug where events do not occur when longPressGestures overlap.... 73/309073/1 accepted/tizen/8.0/unified/20240409.150700
joogab.yun [Thu, 4 Apr 2024 01:54:25 +0000 (10:54 +0900)]
[Tizen] 1. Fixes a bug where events do not occur when longPressGestures overlap. This is when using gestures with FeedTouch.
2. Remove unnecessary conditional statements.

Change-Id: If8a4e876cb0b6031e744b6f0b8a3beef6d28517d

2 months ago[Tizen] SVACE Fix: Initialise all members in SceneGraph::Animation 18/308918/1
Adeel Kazmi [Tue, 19 Mar 2024 08:11:02 +0000 (08:11 +0000)]
[Tizen] SVACE Fix: Initialise all members in SceneGraph::Animation

Change-Id: I96c3d9e6606afd0dcab84053620fcadec64c685d

2 months ago[Tizen] Allow to set renderpass tag even RenderTask removed from RenderTaskList 17/308917/1
Eunki Hong [Tue, 19 Mar 2024 13:35:41 +0000 (22:35 +0900)]
[Tizen] Allow to set renderpass tag even RenderTask removed from RenderTaskList

There was potential of crash if we set RenderPassTag after RenderTask removed.

Change-Id: Iab01b01b4d4c59ce0328fc5f4b55f40a26f82435
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[Tizen] Get the id of animation and render task 16/308916/1
Eunki Hong [Tue, 6 Feb 2024 15:35:48 +0000 (00:35 +0900)]
[Tizen] Get the id of animation and render task

Let we support to get the id of Animation and RenderTask, follow by NotifyInterface notify id.

Change-Id: I56b6a0d27ceae4024fb52255062ebd00b87332eb
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months ago[Tizen] Append Stopped animation notify list at Update Animation time 15/308915/1
Eunki, Hong [Wed, 6 Mar 2024 09:01:41 +0000 (18:01 +0900)]
[Tizen] Append Stopped animation notify list at Update Animation time

Let we insert animation notification list at Animate() time, instead of
immediate.

This will make insure we will not notify signal for destroyed, cleared animation.
And it will increase performance minor.

Change-Id: I5371be63c36787874e9ae850e14e5796c5f819b1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[Tizen] Do not recreate SG::Animation when we call Clear + Redefine Clear behavior 24/307024/2
Eunki, Hong [Thu, 29 Feb 2024 08:16:01 +0000 (17:16 +0900)]
[Tizen] Do not recreate SG::Animation when we call Clear + Redefine Clear behavior

Let we make Clear don't destroy & re-create the SG::Animation.

And also, we don't need to cache current loop count at event side.
Let we ask it to scene graph side, Same as other values are doing now.

Change-Id: I4b5353e7fb9ab1898ff4d22a8db78ccb3a19c460
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[Tizen] (HitTest) Overlay actors should not be clipped if CLIP_TO_BOUNDING_BOX is... 14/308914/1
Adeel Kazmi [Thu, 14 Mar 2024 16:01:31 +0000 (16:01 +0000)]
[Tizen] (HitTest) Overlay actors should not be clipped if CLIP_TO_BOUNDING_BOX is selected

Change-Id: Id76d47a773766e19f969d73bb912e5aa6518380e

2 months ago[Tizen] Clean initialization and shutdown of UniformBufferManager 13/308913/1
David Steele [Wed, 20 Mar 2024 17:44:54 +0000 (17:44 +0000)]
[Tizen] Clean initialization and shutdown of UniformBufferManager

Ensure all unique ptrs are null initialized
Clean down UBO buffers in UpdateRender thread ContextDestroyed,
rather than waiting to clean down in event thread.

Change-Id: I95a14be51e91230612d1a08808f8b151691328c3
Signed-off-by: David Steele <david.steele@samsung.com>
2 months ago[Tizen] Add SetTime in TouchEvent 38/308838/1
joogab.yun [Mon, 1 Apr 2024 08:03:16 +0000 (17:03 +0900)]
[Tizen] Add SetTime in TouchEvent

Change-Id: Iad92d4c0e3e07fded7f1fdbb44e59d967502f2c9

2 months ago[Tizen] Add SetTapMaximumMotionAllowedDistance 36/308636/1 accepted/tizen/8.0/unified/20240401.145116
joogab.yun [Thu, 28 Mar 2024 05:03:47 +0000 (14:03 +0900)]
[Tizen] Add SetTapMaximumMotionAllowedDistance

Change-Id: I5c8dd3304774f73d2bda7ca5566406b05039e233

2 months ago[Tizen] actorCoordinates were missing from TapGesture when FeedTouch was used 88/308488/1
joogab.yun [Tue, 26 Mar 2024 07:39:41 +0000 (16:39 +0900)]
[Tizen] actorCoordinates were missing from TapGesture when FeedTouch was used

Change-Id: Icfc319322f02920c76923cdaffce3b69354bcf92

2 months ago[Tizen] Unregister all processors if we need 13/307913/1 accepted/tizen/8.0/unified/20240318.143303
Eunki, Hong [Tue, 12 Mar 2024 08:19:14 +0000 (17:19 +0900)]
[Tizen] Unregister all processors if we need

Let we ensure that all processor are unregistered after call
Core::UnregisterProcessors() API.

It will remove both Processor, and PostProcessor.

Change-Id: Ie70f287d8e0ec33579a5128ce2268a66aa4de277
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[Tizen] Fix messageBuffer nullptr error 95/307495/1 accepted/tizen/8.0/unified/20240313.143438
Eunki, Hong [Mon, 11 Mar 2024 07:11:16 +0000 (16:11 +0900)]
[Tizen] Fix messageBuffer nullptr error

Change-Id: I2422374fa2f4add4368ee95b6ba334cdb9a11d41
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[Tizen] Remove useless flag at SceneGraph::Renderer.mDirtyFlag 75/307475/1 accepted/tizen/8.0/unified/20240311.164627
Eunki Hong [Mon, 13 Nov 2023 11:33:33 +0000 (20:33 +0900)]
[Tizen] Remove useless flag at SceneGraph::Renderer.mDirtyFlag

We can use PropertyOwner::Updated() instead of mDirtyFlag.

Let we make use PropertyOwner system, instead of Renderer's own member value.

Change-Id: Ibf18f8dc8e1b8ebaf140034fe9132d1b45ac69d2
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Fix svace : assert some cases 26/307026/2
Eunki, Hong [Sun, 3 Mar 2024 23:57:12 +0000 (08:57 +0900)]
[Tizen] Fix svace : assert some cases

This is a combination of 2 commits.

Fix svace : assert when we fail to register animatable properties

Fix svace : Assert when malloc matrix failed

It is possible to fail malloc memory. Let we notify this case.

Change-Id: Ice13e4f5a845f28d947fb9f0edff002e1b4b1c89
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoMerge "[Tizen] Add updated area function to update-proxy" into tizen_8.0 accepted/tizen/8.0/unified/20240301.174436
joogab yun [Wed, 28 Feb 2024 05:44:48 +0000 (05:44 +0000)]
Merge "[Tizen] Add updated area function to update-proxy" into tizen_8.0

3 months ago[Tizen] Add updated area function to update-proxy 31/306831/1
Wonsik Jung [Thu, 15 Feb 2024 12:23:05 +0000 (21:23 +0900)]
[Tizen] Add updated area function to update-proxy

Add updated area function to update-proxy for partial rendering.
It is to improve the performance of update area hint.

Change-Id: I29960bd17e488147a5f382fe591346768ea686b2

3 months ago[Tizen] Fix coverity issue : auto cause copy 86/306786/1
Eunki, Hong [Tue, 20 Feb 2024 06:14:06 +0000 (15:14 +0900)]
[Tizen] Fix coverity issue : auto cause copy

Make some auto as const auto& if we can

Change-Id: Icb8f1cb3e4c0c1559f03b049c630655a2885f0cb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Change the DIRECTION_HORIZONTAL value. 97/306497/1
joogab.yun [Wed, 21 Feb 2024 04:22:19 +0000 (13:22 +0900)]
[Tizen] Change the DIRECTION_HORIZONTAL value.

There is no difference in actual operation,
but the values ​​of DIRECTION_LEFT and DIRECTION_HORIZONTAL are matched just as DIRECTION_UP and DIRECTION_VERTICAL are the same.

Change-Id: I2c39ab7c48cb57e66ac5992a1e4134be7bed100b

3 months agoMerge "[Tizen] Added ExecutionMode to RenderCallback." into tizen_8.0
joogab yun [Thu, 22 Feb 2024 01:55:11 +0000 (01:55 +0000)]
Merge "[Tizen] Added ExecutionMode to RenderCallback." into tizen_8.0

3 months ago[Tizen] Added ExecutionMode to RenderCallback. 39/306239/2
Adam Bialogonski [Fri, 16 Feb 2024 13:49:50 +0000 (13:49 +0000)]
[Tizen] Added ExecutionMode to RenderCallback.

ExecutionMode is a hint that tells graphics backend whether it should isolate native graphics API calls from main DALi rendering pipeline (ie. by creating individual GL context for the RenderCallback) or should inject calls directly into the DALi main rendering pipeline which will alter API state.

ExecutionMode::UNSAFE - injects calls directly, unsafe
ExecutionMode::ISOLATED - creates isolated context

Change-Id: Iac679a87ee47b95c623182d669d26664fdda7cc9

3 months ago[Tizen] Safety guard for BaseObject during SetProperty 52/306452/1
Eunki, Hong [Wed, 21 Feb 2024 12:43:32 +0000 (21:43 +0900)]
[Tizen] Safety guard for BaseObject during SetProperty

It is possible to delete self during SetProperty.
To avoid this case, let we keep the handle during
SetProperty / OnSetProperty / PropertySetSignal emit.

TODO : Is SetProperty is the only case to be break down?

Change-Id: I7cb8249958914105a2cb8e8e3a44545f23948516
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Support to get shader language version for shader static API 07/306407/1
Eunki, Hong [Mon, 5 Feb 2024 14:47:04 +0000 (23:47 +0900)]
[Tizen] Support to get shader language version for shader static API

Let we support to get shader language version

Change-Id: Ic9a1c2223633acb965f945d04179d20a9d7b89b7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Print top5 longest time spend animation finished callbacks + Minor code clean 12/306312/2
Eunki, Hong [Tue, 20 Feb 2024 04:55:34 +0000 (13:55 +0900)]
[Tizen] Print top5 longest time spend animation finished callbacks + Minor code clean

Change-Id: Ibfbeca6440f1b9c46ebb2f71200139de611a2b4a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Reduce the line of trace logs 06/306306/2
Eunki, Hong [Tue, 20 Feb 2024 03:53:40 +0000 (12:53 +0900)]
[Tizen] Reduce the line of trace logs

Let we print the trace log only for end.

Change-Id: I8acbce1bcc723ecb91b8df40c25bd62a8a66eeb2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoMerge changes I7aa9bec7,Ia2cccb3b,Ia465012e,I5c9a50f5,I45c3fe56, ... into tizen_8.0 accepted/tizen/8.0/unified/20240220.144347
Eunki Hong [Mon, 19 Feb 2024 11:41:32 +0000 (11:41 +0000)]
Merge changes I7aa9bec7,Ia2cccb3b,Ia465012e,I5c9a50f5,I45c3fe56, ... into tizen_8.0

* changes:
  [Tizen] Add OrderIndex to RenderTask to control rendering order between RenderTask
  [Tizen] Removing unused threadpool
  [Tizen] Remove useless KeyFrame if we need
  [Tizen] Remove duplicate codes for screen position
  [Tizen] Fix INTEGER_OVERFLOW coverity issues
  [Tizen] Added wait/client wait methods to sync abstraction
  [Tizen] GraphicsBackend clean up backport
  [Tizen] Prevents writing array uniforms with out-of-bound indices and accidental overwrite of next uniform.

3 months ago[Tizen] When a hover event enters a new actor, events are delivered in the order... 77/306277/1
joogab.yun [Thu, 15 Feb 2024 09:42:39 +0000 (18:42 +0900)]
[Tizen] When a hover event enters a new actor, events are delivered in the order of start -> leave, but are modified to be delivered in the order of leave -> started.

Change-Id: I0ede94dcc5f558d8f9b7eb82d98e505f8ad524e6

3 months ago[Tizen] Add OrderIndex to RenderTask to control rendering order between RenderTask 64/306264/1
seungho baek [Tue, 30 Jan 2024 09:14:19 +0000 (18:14 +0900)]
[Tizen] Add OrderIndex to RenderTask to control rendering order between RenderTask

Change-Id: I7aa9bec7a27c04878d1842751ea64813068d582f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
3 months ago[Tizen] Removing unused threadpool 60/306260/1
David Steele [Wed, 31 Jan 2024 16:52:55 +0000 (16:52 +0000)]
[Tizen] Removing unused threadpool

Change-Id: Ia2cccb3bee0068b15f5eff1c23d46ff62cc97b3b

3 months ago[Tizen] Remove useless KeyFrame if we need 59/306259/1
Eunki Hong [Tue, 16 Jan 2024 16:12:44 +0000 (01:12 +0900)]
[Tizen] Remove useless KeyFrame if we need

Since it might heavy if the number of frame is quite large.

To reduce CPU overhead, let we make some way to remove and optimize
if user want.

Change-Id: Ia465012ead42c1a083be9a2f62d840f5ac158d00
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Remove duplicate codes for screen position 58/306258/1
Seoyeon Kim [Mon, 29 Jan 2024 07:28:48 +0000 (16:28 +0900)]
[Tizen] Remove duplicate codes for screen position

- There are some duplicate codes when screen position and screen extent
are calculated.
- Remove these duplicate codes to make new methods for calculation

Change-Id: I5c9a50f5125933013bfd20a85c13f55a16fc4387
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 months ago[Tizen] Fix INTEGER_OVERFLOW coverity issues 57/306257/1
Eunki, Hong [Thu, 1 Feb 2024 11:28:08 +0000 (20:28 +0900)]
[Tizen] Fix INTEGER_OVERFLOW coverity issues

 - LinearConstraint : min value could be zero. We should branch out that case.
 - Render::Geometry : The number of indecies could be zero.
 - BaseSignal : Callback might be nullptr (even if we don't allow this cases)
 - Program : we might fail to find '[' keyword.

Change-Id: I45c3fe567e98973d2a215b975f8094b7222995a8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Added wait/client wait methods to sync abstraction 33/306233/1
David Steele [Mon, 12 Feb 2024 18:42:56 +0000 (18:42 +0000)]
[Tizen] Added wait/client wait methods to sync abstraction

Note, sync abstraction isn't used by dali-core, but still
has a test implementation, so not going to move it to
dali-adaptor in this patchset.

Change-Id: Iea2b9cb74bcbaffbdf1a181de796010aa371ad03
Signed-off-by: David Steele <david.steele@samsung.com>
3 months ago[Tizen] GraphicsBackend clean up backport 29/306229/1
David Steele [Wed, 31 Jan 2024 18:56:41 +0000 (18:56 +0000)]
[Tizen] GraphicsBackend clean up backport

This is a combination of 2 commits.

Removing old temporary graphics APIs

Change-Id: I41c5af839ab5b0807194ebe2ecedbbaa27ba033c

Remove inclusion of gl-abstraction.h

Remove all #includes.

Would like to move this abstraction to dali-adaptor, but many tests use the test-gl-abstraction
layer to check that e.g. uniforms have been written. Instead, they should be modified to use the
test graphics layer, but that's a lot of work :/.

So, have just removed the usage, but left the file there.

Change-Id: I16f4945eb54ede451f4c91ee130284e84d653309
Signed-off-by: David Steele <david.steele@samsung.com>
3 months ago[Tizen] Prevents writing array uniforms with out-of-bound indices and accidental... 26/306226/1
Adam Bialogonski [Thu, 18 Jan 2024 14:25:34 +0000 (14:25 +0000)]
[Tizen] Prevents writing array uniforms with out-of-bound indices and accidental overwrite of next uniform.

Change-Id: I5e991cae1765d951edc0690028ef9f1ac2d165a6

3 months ago[Tizen] Do not re-create SG::Animation when we call Clear to empty animation + Clear... 04/306104/2
Eunki Hong [Wed, 14 Feb 2024 02:51:16 +0000 (11:51 +0900)]
[Tizen] Do not re-create SG::Animation when we call Clear to empty animation + Clear reset some values

Since we always destroy & create scene obeject whenever we call Clear(),
It will be make some useless memory increasement when user call
Clear() infinitely.

To avoid this cases, let we re-create that object only if we call Play() before
or at least 1 animator exist.

And also, make Clear() API reset some sensitive values, like CurrentLoop and State.

Change-Id: I7f79b5e8e2bf822f01f094e4023e90e5f0922faa
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Touch and Hover event propagrated by geometry way.(5) 03/305903/2
joogab.yun [Wed, 10 Jan 2024 04:51:24 +0000 (13:51 +0900)]
[Tizen] Touch and Hover event propagrated by geometry way.(5)

1. If there is a consumed actor, the intercept is sent only up to the moment before the consumed actor.
2. To propagate the gesture, check whether it has been detected and the NeedGesturePropagation flag.

Change-Id: Icfbec13c000092ae8526e0a269cd180fd7431a9e

3 months ago[Tizen] Reduce CC of HoverEventProcessor::ProcessHoverEvent 02/305902/1
Adeel Kazmi [Sat, 20 Jan 2024 13:01:38 +0000 (13:01 +0000)]
[Tizen] Reduce CC of HoverEventProcessor::ProcessHoverEvent

Change-Id: Iec40f015ab571f4bdfe0b3b049c4770a5a4f328d

3 months ago[Tizen] Reduce CC of TouchEventProcessor::ProcessTouchEvent 01/305901/1
Adeel Kazmi [Sat, 20 Jan 2024 10:38:32 +0000 (10:38 +0000)]
[Tizen] Reduce CC of TouchEventProcessor::ProcessTouchEvent

Change-Id: I725981925bb16368ed146bba414ef8ed549bffbe

4 months ago[Tizen] Fix mis-implementation for GetLinearEnumerationName 45/305745/1 accepted/tizen/8.0/unified/20240208.163205
Eunki, Hong [Mon, 5 Feb 2024 03:51:24 +0000 (12:51 +0900)]
[Tizen] Fix mis-implementation for GetLinearEnumerationName

Let we fix mis-implementation of GetLinearEnumerationName,
and add relative UTC for it.

Change-Id: I77dc0b9ae3ca0f5fd563f12e8faaf4fc36549b97
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix build error after merge some backport 37/305737/1
Eunki, Hong [Wed, 7 Feb 2024 04:20:33 +0000 (13:20 +0900)]
[Tizen] Fix build error after merge some backport

Change-Id: I99c7072db1c698808567401b5b983a09449fb3b0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Add shader class name so we can debug easly. 36/305736/1
Eunki, Hong [Fri, 2 Feb 2024 08:01:53 +0000 (17:01 +0900)]
[Tizen] Add shader class name so we can debug easly.

Let we allow to apply / get the name of shader.
It will be useful when we want to control default shader + debug it.

Change-Id: Ic69201401191449bc78dafa750e6d097e5f72cde
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Print log if animation play / stop 05/305705/1
Eunki Hong [Tue, 6 Feb 2024 14:57:04 +0000 (23:57 +0900)]
[Tizen] Print log if animation play / stop

Change-Id: I503a3608e30105e4b00f91f4c2744aeea84641ec
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Add trace marker for some CORE Update cases 17/304417/2 accepted/tizen/8.0/unified/20240125.160857
Eunki, Hong [Wed, 17 Jan 2024 05:07:53 +0000 (14:07 +0900)]
[Tizen] Add trace marker for some CORE Update cases

- Log for each UpdateManager / RenderManager operations
- Log for message queue size and count
- Log for FrameUpdateCallback interface

Change-Id: I73c7970b03fecc26b6534ff4b00578e7ce3189ae
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Make ref-object GetReferenceCount as const 56/304256/1 accepted/tizen/8.0/unified/20240122.175513
Eunki Hong [Sat, 13 Jan 2024 01:10:49 +0000 (10:10 +0900)]
[Tizen] Make ref-object GetReferenceCount as const

Change-Id: I314beb96c3efd6c280465b6deeb5e9a1184b1e61
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix svace issue 55/304255/1
jmm [Wed, 10 Jan 2024 03:44:05 +0000 (12:44 +0900)]
[Tizen] Fix svace issue

Change-Id: I1c25cf639bad76e4326a9c0f363bad88738b4dd5

4 months ago[Tizen] Property Notify for orientation changes (PoC) 91/304091/1
Eunki Hong [Thu, 31 Aug 2023 14:07:13 +0000 (23:07 +0900)]
[Tizen] Property Notify for orientation changes (PoC)

Allow to make Notify if Orientation changed, and we register
PropertyNotification by StepCondition.

TODO : Need to calculate more meanful value.
Currently, we trigger by compare each EulerAngle values.

Change-Id: Ic500313676730b0d3bb9004057796b66d3303079
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Fixed svace issue 34/304034/1
joogab.yun [Tue, 9 Jan 2024 07:19:51 +0000 (16:19 +0900)]
[Tizen] Fixed svace issue

Initialized eventTime for hitTestResults

Change-Id: Idb966c1aed10b6789ba37e5dc54054d17d01b798

5 months ago[Tizen] Add FeedTouch api to GestureDetector. 03/304003/1 accepted/tizen/8.0/unified/20240109.155447
joogab.yun [Wed, 13 Dec 2023 01:40:20 +0000 (10:40 +0900)]
[Tizen] Add FeedTouch api to GestureDetector.

This is a method of recognizing gestures by feeding a touch event to a specific actor.

This causes the actor to recognize the gesture without going through a hittest.

So, you can recognize gestures based on touchEvent as shown below.

mTapDetector = TapGestureDetector::New();
mTapDetector.DetectedSignal().Connect(this, &HelloWorldController::OnTap);
control.TouchedSignal().Connect(this, &HelloWorldController::OnTouch);

bool OnTouch(Actor actor, const TouchEvent& touch)
{
 mTapDetector.FeedTouch(actor, touch);
 return true;
}

This is the beginning of a new gesture recognition method.

Change-Id: Iecf0eab7a82e54a981f69d2e309675afcfa439f1

5 months ago[Tizen] Make PixelData flag that we release buffer after texture upload 95/303995/1
Eunki, Hong [Mon, 8 Jan 2024 01:02:08 +0000 (10:02 +0900)]
[Tizen] Make PixelData flag that we release buffer after texture upload

Let we support to release pixel data memory automatically after upload finished.

Change-Id: I809289ca5124ba5672a5f87ba1f5772511b5054b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Seperate flag whether KeepRendering called or FrameUpdateCallback return... 59/303959/1
Eunki, Hong [Mon, 8 Jan 2024 11:02:03 +0000 (20:02 +0900)]
[Tizen] Seperate flag whether KeepRendering called or FrameUpdateCallback return true

Change-Id: Iac4a9ef0fb021f93865291b67c8065e53ac1930f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Touch and Hover event propagrated by geometry way.(4) 17/303917/1
joogab.yun [Mon, 8 Jan 2024 01:44:16 +0000 (10:44 +0900)]
[Tizen] Touch and Hover event propagrated by geometry way.(4)

If there is a consumed actor, the intercept is sent only up to the moment before the consumed actor.

Change-Id: I35f174fe4c6845fc36392ba3cc3cd35c839471fc

5 months ago[Tizen] Touch and Hover event propagrated by geometry way.(3) 09/303809/1
joogab.yun [Thu, 4 Jan 2024 05:59:51 +0000 (14:59 +0900)]
[Tizen] Touch and Hover event propagrated by geometry way.(3)

Fix typos and improve some logic.

Change-Id: I856b51f9263bea28d714178389b6963b6ccb4c0a

5 months ago[Tizen] Define trace macro with message generate function 16/303616/1
Eunki Hong [Thu, 21 Dec 2023 13:42:04 +0000 (22:42 +0900)]
[Tizen] Define trace macro with message generate function

Let we make to reduce the number of code lines due to the
trace additional messages generation.

Change-Id: Ia54928a5654cc1faf8d73d9620a52638b26352b5
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Add Get/Set native window id on KeyEvent and Scene 77/303377/2 accepted/tizen/8.0/unified/20240101.154858
joogab.yun [Tue, 19 Dec 2023 09:19:54 +0000 (18:19 +0900)]
[Tizen] Add Get/Set native window id on KeyEvent and Scene

Change-Id: I08af7fa77f7fe0a4a115228aa530411032e362b4

5 months ago[Tizen] Print logs if dali skip rendering 74/303374/1
Eunki, Hong [Wed, 27 Dec 2023 00:37:43 +0000 (09:37 +0900)]
[Tizen] Print logs if dali skip rendering

Change-Id: Id41faabf812d99009e4a7dbf01941f8657833db3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Fix error when clipping actor was in 3d layer 68/303368/1
Eunki Hong [Fri, 22 Dec 2023 11:49:29 +0000 (20:49 +0900)]
[Tizen] Fix error when clipping actor was in 3d layer

We need to check the renderable item's renderer was nullptr or not.
It can be null if we use CLIP_BOUNDING_BOX option without renderer.

Change-Id: I6fa8b9f4dd5bec801bc48dbb034e1e11dee558a0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Change LOG_INFO in wheel event processor to RELEASE_INFO. 23/303323/1
joogab.yun [Thu, 21 Dec 2023 09:05:09 +0000 (18:05 +0900)]
[Tizen] Change LOG_INFO in wheel event processor to RELEASE_INFO.

Change-Id: I46f7336c903f9545c8a4d98924728a1494684128

5 months ago[Tizen] Print the name of processor when we execute it 17/303117/1
Eunki, Hong [Mon, 18 Dec 2023 05:50:37 +0000 (14:50 +0900)]
[Tizen] Print the name of processor when we execute it

Get the name of processor what we are processing now, for debug.

Change-Id: I2bb45e85987a75d1651fea9d3d2f74ef0be990a7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Print the number of loop count when we trace iteration accepted/tizen/8.0/unified/20231219.160204
Eunki, Hong [Mon, 18 Dec 2023 03:21:54 +0000 (12:21 +0900)]
[Tizen] Print the number of loop count when we trace iteration

Since we might need to check the overhead of some iteration cases,
Let we print the number of iteration when we check performance marker.

Change-Id: I038cc52dbc875a07def7868ec81115f608be27db
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Fix rendering occured unlimited if window size changed multiple
Eunki, Hong [Tue, 12 Dec 2023 04:13:19 +0000 (13:13 +0900)]
[Tizen] Fix rendering occured unlimited if window size changed multiple

To support multi window cases, dali-adaptor count how many times
the window resize event occured.

But in dali-core scene has only bool flag.

So if scene changed multiple times during 1 render time,
surface resized count never be reduced as zero.
So it will keep rendering unlimited.

This patch make we return the number of surface rect changed,
so dali-adaptor can control the scene changed count well.

Change-Id: I35d0bcef3ff33c67f106b276848a2b5a26ccc67c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Touch and Hover event propagrated by geometry way.(2)
joogab.yun [Wed, 13 Dec 2023 05:57:59 +0000 (14:57 +0900)]
[Tizen] Touch and Hover event propagrated by geometry way.(2)

This is similar to how Android works.

If you haven't consumed it in interceptTouchEvent, you need to keep sending interceptTouchEvent.

Change-Id: I3594d0abcaae1940be5dc0e7d73badecb3975aa5

5 months ago[Tizen] Use DepthIndex for 3D rendering order
seungho baek [Tue, 5 Dec 2023 08:20:18 +0000 (17:20 +0900)]
[Tizen] Use DepthIndex for 3D rendering order

Change-Id: I898668b515410c888e616b64ce103f833cc4f399
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
5 months ago[Tizen] Touch and Hover event propagrated by geometry way.
joogab.yun [Wed, 6 Sep 2023 07:44:52 +0000 (16:44 +0900)]
[Tizen] Touch and Hover event propagrated by geometry way.

This is similar to how Android works.

1. Events are propagated based on geometry.
2. TouchEvent
  - If there is an actor who consumes, only the actor who consumes will receive the event that comes after.
3. Gesture will be a way for apps to receive and recognize touch events in the future.

Change-Id: Iac58129b729446d3dffa54ad0aacc8d5e8135f19

5 months ago[Tizen] Add DaliPrintBackTrace for common 26/302626/1 accepted/tizen/8.0/unified/20231214.075328
Heeyong Song [Wed, 17 Nov 2021 07:00:04 +0000 (16:00 +0900)]
[Tizen] Add DaliPrintBackTrace for common

Change-Id: Ieb24205ccdc75d3b9a4ac3e7b44166503a472d80

6 months ago[Tizen] Revert "[Tizen] Apply precompile shader" 63/302063/1 accepted/tizen/8.0/unified/20231130.180814
Eunki, Hong [Thu, 30 Nov 2023 02:32:37 +0000 (11:32 +0900)]
[Tizen] Revert "[Tizen] Apply precompile shader"

This reverts commit 8980ca84c2fc96f9a2b334d3b0e8a96bca893023.

Change-Id: I64c02d9e24bdf75286efa99a3bc34b539ddd94ec

6 months ago[Tizen] Revert "[Tizen] Add ShaderList for precompile" 62/302062/1
Eunki, Hong [Thu, 30 Nov 2023 02:32:26 +0000 (11:32 +0900)]
[Tizen] Revert "[Tizen] Add ShaderList for precompile"

This reverts commit 895748d251fdaca7333886f1be97c4ecef757485.

Change-Id: I8beab14e283805c66afefd0b9545ee5fb28e1c87

6 months ago[Tizen] Revert "[Tizen] Add lock for shader-precompiler" 61/302061/1
Eunki, Hong [Thu, 30 Nov 2023 02:32:13 +0000 (11:32 +0900)]
[Tizen] Revert "[Tizen] Add lock for shader-precompiler"

This reverts commit 623df491cac29b40393f599acff704191bff74e6.

Change-Id: I18528eb8c634119fce235758c7d5c5933b689854

6 months ago[Tizen] Revert "[Tizen] Fix gcc-13 compile error" 60/302060/1
Eunki, Hong [Thu, 30 Nov 2023 02:31:57 +0000 (11:31 +0900)]
[Tizen] Revert "[Tizen] Fix gcc-13 compile error"

This reverts commit 394a0b728273b44cd6e1fbdf692bf74c3d14be80.

Change-Id: I349803e7aa374c1adb9508e745bcfb87298a0005

6 months ago[Tizen] Moved shader cache to graphics backend 59/302059/1
Eunki, Hong [Thu, 30 Nov 2023 02:31:25 +0000 (11:31 +0900)]
[Tizen] Moved shader cache to graphics backend

This reverts commit 65668fbc0d583862e0627da35fb65ec05530c555.

Change-Id: I9494137b054e4beeeaefd88a2b84ff51e95ecc89

6 months agoMerge "[Tizen] Revert "Moved shader cache to graphics backend"" into tizen accepted/tizen/8.0/unified/20231123.173035 accepted/tizen/unified/20231124.164214
SangHyeon Lee [Wed, 22 Nov 2023 05:24:12 +0000 (05:24 +0000)]
Merge "[Tizen] Revert "Moved shader cache to graphics backend"" into tizen

6 months ago[Tizen] Fix gcc-13 compile error
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:12:46 +0000 (14:12 +0900)]
[Tizen] Fix gcc-13 compile error

This reverts commit 89ad27ed31d78182fd5c322ac5adf1ab41c89139.

6 months ago[Tizen] Support asan build option
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:12:30 +0000 (14:12 +0900)]
[Tizen] Support asan build option

This reverts commit 3fbfe4e3ae6e964f26546e16cdbefbb833394df2.

6 months ago[Tizen] Reducing uniform memory usage
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:12:08 +0000 (14:12 +0900)]
[Tizen] Reducing uniform memory usage

This reverts commit 181f656a1a7e60ec05a859c1c75fcff61d61c8f3.

6 months ago[Tizen] Add lock for shader-precompiler
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:11:49 +0000 (14:11 +0900)]
[Tizen] Add lock for shader-precompiler

This reverts commit b1618890223cca95a07113e34bb505facc843998.

6 months ago[Tizen] Add ShaderList for precompile
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:11:29 +0000 (14:11 +0900)]
[Tizen] Add ShaderList for precompile

This reverts commit 2f8b800fbd80851f1e36d329e3d439700230f3e7.

6 months ago[Tizen] Apply precompile shader
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:11:08 +0000 (14:11 +0900)]
[Tizen] Apply precompile shader

This reverts commit b988f90c59b38cc59456aa31a5856c26c5c17448.

6 months ago[Tizen] Property Notify for orientation changes
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:10:40 +0000 (14:10 +0900)]
[Tizen] Property Notify for orientation changes

This reverts commit a23932ddf26cc3a3a72b33b7584ea2d6d8a386d5.

6 months ago[Tizen] Not execute the remove callback
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:10:16 +0000 (14:10 +0900)]
[Tizen] Not execute the remove callback

This reverts commit 5c10ff92d8a13aa5bfdf3d4eefecb6135458b26c.

6 months agoMerge branch 'devel/master' into tizen
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:09:26 +0000 (14:09 +0900)]
Merge branch 'devel/master' into tizen

6 months agoRevert "[Tizen] Not execute the remove callback"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:08:56 +0000 (14:08 +0900)]
Revert "[Tizen] Not execute the remove callback"

This reverts commit 0e35dc7e4d9abb28a2a3cd07a52f2711e9fb7c1d.

6 months agoRevert "[Tizen] Property Notify for orientation changes"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:08:37 +0000 (14:08 +0900)]
Revert "[Tizen] Property Notify for orientation changes"

This reverts commit 6dd55bb08194baf2c5dd606790f0395e1c13440b.

6 months agoRevert "[Tizen] Apply precompile shader"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:08:25 +0000 (14:08 +0900)]
Revert "[Tizen] Apply precompile shader"

This reverts commit 53bb8d540f7f4cd3c25b3f80131fdb56697c518d.

6 months agoRevert "[Tizen] Add ShaderList for precompile"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:08:13 +0000 (14:08 +0900)]
Revert "[Tizen] Add ShaderList for precompile"

This reverts commit 96ae681e9304b39aa7c061556e4beac8723dc998.

6 months agoRevert "[Tizen] Add lock for shader-precompiler"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:08:02 +0000 (14:08 +0900)]
Revert "[Tizen] Add lock for shader-precompiler"

This reverts commit 9f078e4ce9ea92e390afaaba7fa5c89eba7e1a10.

6 months agoRevert "[Tizen] Reducing uniform memory usage"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:07:30 +0000 (14:07 +0900)]
Revert "[Tizen] Reducing uniform memory usage"

This reverts commit 09fe6ac3cfe174aaec66ccdaf0e71c3b8bbf699e.

6 months agoRevert "[Tizen] Support asan build option"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:07:12 +0000 (14:07 +0900)]
Revert "[Tizen] Support asan build option"

This reverts commit 8fa5d08608259338356736b9cbdc02e769af3395.

6 months agoRevert "[Tizen] Fix gcc-13 compile error"
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:06:44 +0000 (14:06 +0900)]
Revert "[Tizen] Fix gcc-13 compile error"

This reverts commit c5ba038b40926211a9238e1a053add8cf6c34e64.

6 months ago[Tizen] Revert "Moved shader cache to graphics backend" 15/301715/1
sunghyun kim [Wed, 22 Nov 2023 04:59:11 +0000 (13:59 +0900)]
[Tizen] Revert "Moved shader cache to graphics backend"

This reverts commit 5402aeac11d588e5d906f8e9f87076584b181339.

Change-Id: Ic37d2430b50c51fd133a2292795cf6cd4f9e927c

6 months agoAdd default uniform for actor 'uScale' 49/301549/2
Eunki, Hong [Mon, 20 Nov 2023 02:40:41 +0000 (11:40 +0900)]
Add default uniform for actor 'uScale'

Some shader codes like anti-alias need to be calculated
by pixel scaled.

But currently we don't have any way to get 'scaled' visual size
at shader side.

To support it, let we write scale value into shader.

Change-Id: Ie1d9e2e5429a3ed20fc3e9dde004b7546e3e2c32
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoMerge "Moved shader cache to graphics backend" into devel/master
Adeel Kazmi [Fri, 17 Nov 2023 23:03:10 +0000 (23:03 +0000)]
Merge "Moved shader cache to graphics backend" into devel/master

6 months agoDALi Version 2.2.53 24/301524/1 dali_2.2.53
Adeel Kazmi [Fri, 17 Nov 2023 14:56:26 +0000 (14:56 +0000)]
DALi Version 2.2.53

Change-Id: I20a7bd5c23e906d79e99c86f6844d312c11ef301

6 months agoMoved shader cache to graphics backend 95/301295/2
David Steele [Mon, 13 Nov 2023 17:58:22 +0000 (17:58 +0000)]
Moved shader cache to graphics backend

Change-Id: Ie1b01412bc9fd588ddfe5b511b510297dfaa9484

6 months agoAdded render-task to the touch event 82/295782/9
Adam Bialogonski [Mon, 13 Nov 2023 16:36:28 +0000 (16:36 +0000)]
Added render-task to the touch event

Change-Id: Ida661df52c894d39da7e345b157dcb2fe8529ae5

6 months ago[Tizen] Fix gcc-13 compile error accepted/tizen/8.0/unified/20231116.024339 accepted/tizen/unified/20231116.101854 accepted/tizen/unified/riscv/20231116.045343
Jaehyun Cho [Wed, 15 Nov 2023 06:02:55 +0000 (15:02 +0900)]
[Tizen] Fix gcc-13 compile error

This reverts commit 52ca8cc8a7d112bff384306c0be1d62402988ccd.

6 months ago[Tizen] Support asan build option
Jaehyun Cho [Wed, 15 Nov 2023 06:02:48 +0000 (15:02 +0900)]
[Tizen] Support asan build option

This reverts commit 5f3e6baffaa963785bf73d2d82500ebdb4826a45.

6 months ago[Tizen] Reducing uniform memory usage
Jaehyun Cho [Wed, 15 Nov 2023 06:02:40 +0000 (15:02 +0900)]
[Tizen] Reducing uniform memory usage

This reverts commit ce700f8ebc635af08e6b77d7a4a7ebd78db8499f.

6 months ago[Tizen] Add lock for shader-precompiler
Jaehyun Cho [Wed, 15 Nov 2023 06:02:32 +0000 (15:02 +0900)]
[Tizen] Add lock for shader-precompiler

This reverts commit 1dcc56d068d87d17f8dd679107457870fe014c80.

6 months ago[Tizen] Add ShaderList for precompile
Jaehyun Cho [Wed, 15 Nov 2023 06:02:23 +0000 (15:02 +0900)]
[Tizen] Add ShaderList for precompile

This reverts commit bfdd9ada6539f7f7b3914f89ffeb94626538e469.

6 months ago[Tizen] Apply precompile shader
Jaehyun Cho [Wed, 15 Nov 2023 06:02:13 +0000 (15:02 +0900)]
[Tizen] Apply precompile shader

This reverts commit c0e59f29352fd70e98f858ad3fd65cd21b2f8869.