platform/core/uifw/dali-toolkit.git
12 months agoRevert "[Tizen] Add log if destroyed visual get some signal"
Eunki, Hong [Wed, 25 Oct 2023 07:42:58 +0000 (16:42 +0900)]
Revert "[Tizen] Add log if destroyed visual get some signal"

This reverts commit 598eb565a2fbccd34360650f7798c9b03714c432.

12 months agoRevert "[Tizen] Safety check for control set/get property"
Eunki, Hong [Wed, 25 Oct 2023 07:42:55 +0000 (16:42 +0900)]
Revert "[Tizen] Safety check for control set/get property"

This reverts commit 4cd5e38fa4f60e71a14868b11e8f1eb508366537.

12 months agoRevert "[Tizen] Apply precompile shader"
Eunki, Hong [Wed, 25 Oct 2023 07:42:52 +0000 (16:42 +0900)]
Revert "[Tizen] Apply  precompile shader"

This reverts commit 6dc98c1ee5770c402af474654329103077443919.

12 months agoRevert "[Tizen] Keep reference when member callback excute"
Eunki, Hong [Wed, 25 Oct 2023 07:42:49 +0000 (16:42 +0900)]
Revert "[Tizen] Keep reference when member callback excute"

This reverts commit e90b07424b3cfc1a39ecf7bcd6fde99df8531c71.

12 months agoRevert "[Tizen] Change precompile shader list for performance"
Eunki, Hong [Wed, 25 Oct 2023 07:42:47 +0000 (16:42 +0900)]
Revert "[Tizen] Change precompile shader list for performance"

This reverts commit 5802734760978b0eb6f4a08ecf4755e42b350959.

12 months agoRevert "[Tizen] Add TextFitArray to text label"
Eunki, Hong [Wed, 25 Oct 2023 07:42:44 +0000 (16:42 +0900)]
Revert "[Tizen] Add TextFitArray to text label"

This reverts commit fb5c41dd50706c183a05baf5ec32c1e9f82881b9.

12 months agoRevert "[Tizen] Fix ZWJ issue"
Eunki, Hong [Wed, 25 Oct 2023 07:42:42 +0000 (16:42 +0900)]
Revert "[Tizen] Fix ZWJ issue"

This reverts commit 7bff0b52925629229f71f5c03091324221d29bb5.

12 months agoRevert "[Tizen] Fix gcc-13 compile error (std::vector include)"
Eunki, Hong [Wed, 25 Oct 2023 07:42:40 +0000 (16:42 +0900)]
Revert "[Tizen] Fix gcc-13 compile error (std::vector include)"

This reverts commit 55b7245191c163fe8b2a0071d2971500f89792f1.

12 months agoRevert "[Tizen] Destroy removal visuals after idler"
Eunki, Hong [Wed, 25 Oct 2023 07:42:38 +0000 (16:42 +0900)]
Revert "[Tizen] Destroy removal visuals after idler"

This reverts commit 65a66e2a1d512363bef4f9f3af065eb27a17fcbc.

12 months ago[Tizen] Destroy removal visuals after idler 23/300223/1
Eunki, Hong [Thu, 19 Oct 2023 02:34:34 +0000 (11:34 +0900)]
[Tizen] Destroy removal visuals after idler

This is a combination of 3 commits.

Revert "[Tizen] Keep reference when member callback excute"

Keep reference when member callback excute + Make NPatchData as RefObject

Some CallbackBase didn't hold the reference of itself.
So it was possible to call destructor of itself during it's
API was running.

It might makes some unknown issues. So let we keep reference
for some issue-comes known APIs : SvgVisual, NPatchData, and lottie

It future, we should discard visuals rather than delate it directly.

Destroy removal visuals after idler

There was some bug when visual destructor called during
it's emit ResourceReady.

To avoid this case, Let we keep visuals more long term,
and Discard + Destroy after some idler called.

To avoid multiple Idler callback register,
let we make that idler callback in VisualFactory.

Change-Id: I4156f1af3cf40ffb30235dc9e6c55f9c7633f21d

12 months ago[Tizen] Fix gcc-13 compile error (std::vector include) 08/300208/1
Eunki Hong [Thu, 12 Oct 2023 13:18:47 +0000 (22:18 +0900)]
[Tizen] Fix gcc-13 compile error (std::vector include)

Change-Id: I33ce58c0ee7862d2c5086b3f933128b38a3860ad
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
12 months ago[Tizen] Fix ZWJ issue 06/300206/1
Bowon Ryu [Tue, 17 Oct 2023 06:36:03 +0000 (15:36 +0900)]
[Tizen] Fix ZWJ issue

Added ZWJ sequence to solve the issue of ZWJ not working.
this patch processes ZWJ as one sequnce.
and this condition has been merged with the previous emoji logic.

Added exception handling in editable environment.
Removed unnecessary variables related to emoji.

Change-Id: Id7825732d96c3e87a8c93b6c2e8d57e057eb7435
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months ago[Tizen] Add TextFitArray to text label 05/300205/1
Bowon Ryu [Thu, 5 Oct 2023 02:29:45 +0000 (11:29 +0900)]
[Tizen] Add TextFitArray to text label

Add a new function to satisfy the UX that
operates TextFit by considering the PointSize and MinLineSize of the text.

For example, TextFit should be able to find the one that
fits among [PointSize 24 + MinLineSize 40] or [PointSize 28 + MinLineSize 44].

But the previous TextFit only considers PointSize.

TextFitArray can solve this problem,
and this implemented it to respond to additional requirements without modifying the API.

Simple usage:
std::vector<DevelTextLabel::FitOption> fitOptions;
fitOptions.push_back(DevelTextLabel::FitOption(24, 40));
fitOptions.push_back(DevelTextLabel::FitOption(28, 44));
DevelTextLabel::SetTextFitArray(textLabel, true, fitOptions);

Change-Id: Ib608465c8f4c96c56e471f14064e4e2d24377a8f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
12 months agoMerge "[Tizen] Change precompile shader list for performance" into tizen
sunghyun kim [Mon, 16 Oct 2023 08:08:41 +0000 (08:08 +0000)]
Merge "[Tizen] Change precompile shader list for performance" into tizen

13 months ago[Tizen] Keep reference when member callback excute 65/299865/1
Eunki, Hong [Wed, 11 Oct 2023 08:04:44 +0000 (17:04 +0900)]
[Tizen] Keep reference when member callback excute

Some CallbackBase didn't hold the reference of itself.
So it was possible to call destructor of itself during it's
API was running.

It might makes some unknown issues. So let we keep reference
for some issue-comes known APIs.

Change-Id: Ibeab31bc309869aa7c2ee65cbff8789e7bb2a721
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[Tizen] Change precompile shader list for performance 48/299848/1
sunghyun kim [Wed, 11 Oct 2023 05:52:53 +0000 (14:52 +0900)]
[Tizen] Change precompile shader list for performance

for performance, change precompile shader list to a frequently used

Change-Id: I4e1262f2265799af9ea076bda222c1348873dd21

13 months ago[Tizen] Apply precompile shader accepted/tizen/unified/20231004.100227
Eunki, Hong [Tue, 26 Sep 2023 08:27:27 +0000 (17:27 +0900)]
[Tizen] Apply  precompile shader

This reverts commit c85161b9eebc05951f13abc9984e9a12e71608e5.

Change-Id: I94c01165999d032493906d39021e4af8716a1479

13 months ago[Tizen] Safety check for control set/get property
Eunki, Hong [Tue, 26 Sep 2023 08:27:05 +0000 (17:27 +0900)]
[Tizen] Safety check for control set/get property

This reverts commit 55f4a4dfc78f1518955eb123589aa1ff13234fde.

Change-Id: Ia34bda998cd725315378bbf8ca66db0b4d48c15c

13 months ago[Tizen] Add log if destroyed visual get some signal
Eunki, Hong [Tue, 26 Sep 2023 08:26:52 +0000 (17:26 +0900)]
[Tizen] Add log if destroyed visual get some signal

This reverts commit d03d44334b37a752934ccb665e626a965a08420d.

Change-Id: Ie0616f3a40374261acad41e9b9beb51722f2041f

13 months agoMerge branch 'devel/master' into tizen
Eunki, Hong [Tue, 26 Sep 2023 08:26:43 +0000 (17:26 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ide505de71fb0bfb3ebbbff1e8b3f2edfe1acd9f2

13 months agoRevert "[Tizen] Add log if destroyed visual get some signal"
Eunki, Hong [Tue, 26 Sep 2023 08:26:39 +0000 (17:26 +0900)]
Revert "[Tizen] Add log if destroyed visual get some signal"

This reverts commit 9d6eb07ed9bdfac9c14b59ec8a340358f19c7785.

13 months agoRevert "[Tizen] Safety check for control set/get property"
Eunki, Hong [Tue, 26 Sep 2023 08:26:37 +0000 (17:26 +0900)]
Revert "[Tizen] Safety check for control set/get property"

This reverts commit e5491903fd1acafa3854c5dcacc1c44964f1b6b4.

13 months agoRevert "[Tizen] Apply precompile shader"
Eunki, Hong [Tue, 26 Sep 2023 08:26:35 +0000 (17:26 +0900)]
Revert "[Tizen] Apply  precompile shader"

This reverts commit 8aa5ae787e14584ef1d338d1b3be9b2ee0b6097b.

13 months agoMerge "Add GetHeightForWidth for text visual model" into devel/master
Bowon Ryu [Tue, 26 Sep 2023 08:21:03 +0000 (08:21 +0000)]
Merge "Add GetHeightForWidth for text visual model" into devel/master

13 months ago[Tizen] Apply precompile shader 04/299304/3
sunghyun kim [Thu, 21 Sep 2023 06:01:48 +0000 (15:01 +0900)]
[Tizen] Apply  precompile shader

Change-Id: Iada2a5933a341b6a816cc12ad9f342f95fdd009c

13 months agoMerge "Make NPatchData always use shared pointer" into devel/master
Eunki Hong [Tue, 26 Sep 2023 07:06:19 +0000 (07:06 +0000)]
Merge "Make NPatchData always use shared pointer" into devel/master

13 months agoAdd GetHeightForWidth for text visual model 36/299336/1
Bowon Ryu [Tue, 26 Sep 2023 06:50:50 +0000 (15:50 +0900)]
Add GetHeightForWidth for text visual model

Use visual model's GetHeightForWidth instead of GetLayoutSize.

In the case of text label,
the height of the layout is used when returning the cached value of GetHeightForWidth.

But, this value is the height of the layout that has been Ellipsis processed.
It's not the height of the entire Text.

So, the intended height cannot be obtained.

This patch simply stores calculated values.

Change-Id: I0494fb476964fb1207d35e3c8e6eb25ece972025
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months agoRevert "Fix GetHeightForWidth for text controller" 35/299335/1
Bowon Ryu [Tue, 26 Sep 2023 06:50:32 +0000 (15:50 +0900)]
Revert "Fix GetHeightForWidth for text controller"

This reverts commit da9f7b93ae00d0aa64a959549ed9da3469a49e46.

Change-Id: I9dbcb715d65c97ff40ba9746caab50ce7231c1af

13 months agoMerge "Fix GetHeightForWidth for text controller" into devel/master
Bowon Ryu [Tue, 26 Sep 2023 06:13:33 +0000 (06:13 +0000)]
Merge "Fix GetHeightForWidth for text controller" into devel/master

13 months agoMake NPatchData always use shared pointer 13/299313/1
Eunki Hong [Tue, 26 Sep 2023 00:48:45 +0000 (09:48 +0900)]
Make NPatchData always use shared pointer

Let we keep NPatchData user always use shared_ptr instead of raw pointer.
In this case, NPatchData itself will be safe enought even if
NPatchData removed from NPatchLoader cache.

Change-Id: I27db855888bc21c7a7282a9e1114945f3f0e758d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoReduce LOC of ImageVisual 09/299309/1
Adeel Kazmi [Mon, 25 Sep 2023 16:18:19 +0000 (17:18 +0100)]
Reduce LOC of ImageVisual

Change-Id: Ib6ace96a0fafb6f14e35bacb29e9eeac50431883

13 months ago[Tizen] Safety check for control set/get property 07/299307/1
Eunki Hong [Mon, 25 Sep 2023 10:21:00 +0000 (19:21 +0900)]
[Tizen] Safety check for control set/get property

Since some workerthread can access and try to get/set control's visual,
we might need to assert if worker thread try to use them.

Note : Current logic might got error if someone try to change API before
app create, but less care for now.

Change-Id: I68cb0ff5b822721a73c4fd40f4b86d21ddf1759f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoFix GetHeightForWidth for text controller 04/299204/3
Bowon Ryu [Thu, 21 Sep 2023 10:06:54 +0000 (19:06 +0900)]
Fix GetHeightForWidth for text controller

In the case of text label,
the height of the layout is used when returning the cached value of GetHeightForWidth.

But, this value is the height of the layout that has been Ellipsis processed.
It's not the height of the entire Text.

So, the intended height cannot be obtained.

This patch simply stores calculated values.

Change-Id: Ia5d06bdac39556776749de3e3078a3a7e230c36c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months ago[Tizen] Add log if destroyed visual get some signal
Jiyun Yang [Mon, 25 Sep 2023 05:30:22 +0000 (14:30 +0900)]
[Tizen] Add log if destroyed visual get some signal

This reverts commit d749cedb62fa1476c144d0dbc1c29ee9b21e4fa2.

Change-Id: I808cc025b2826d3af74f0d5a0fb0e9c9bc879f50

13 months agoMerge branch 'devel/master' into tizen
Jiyun Yang [Mon, 25 Sep 2023 05:30:07 +0000 (14:30 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Iae835e548bec5b8143a140a10f15ad1e6a1e3343

13 months agoRevert "[Tizen] Add log if destroyed visual get some signal"
Jiyun Yang [Mon, 25 Sep 2023 05:27:52 +0000 (14:27 +0900)]
Revert "[Tizen] Add log if destroyed visual get some signal"

This reverts commit 0a553b64399609599b361531bad3d4e2f449a7d2.

13 months agoMerge "Remove NPatchLoader observer when they request remove" into devel/master
Eunki Hong [Mon, 25 Sep 2023 05:15:17 +0000 (05:15 +0000)]
Merge "Remove NPatchLoader observer when they request remove" into devel/master

13 months agoMerge "ImageVisualShaderFactory refactoring" into devel/master
Seungho BAEK [Mon, 25 Sep 2023 03:12:41 +0000 (03:12 +0000)]
Merge "ImageVisualShaderFactory refactoring" into devel/master

13 months agoRemove NPatchLoader observer when they request remove 69/299269/1
Eunki, Hong [Mon, 25 Sep 2023 01:39:55 +0000 (10:39 +0900)]
Remove NPatchLoader observer when they request remove

Since we make remove NPatchData later, the observer was disconnected lately.
It might make some unusual behavior.

Change-Id: I794f22e21964962428f353ee84a9340687274808
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoDALi Version 2.2.45 48/299248/1 dali_2.2.45
Adeel Kazmi [Fri, 22 Sep 2023 14:12:10 +0000 (15:12 +0100)]
DALi Version 2.2.45

Change-Id: I972f5a6a463788d17b24a105d0b7c725b7ae22af

13 months agoMerge "Export the symbol for Physics::Integraiton::GetPhysicsWorld" into devel/master
David Steele [Thu, 21 Sep 2023 16:48:03 +0000 (16:48 +0000)]
Merge "Export the symbol for Physics::Integraiton::GetPhysicsWorld" into devel/master

13 months agoMerge "Make ImageVisual::Property::PIXEL_AREA animatable" into devel/master
Eunki Hong [Thu, 21 Sep 2023 15:41:13 +0000 (15:41 +0000)]
Merge "Make ImageVisual::Property::PIXEL_AREA animatable" into devel/master

13 months agoExport the symbol for Physics::Integraiton::GetPhysicsWorld 15/299215/1
Richard Huang [Thu, 21 Sep 2023 15:36:23 +0000 (16:36 +0100)]
Export the symbol for Physics::Integraiton::GetPhysicsWorld

Change-Id: Ica8e9689c98aef9ce77c838fa3b778c53ca213e2

13 months agoMake ImageVisual::Property::PIXEL_AREA animatable 20/299120/1
Eunki, Hong [Wed, 20 Sep 2023 06:47:59 +0000 (15:47 +0900)]
Make ImageVisual::Property::PIXEL_AREA animatable

Since PixelArea was not animatable for visual side,
we cannot animate some cases who register image visual hardly.

This patch make we allow to animate PixelArea at ImageVisual,
instead of ImageView directly.

Change-Id: Ib00b771a2db938cf8ece17ffa4566c7b0b9bb800
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoImageVisualShaderFactory refactoring 87/299087/2
seungho baek [Tue, 19 Sep 2023 07:36:33 +0000 (16:36 +0900)]
ImageVisualShaderFactory refactoring

 ImageVisualShaderFactory::GetShader method is too long and complex.
 The method uses same logic for two different purpose in a method
 that makes difficult to understand.
 And the method also has too many braces depth.

 This patch moves some features that to create shaderType and
 to retrive shaderPreFix to ImageVisualShaderFeatureBuilder.
 Now ImageVisualShaderFeatureBuilder manages all responsibility
 to define shader codes following its options.
 And slides some codes for readability and it make possible remove
 unnecessary comments.

Change-Id: I09a725d4e101cb65badffe3a897572971e2c336b
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months agoAllow to send ResourceReady signal unlimited 16/298716/5
Eunki Hong [Tue, 12 Sep 2023 23:57:23 +0000 (08:57 +0900)]
Allow to send ResourceReady signal unlimited

Previously we miss callback when ResourceReady called continusouly.
Let we use IdleCallbackManager system with return value, so we can
re-install Idle callback.

Change-Id: I56d73545ae7d8a122c8bead396affd4e962f7bb8
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago[Tizen] Add log if destroyed visual get some signal accepted/tizen/8.0/unified/20231005.094033 accepted/tizen/unified/20230919.091759 tizen_8.0_m2_release
Seoyeon Kim [Mon, 18 Sep 2023 07:22:21 +0000 (16:22 +0900)]
[Tizen] Add log if destroyed visual get some signal

This reverts commit 7a8c9a6f68e654097ce0584b62441c735872bb33.

Change-Id: I1eeaeb2495cc229a3d199516339f90774891d128

13 months agoMerge branch 'devel/master' into tizen
Seoyeon Kim [Mon, 18 Sep 2023 07:22:16 +0000 (16:22 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I93e4c58f4c30131bb4c234a3455233ee5c1d5a76

13 months agoRevert "[Tizen] Add log if destroyed visual get some signal"
Seoyeon Kim [Mon, 18 Sep 2023 07:22:02 +0000 (16:22 +0900)]
Revert "[Tizen] Add log if destroyed visual get some signal"

This reverts commit 791109fac4180b7055384c9c1db96e281b1b2da0.

13 months agoRevert "[Tizen] Added integration api to physics"
Seoyeon Kim [Mon, 18 Sep 2023 07:21:59 +0000 (16:21 +0900)]
Revert "[Tizen] Added integration api to physics"

This reverts commit 2ab44ebeec5fe2b6f4d1d74a7efb5dfe90435510.

13 months agoPrevent copy calls from repeat events of ctrl + c 73/298973/1
Bowon Ryu [Mon, 18 Sep 2023 03:08:11 +0000 (12:08 +0900)]
Prevent copy calls from repeat events of ctrl + c

now, even if user hold down ctrl + c on text controller,
copy will only be called once.

The patch below was added for this behavior.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/298930/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/298931/

Change-Id: I521f4ad3baa5270f5fde0e484e27885b9a75e077
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months agoMerge "Update expected value of UtcDaliGetMirroredText" into devel/master
Bowon Ryu [Mon, 18 Sep 2023 01:40:59 +0000 (01:40 +0000)]
Merge "Update expected value of UtcDaliGetMirroredText" into devel/master

13 months agoMerge "Added integration api to physics" into devel/master
Adeel Kazmi [Fri, 15 Sep 2023 13:13:56 +0000 (13:13 +0000)]
Merge "Added integration api to physics" into devel/master

13 months agoDALi Version 2.2.44 44/298944/1 dali_2.2.44
Adam Bialogonski [Fri, 15 Sep 2023 11:24:35 +0000 (12:24 +0100)]
DALi Version 2.2.44

Change-Id: I7eda2c8ee4d88d36949f639785bc311b24d6a133

13 months agoAdded integration api to physics 20/298620/6
David Steele [Mon, 11 Sep 2023 17:37:30 +0000 (18:37 +0100)]
Added integration api to physics

Changed locking mechanism to enable NUI ScopedAccessor

Added 2nd user data to cpBody (for our ref, as c#
ref uses 1st user data)

Change-Id: Idf3ef1a172a03cbdbf587ef8993c787e1fa7c633

13 months ago[Tizen] Added integration api to physics accepted/tizen/unified/20230915.085408
seungho baek [Thu, 14 Sep 2023 09:46:07 +0000 (18:46 +0900)]
[Tizen] Added integration api to physics

This reverts commit fab80765a2be37aa58d479bc78e8c496f09a4224.

Change-Id: Id4a66d3ecb502220d9c76e2a45e10b25e71c9c23

13 months ago[Tizen] Add log if destroyed visual get some signal
seungho baek [Thu, 14 Sep 2023 09:45:43 +0000 (18:45 +0900)]
[Tizen] Add log if destroyed visual get some signal

This reverts commit 0c59020225b5de90c07e9d710e1ed48eccd544e4.

Change-Id: Ia3e7b2393e7bd339b553c927c3f1439c88ce867a

13 months agoMerge branch 'devel/master' into tizen
seungho baek [Thu, 14 Sep 2023 09:45:24 +0000 (18:45 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: If043598cca0147e13e34d810053779d668530127

13 months agoRevert "[Tizen] Add log if destroyed visual get some signal"
seungho baek [Thu, 14 Sep 2023 09:45:18 +0000 (18:45 +0900)]
Revert "[Tizen] Add log if destroyed visual get some signal"

This reverts commit 378f9648ed57a17512c442bd95105609b8523edf.

13 months agoRevert "[Tizen] Added integration api to physics"
seungho baek [Thu, 14 Sep 2023 09:45:14 +0000 (18:45 +0900)]
Revert "[Tizen] Added integration api to physics"

This reverts commit 018d6fb630d171b9bb322911bc87b4eb6cd4da22.

13 months agoUpdate expected value of UtcDaliGetMirroredText 60/298860/1
Bowon Ryu [Thu, 14 Sep 2023 09:16:24 +0000 (18:16 +0900)]
Update expected value of UtcDaliGetMirroredText

The text direction determination logic has been changed,
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/298855/

so the result of GetMirroredText() may different from the previous one,
especially when dealing with mixed LTR + RTL text.
(and particulary when brackets are involved)

Update the TC with the coreect values.

Change-Id: I678211880250035caea4d6142e69fd427268b1ff
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months agoMerge "Change the SENSITVE value of accessibility" into devel/master
Wonsik Jung [Thu, 14 Sep 2023 08:19:30 +0000 (08:19 +0000)]
Merge "Change the SENSITVE value of accessibility" into devel/master

13 months agoMerge "Support FastTrackUploading for YUV images" into devel/master
Eunki Hong [Thu, 14 Sep 2023 08:17:02 +0000 (08:17 +0000)]
Merge "Support FastTrackUploading for YUV images" into devel/master

13 months agoFix Shadow issue 66/298766/4
seungho baek [Wed, 13 Sep 2023 08:02:06 +0000 (17:02 +0900)]
Fix Shadow issue

 - When Model is added after shadow is set, the model cannot used for shadow

Change-Id: Iaec0f3e389068342cef9b2769e060e69832354ee
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
13 months agoSupport FastTrackUploading for YUV images 99/298299/14
Eunki, Hong [Tue, 5 Sep 2023 08:10:11 +0000 (17:10 +0900)]
Support FastTrackUploading for YUV images

Let we support YUV image case without additional image loading
or image operation.

Instead, let we think that FastTrackUploading will use
YUV format always if DALI_LOAD_IMAGE_YUV_PLANES=1.
And then, revert as standard shader if we are not use
YUV case actually.

To support this feature. let we make unified YUV + RGB shader can use
standard rgb image color for special case.
After load completed, we can determine the type of shader.

Change-Id: Ia4ffa288e705af751e722cd1440de2a014ad19b4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months ago[Tizen] Added integration api to physics 21/298821/2
David Steele [Mon, 11 Sep 2023 17:37:30 +0000 (18:37 +0100)]
[Tizen] Added integration api to physics

Changed locking mechanism to enable NUI ScopedAccessor

Added 2nd user data to cpBody (for our ref, as c#
ref uses 1st user data)

Change-Id: Idf3ef1a172a03cbdbf587ef8993c787e1fa7c633

13 months ago[Tizen] Add log if destroyed visual get some signal 65/298765/1
Eunki Hong [Tue, 12 Sep 2023 15:53:42 +0000 (00:53 +0900)]
[Tizen] Add log if destroyed visual get some signal

Change-Id: If9e40cc802fc8032e7b4bfa7df38f75a9fceed33
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months ago[Scene3D] Cache image load result so models can share it. 88/298188/15
Eunki Hong [Sun, 3 Sep 2023 06:05:44 +0000 (15:05 +0900)]
[Scene3D] Cache image load result so models can share it.

Let we cache the PixelData and Texture so various models can use it.

We cache the model resources, and let we use them same resources.
But if some seperated models using same images, we cannot cache about it.

There are relative usecase occured + Unity support this kind of cache system,
let we also cache images + textures locally.

---

First, we can cache url --> PixelData.
This caching might occured on multi threading system. So we have to lock the mutex
when we try to access this kind of pixeldata access.

Second, we can cache PixelData --> Texture.
This caching should be occured only for main thread.

---

We support Garbage Collect system to avoid full-iterating cached resources.
During GC, we should remove Texture first, and then PixelData.
(Since PixelData can be the key of Texture.)

Currenly, we will call GC only of ModelCache reference count become 0.

Change-Id: I5e89f214593503fa9e8b2290c3859f2674ff7048
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoEnsure all thrid-party code is removed from coverage calculations 19/298619/2
Adeel Kazmi [Mon, 11 Sep 2023 16:23:35 +0000 (17:23 +0100)]
Ensure all thrid-party code is removed from coverage calculations

Change-Id: I41e6e105680f38de8369d40145895750a37e6ef4

14 months agoFix coverity issue on chipmunk-physics-debug 07/298607/1
Eunki Hong [Mon, 11 Sep 2023 10:22:26 +0000 (19:22 +0900)]
Fix coverity issue on chipmunk-physics-debug

- Uninitialized value for mDebugOptions
- Unreached code line

Change-Id: Ida0e45195346c6d5d83702f905f29ffce4dde526
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20230912.171608
joogab.yun [Mon, 11 Sep 2023 06:09:34 +0000 (15:09 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ib9ee6b7ccd3f0e93338fe853888adde70acdb708

14 months agoMerge "Register PixelArea property only if required." into devel/master
Eunki Hong [Mon, 11 Sep 2023 03:04:36 +0000 (03:04 +0000)]
Merge "Register PixelArea property only if required." into devel/master

14 months agoMerge "Apply fittingMode lazy when resource is not ready" into devel/master
sunghyun kim [Mon, 11 Sep 2023 00:55:26 +0000 (00:55 +0000)]
Merge "Apply fittingMode lazy when resource is not ready" into devel/master

14 months agoRegister PixelArea property only if required. 95/298495/3
Eunki, Hong [Fri, 8 Sep 2023 00:01:15 +0000 (09:01 +0900)]
Register PixelArea property only if required.

Since we were try to register uPixelArea property for every image-visual,
The Shader try to send PropertResetter very frequencly.

Since we only need to register that property only 1 time +
We can control pixel area by Renderer,
Let we register uPixelArea property only 1 times for creation.

And also, there was some useless uPixelArea usage on text-visual.
Let we just remove it.

Change-Id: Ib784e0088243f2a70f8556ae0dc9fa7c957b5aa2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoMerge changes I0729e532,I6b908dda,I8aad01f7 into devel/master
David Steele [Fri, 8 Sep 2023 16:43:23 +0000 (16:43 +0000)]
Merge changes I0729e532,I6b908dda,I8aad01f7 into devel/master

* changes:
  Added debug renderer for Chipmunk
  Changing hit test to pass in optional filter
  Bug fixes for 2d physics

14 months agoDALi Version 2.2.43 32/298532/1 dali_2.2.43
Richard Huang [Fri, 8 Sep 2023 09:46:15 +0000 (10:46 +0100)]
DALi Version 2.2.43

Change-Id: I929b693ee1b4ca6bd00c3355a19053ee2b2edf91

14 months agoAdded debug renderer for Chipmunk 15/298415/3
David Steele [Wed, 6 Sep 2023 15:39:35 +0000 (16:39 +0100)]
Added debug renderer for Chipmunk

Change-Id: I0729e53256aeb0af395bf76aeab32305708d5a95

14 months agoChanging hit test to pass in optional filter 93/298493/1
David Steele [Thu, 7 Sep 2023 13:47:09 +0000 (14:47 +0100)]
Changing hit test to pass in optional filter

Change-Id: I6b908dda86596a70a001d1a2be307ce9c5f1b231

14 months agoBug fixes for 2d physics 92/298492/1
David Steele [Thu, 7 Sep 2023 14:15:46 +0000 (15:15 +0100)]
Bug fixes for 2d physics

Ensure that empty function queue doesn't cause crash
Fix the actor / physics world rotation translation (due to mirroring
the Y coords)

Changed the order of the inclusion files to ensure that a clean build
picks up the version of headers in the dali-physics/third-party folder.

Change-Id: I8aad01f7b9292e2c29642e61966daa33117d1efb
Signed-off-by: David Steele <david.steele@samsung.com>
14 months agoChange the SENSITVE value of accessibility 66/296466/3
Wonsik Jung [Fri, 28 Jul 2023 06:40:58 +0000 (15:40 +0900)]
Change the SENSITVE value of accessibility

Change the SENSITIVE value of accessibility using actor's hittable and touch required.

Change-Id: I57f58f09360149573d1682eca0435852229a5101

14 months agoApply fittingMode lazy when resource is not ready 43/297443/2
sunghyun kim [Fri, 18 Aug 2023 08:14:21 +0000 (17:14 +0900)]
Apply fittingMode lazy when resource is not ready

FittingMode may not work properly if ResourceReady is called later than Relayout.
to prevent this, modify to apply FittingMode late if Resource is not ready

Change-Id: Idb0c572a9aa034cea25f563ffbc256ad8eacacda

14 months agoMerge branch 'devel/master' into tizen accepted/tizen/unified/20230906.121329
ANZ1217 [Tue, 5 Sep 2023 12:19:55 +0000 (21:19 +0900)]
Merge branch 'devel/master' into tizen

14 months agoMerge "Guard NPatchData removal case during signal emit" into devel/master
Eunki Hong [Tue, 5 Sep 2023 08:44:13 +0000 (08:44 +0000)]
Merge "Guard NPatchData removal case during signal emit" into devel/master

14 months agoMerge "Fix gcc-13 build error at dali-physics" into devel/master
David Steele [Mon, 4 Sep 2023 10:53:22 +0000 (10:53 +0000)]
Merge "Fix gcc-13 build error at dali-physics" into devel/master

14 months agoGuard NPatchData removal case during signal emit 67/297967/5
Eunki, Hong [Tue, 29 Aug 2023 06:52:47 +0000 (15:52 +0900)]
Guard NPatchData removal case during signal emit

It was possible that NPatchData removed during NotifyObserver.
For more safety, let we make NPatchData as shared_ptr, instead
of unique_ptr.

And also, let we don't touch observer list container during
NotifyObservers.

And also, let we remove NPatchInfo at post processing.
It will keep the life of NPatchData during NotifyObserver try to
remove the NPatchInfo.

Change-Id: Ieca33a2231df38d23966f96593506d67333cfcd0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoFix svace issues for dali-physics 93/298193/1
Eunki, Hong [Mon, 4 Sep 2023 01:17:24 +0000 (10:17 +0900)]
Fix svace issues for dali-physics

Change-Id: I83874fa56a4373ae6e892dedf6e61da17f0a9ceb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoFix gcc-13 build error at dali-physics 87/298187/1
Eunki Hong [Sun, 3 Sep 2023 04:21:16 +0000 (13:21 +0900)]
Fix gcc-13 build error at dali-physics

Change-Id: I91e7ab81a8d983661c5cbe613e4c0a23466a030b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoMerge changes I776588c1,I7292a2fb into devel/master
Adeel Kazmi [Fri, 1 Sep 2023 14:02:39 +0000 (14:02 +0000)]
Merge changes I776588c1,I7292a2fb into devel/master

* changes:
  Adding chipmunk implementation for physics adaptor
  Adding bullet physics files

14 months agoMake subsurface texture not be enabled in dli 44/298144/4
seungho baek [Fri, 1 Sep 2023 07:52:42 +0000 (16:52 +0900)]
Make subsurface texture not be enabled in dli

 - dli shaders not use subsurface sampler but the texture is added to textureSet

Change-Id: I2aab8f8e91c663cdc49cdb97a6e4a3a54efc014f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
14 months agoMerge "DALi Version 2.2.42" into devel/master
David Steele [Fri, 1 Sep 2023 11:55:31 +0000 (11:55 +0000)]
Merge "DALi Version 2.2.42" into devel/master

14 months agoDALi Version 2.2.42 70/298170/1 dali_2.2.42
David Steele [Fri, 1 Sep 2023 11:50:20 +0000 (12:50 +0100)]
DALi Version 2.2.42

Change-Id: I8fb2d0684ce7b6ed840382179372ab2346cf3379

14 months agoMerge "(Vector) Flush lottie update informations" into devel/master
Eunki Hong [Fri, 1 Sep 2023 01:31:33 +0000 (01:31 +0000)]
Merge "(Vector) Flush lottie update informations" into devel/master

14 months agoAdding chipmunk implementation for physics adaptor 46/297746/6
David Steele [Tue, 22 Aug 2023 13:13:20 +0000 (14:13 +0100)]
Adding chipmunk implementation for physics adaptor

Splitting out common implementation for PhysicsWorld
and Physicsadaptor to base classes.

Split out test cases into dali-physics2d & dali-physics3d sets

Change-Id: I776588c1d4845cda450f0c95ad455097400d9a17
Signed-off-by: David Steele <david.steele@samsung.com>
14 months agoMerge "Fix typo error (djikstra -> dijkstra)" into devel/master
David Steele [Thu, 31 Aug 2023 14:38:30 +0000 (14:38 +0000)]
Merge "Fix typo error (djikstra -> dijkstra)" into devel/master

14 months agoMerge "Fix crash issue when navi-mesh seperated" into devel/master
David Steele [Thu, 31 Aug 2023 14:38:16 +0000 (14:38 +0000)]
Merge "Fix crash issue when navi-mesh seperated" into devel/master

14 months agoMerge "Optimize dijkstra path finder algorithm" into devel/master
Adeel Kazmi [Thu, 31 Aug 2023 14:30:06 +0000 (14:30 +0000)]
Merge "Optimize dijkstra path finder algorithm" into devel/master

14 months agoMerge "Shadow Mapping" into devel/master
Seungho BAEK [Thu, 31 Aug 2023 04:31:12 +0000 (04:31 +0000)]
Merge "Shadow Mapping" into devel/master

14 months agoFix typo error (djikstra -> dijkstra) 50/298050/1
Eunki Hong [Wed, 30 Aug 2023 18:44:56 +0000 (03:44 +0900)]
Fix typo error (djikstra -> dijkstra)

Fix typo error of algorithm name

Change-Id: I888f543005ea07ff446d04ffd941325e52ed0551
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoFix crash issue when navi-mesh seperated 49/298049/1
Eunki Hong [Wed, 30 Aug 2023 18:35:41 +0000 (03:35 +0900)]
Fix crash issue when navi-mesh seperated

It is possible that there is no path between navi-mesh polygons.
If then, we return empty WayPointList. And then, crashed.

To avoid that cases, let we check whether FindPath result empty.

Change-Id: Id506c50022678c442d609d219d8c9baf53b46408
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoOptimize dijkstra path finder algorithm 48/298048/2
Eunki Hong [Wed, 30 Aug 2023 17:49:41 +0000 (02:49 +0900)]
Optimize dijkstra path finder algorithm

Let we use dijkstra with O(E log E) method, which is optimized.

Change-Id: Ie3afe3ff1a526e1ec6edb6b3d5817834caaf1120
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>