Eunki, Hong [Wed, 12 Jun 2024 09:11:58 +0000 (18:11 +0900)]
[Tizen] Make Transform Component dirty as 2 frames, not for true/false
Since ResetToBaseValue for TransfromProperty doesn't use basic
AnimatableProperty logic, the dirty flag is not match with common sence.
To match it as frame-by-frame, let we make component dirty as 2 bit,
and age-down every frame.
And after we allow to use dirty flag feature for transform,
we can determine whether we need to re-calculate matrix or not.
If that flag be used, we can 'skip' heavy matrix multiply operation.
Change-Id: Icf51e0be37962bee5147c08bb0cd3302bf203f89
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Thu, 13 Jun 2024 09:07:11 +0000 (18:07 +0900)]
[Tizen] If USER_INTERACTION_ENABLED is false, actor should not receive events.
Change-Id: I21ca9b8587dfecf7412d6dff736f0bbcbc9b8bed
Eunki, Hong [Thu, 13 Jun 2024 05:00:49 +0000 (14:00 +0900)]
[Tizen] Remove unused containers - old pan gesture history
Change-Id: Ic21880e9f34e23510c991b760929b43696611633
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 12 Jun 2024 13:18:42 +0000 (22:18 +0900)]
[Tizen] Fix partial update issue after VisualRenderer patch applied
Change-Id: I0df716d6a4607ada01119c67f77f127a70566ab2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 7 Jun 2024 08:26:06 +0000 (17:26 +0900)]
[Tizen] Call ResetToBaseValue only 1 times per PropertyBase
If multiple animation try to change single property, the dirty flag
of PropertyBase would not be works well.
To ensure the dirty flag, let we collect resetter required properties
into single container, and call ResetToBaseValue only one times.
It will ensure that we call the resetter only 1 times per 1 frame.
Change-Id: I1a3792993f2ef681399f72f6f1718731408f2128
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 4 Jun 2024 12:38:38 +0000 (21:38 +0900)]
[Tizen] Fix Animation with EndAction::DISCARD dont reset properties.
If Animation::EndAction::DISCARD finisehd normally cases,
The mDirtyFlag was not matched with real world
For example
ResetToBaseValue[0](mDirtyFlag become 1)
Animate and finished (mValue[0] changed.)
(update)
ResetToBaseValue[1](mDirtyFlag become 0)
(update)
(ResetToBaseValue did not called. So mValue[0] is last frame value)
(update)
(ResetToBaseValue did not called. So mValue[1] is BaseValue)
Now, mValue become flickering.
To avoid this problem, let we call ResetToBaseValue at least 2 frames
if finished animation's EndAction is DISCARD.
(Note that we don't consider Stop() call cases, since Stop() will not Animate
Animator, so mValue[0] is BaseValue)
And also, There was some issue that visual renderer property changeness not updated to
the dirty rect infomation.
(Since SG::Renderer don't be mark as updated)
To fix this issue, let we ensure to check the visual renderer property dirty.
And also, for apply Animation::EndAction::DISCARD case,
Let we make visual renderer coefficient use double buffered flags,
and age down every frames.
TODO : UpdateManager need to ResetBaseValue at least 2 frames
if Finished animation is EndAction::DISCARD.
This will need update manager side fix. So just keep this bug and fix as another patch.
Change-Id: Ibf654f723e1f986843cda620bc741b1121ee95d7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 4 Jun 2024 02:26:51 +0000 (11:26 +0900)]
[Tizen] Make InternalState for animation. So ensure Stop() Play() make the playstate is Playing
Since there is no way to determine that Animation::HasFinished() function called
due to we call Stop() API, or Animation finished normally.
To seperate the state, let we make new internal state
: STOPPING, PLAYING_DURING_STOPPING, PAUSED_DURING_STOPPING
STOPPING will be changed as STOPPED after Animation::HasFinished() function called.
And also, make CLEARED state so we can easly control Clear() function call.
Change-Id: I2acccfaaa034dd1edc956e4a23b0726b5d1b65e7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 3 Jun 2024 01:51:16 +0000 (10:51 +0900)]
[Tizen] Ensure cleared animation not emit finished signal during finished signal emit
Since we collect all finished animations and emit after,
It is possible that finisehd signal emitted what we should not
(e.g. Animation::Clear() called during another animation's finished signal)
To avoid it, let we ensure to check whether given animation is ignored or not.
Change-Id: I681c2c8e0f1624e0846409eb862862e5392ab7ec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 30 May 2024 11:18:50 +0000 (20:18 +0900)]
[Tizen] Ignore AnimationFinishedCallback when we call Animation::Clear() hard + Resolve bug when we call Play multiple times
There was several bugs at AnimationPlayList.
1. Core::ProcessCoreEvents sequence is like this :
SceneEvent -> NotificationManager -> Relayout -> Flush.
If we call Animation::Clear() at SceneEvent timing, Notfication will send animation finished signal
what we must not send.
To avoid this system, let we store the cleared animations at AnimationPlayList.
Since AnimationFinished callback required at least 1 frame times after flush,
we can ignore whole notify events before Flush done.
2. Scene mPlayList keep the reference of Animation whenever we call Play, there
were several problems. For example, If we call Play() 2 times and Clear(),
that Dali::Animation never be removed.
Change-Id: Ie9d5298311b9e5318fecad21b1124c896fcf3a8e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Wed, 22 May 2024 05:07:38 +0000 (14:07 +0900)]
[Tizen] Even when multi-touching, the captured actor is used without a hittest every time.
Change-Id: Ib934b4b5626747a9ed7036d7489f82c94e7b4b16
Seungho Baek [Wed, 24 Apr 2024 12:21:39 +0000 (21:21 +0900)]
[Tizen] Fix several hit issue for offscreen rendering
- Previous implementation
- MappingActor is not hittable by default, but it was used to check
whether it is hitted from OnScreen RenderTask or not in HitTestRenderTaskList.
- There is nothing to check the layer including MappingActor is consuming hit.
- Current implementation
- For the OnScreen hit result, check whether there is a mappingActor of OffScreen
hit results that can be hit in front of the OnScreen hit result.
If it is, returns the OffScreen hit results.
- If the OnScreen hit result is layer and the layer consumes hit(the layer must
not be hittable), returns the OffScreen hit results.
- If there is no hit in OnScreen but there are hit results from OffScreen
RenderTask, returns the top OffScreen hit results.
Change-Id: I2788ed90dbe0145b4c263c371353b201c65c2a80
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
joogab.yun [Wed, 24 Apr 2024 06:50:45 +0000 (15:50 +0900)]
[Tizen] Add VIRTUAL_REMOCON and VIRTUAL_MOUSE device types
Change-Id: I67f3ae35d364253b22a1d218df6c8c1bda848e97
joogab yun [Wed, 24 Apr 2024 05:42:50 +0000 (05:42 +0000)]
Merge "[Tizen] Add log in EmitSingleTap" into tizen_8.0
joogab.yun [Tue, 23 Apr 2024 06:18:59 +0000 (15:18 +0900)]
[Tizen] Add log in EmitSingleTap
Change-Id: Ic5c4831daa355195c272c298d478b7d1519a20b4
joogab.yun [Tue, 23 Apr 2024 05:45:38 +0000 (14:45 +0900)]
[Tizen] Allows updating MinimumDistance and MinimumPanEvents of pan gestures.
Change-Id: Ibe985928ae9e68f70fc4faf573284ce1ee956fb5
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
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
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>
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>
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>
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>
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
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>
joogab.yun [Mon, 1 Apr 2024 08:03:16 +0000 (17:03 +0900)]
[Tizen] Add SetTime in TouchEvent
Change-Id: Iad92d4c0e3e07fded7f1fdbb44e59d967502f2c9
joogab.yun [Thu, 28 Mar 2024 05:03:47 +0000 (14:03 +0900)]
[Tizen] Add SetTapMaximumMotionAllowedDistance
Change-Id: I5c8dd3304774f73d2bda7ca5566406b05039e233
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
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>
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>
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>
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>
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
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
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>
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
joogab yun [Thu, 22 Feb 2024 01:55:11 +0000 (01:55 +0000)]
Merge "[Tizen] Added ExecutionMode to RenderCallback." into tizen_8.0
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
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>
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>
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>
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>
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.
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
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>
David Steele [Wed, 31 Jan 2024 16:52:55 +0000 (16:52 +0000)]
[Tizen] Removing unused threadpool
Change-Id: Ia2cccb3bee0068b15f5eff1c23d46ff62cc97b3b
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>
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>
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>
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>
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>
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
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>
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
Adeel Kazmi [Sat, 20 Jan 2024 13:01:38 +0000 (13:01 +0000)]
[Tizen] Reduce CC of HoverEventProcessor::ProcessHoverEvent
Change-Id: Iec40f015ab571f4bdfe0b3b049c4770a5a4f328d
Adeel Kazmi [Sat, 20 Jan 2024 10:38:32 +0000 (10:38 +0000)]
[Tizen] Reduce CC of TouchEventProcessor::ProcessTouchEvent
Change-Id: I725981925bb16368ed146bba414ef8ed549bffbe
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>
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>
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>
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>
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>
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>
jmm [Wed, 10 Jan 2024 03:44:05 +0000 (12:44 +0900)]
[Tizen] Fix svace issue
Change-Id: I1c25cf639bad76e4326a9c0f363bad88738b4dd5
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>
joogab.yun [Tue, 9 Jan 2024 07:19:51 +0000 (16:19 +0900)]
[Tizen] Fixed svace issue
Initialized eventTime for hitTestResults
Change-Id: Idb966c1aed10b6789ba37e5dc54054d17d01b798
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
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>
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>
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
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
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>
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
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>
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>
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
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>
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>
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>
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
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>
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
Heeyong Song [Wed, 17 Nov 2021 07:00:04 +0000 (16:00 +0900)]
[Tizen] Add DaliPrintBackTrace for common
Change-Id: Ieb24205ccdc75d3b9a4ac3e7b44166503a472d80
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
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
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
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
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
SangHyeon Lee [Wed, 22 Nov 2023 05:24:12 +0000 (05:24 +0000)]
Merge "[Tizen] Revert "Moved shader cache to graphics backend"" into tizen
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:12:46 +0000 (14:12 +0900)]
[Tizen] Fix gcc-13 compile error
This reverts commit
89ad27ed31d78182fd5c322ac5adf1ab41c89139.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:12:30 +0000 (14:12 +0900)]
[Tizen] Support asan build option
This reverts commit
3fbfe4e3ae6e964f26546e16cdbefbb833394df2.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:12:08 +0000 (14:12 +0900)]
[Tizen] Reducing uniform memory usage
This reverts commit
181f656a1a7e60ec05a859c1c75fcff61d61c8f3.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:11:49 +0000 (14:11 +0900)]
[Tizen] Add lock for shader-precompiler
This reverts commit
b1618890223cca95a07113e34bb505facc843998.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:11:29 +0000 (14:11 +0900)]
[Tizen] Add ShaderList for precompile
This reverts commit
2f8b800fbd80851f1e36d329e3d439700230f3e7.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:11:08 +0000 (14:11 +0900)]
[Tizen] Apply precompile shader
This reverts commit
b988f90c59b38cc59456aa31a5856c26c5c17448.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:10:40 +0000 (14:10 +0900)]
[Tizen] Property Notify for orientation changes
This reverts commit
a23932ddf26cc3a3a72b33b7584ea2d6d8a386d5.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:10:16 +0000 (14:10 +0900)]
[Tizen] Not execute the remove callback
This reverts commit
5c10ff92d8a13aa5bfdf3d4eefecb6135458b26c.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:09:26 +0000 (14:09 +0900)]
Merge branch 'devel/master' into tizen
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.
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.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:08:25 +0000 (14:08 +0900)]
Revert "[Tizen] Apply precompile shader"
This reverts commit
53bb8d540f7f4cd3c25b3f80131fdb56697c518d.
EverLEEst(SangHyeon Lee) [Wed, 22 Nov 2023 05:08:13 +0000 (14:08 +0900)]
Revert "[Tizen] Add ShaderList for precompile"
This reverts commit
96ae681e9304b39aa7c061556e4beac8723dc998.
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.