Eunki, Hong [Wed, 1 Nov 2023 04:18:13 +0000 (13:18 +0900)]
[Tizen] Remove observer from mLoadQueue when we request to remove observer
That might be happen during ResourceReady signal observing
- Add
- Remove
- Add
If than, the added request added in mLoadQueue 2 times.
and Remove request try to remove observe there (but will be failed actually.)
So, the visual get LoadCompleted signal twice.
It might have some logical problem in AnimatedImageVisual.
So let we keep ensure that 1-observer can only emit only 1-time.
Change-Id: I3eee087118cf62761709b8416fe09cf52094d156
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Taehyub Kim [Mon, 30 Oct 2023 10:16:47 +0000 (19:16 +0900)]
[Tizen] Change precompile shader list for performance
This reverts commit
fd1b36f430f9a51b421d2b908fb1391e580c8229.
Taehyub Kim [Mon, 30 Oct 2023 10:16:08 +0000 (19:16 +0900)]
[Tizen] Apply precompile shader
This reverts commit
a5bbab90102df4ecea1f04101b03fa54adb97119.
Taehyub Kim [Mon, 30 Oct 2023 10:15:02 +0000 (19:15 +0900)]
[Tizen] Add log if destroyed visual get some signal
This reverts commit
e0846796d38b972875fb59392816535494be2861.
Change-Id: I0ef20400a00565630c9f5510279cb0114eab5d09
Taehyub Kim [Mon, 30 Oct 2023 10:14:03 +0000 (19:14 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I74600258660c1037d24a90383473c15abd2679fb
Taehyub Kim [Mon, 30 Oct 2023 10:13:39 +0000 (19:13 +0900)]
Revert "[Tizen] Add log if destroyed visual get some signal"
This reverts commit
1b3e430176957d94636dcf893ebeb5a6456522b1.
Taehyub Kim [Mon, 30 Oct 2023 10:13:32 +0000 (19:13 +0900)]
Revert "[Tizen] Apply precompile shader"
This reverts commit
e166362c4973fdec5cbeb72e75c443a13e7f8830.
Taehyub Kim [Mon, 30 Oct 2023 10:13:28 +0000 (19:13 +0900)]
Revert "[Tizen] Change precompile shader list for performance"
This reverts commit
575395b7c3c37e49a910ad141b3cd0f4b037ae98.
Eunki, Hong [Fri, 27 Oct 2023 05:04:05 +0000 (14:04 +0900)]
Add some more logs for images
- Print the size of loaded image
- Print url for SVG and Lottie
- Change the name of VisualUrl property (for line coverage)
Change-Id: I271407112975249c06175875e9430996139f44e4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Seoyeon Kim [Mon, 30 Oct 2023 00:24:45 +0000 (00:24 +0000)]
Merge "Remove the duplicated call with Focused call" into devel/master
Eunki Hong [Fri, 27 Oct 2023 10:30:43 +0000 (10:30 +0000)]
Merge "Support NativeImageInterface can generate url" into devel/master
David Steele [Fri, 27 Oct 2023 09:35:34 +0000 (10:35 +0100)]
DALi Version 2.2.50
Change-Id: I1ccc9f25a084dbefb87acfd8325bb9b338606a57
Seoyeon Kim [Fri, 27 Oct 2023 05:35:03 +0000 (14:35 +0900)]
Remove the duplicated call with Focused call
- To call `Activate()` of IME is already called in `OnKeyInputFocusGained()`
and `OnKeyInputFocusGained()` is called by `OnTap()`.
- So, IME activate call is called twice unnecessarily.
- Also, IME properties did not be set in `OnTap`,
so the normal layout of input panel shows first,
and then another type of input panel shows again. (Issue)
- Fix this issue to erase to call `Activate` in `OnTap()`.
Change-Id: Ie18b35042b0b7878efd0a8fe3fbbd5da1d3e6def
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Eunki Hong [Thu, 26 Oct 2023 08:20:54 +0000 (17:20 +0900)]
Support NativeImageInterface can generate url
Previously, we only support to generate url only by native image source.
But now, there was some usage to generate url from NativeImageQueue.
Unfortunatly, NativeImageQueue is devel api. So, let we just support
NativeImageInterface instead of NativeImageQueue directly.
Change-Id: I722cc599b6f3d7ddfe7d0727e5a2efcb4c4fb0fb
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 25 Oct 2023 07:49:04 +0000 (16:49 +0900)]
[Tizen] Change precompile shader list for performance
This reverts commit
d1c6f8150819e00d1b47677731468b5c5c45eeb0.
Change-Id: I2173743af9706a67293412af4a929311982017a0
Eunki, Hong [Wed, 25 Oct 2023 07:47:15 +0000 (16:47 +0900)]
[Tizen] Apply precompile shader
This reverts commit
5442793ffe3a14421ccf4f984e99500665a0848f.
Change-Id: I1523b8787ec9db37ceeee3518cc54ac16f960320
Eunki, Hong [Wed, 25 Oct 2023 07:44:47 +0000 (16:44 +0900)]
[Tizen] Add log if destroyed visual get some signal
This reverts commit
7ab59cb28b19164a43504e217a098a2cd53ceeb9.
Change-Id: I7a6821f47bd9730d680dfbf5414c2697caca083f
Eunki, Hong [Wed, 25 Oct 2023 07:43:09 +0000 (16:43 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I363c129d13be55e00ddd0d1185059a54028242a0
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.
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.
Eunki, Hong [Wed, 25 Oct 2023 07:42:52 +0000 (16:42 +0900)]
Revert "[Tizen] Apply precompile shader"
This reverts commit
6dc98c1ee5770c402af474654329103077443919.
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.
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.
Eunki, Hong [Wed, 25 Oct 2023 07:42:44 +0000 (16:42 +0900)]
Revert "[Tizen] Add TextFitArray to text label"
This reverts commit
fb5c41dd50706c183a05baf5ec32c1e9f82881b9.
Eunki, Hong [Wed, 25 Oct 2023 07:42:42 +0000 (16:42 +0900)]
Revert "[Tizen] Fix ZWJ issue"
This reverts commit
7bff0b52925629229f71f5c03091324221d29bb5.
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.
Eunki, Hong [Wed, 25 Oct 2023 07:42:38 +0000 (16:42 +0900)]
Revert "[Tizen] Destroy removal visuals after idler"
This reverts commit
65a66e2a1d512363bef4f9f3af065eb27a17fcbc.
Eunki Hong [Tue, 24 Oct 2023 14:05:43 +0000 (23:05 +0900)]
Ensure blendshape weight between [0..1]
Let we ensure the blendshape weight is between 0 and 1.
So ignore cases when weight value is bigger than 1, less than 0.
Change-Id: I3bdd0a3f59498654e6e7ac65a4a2e665a58a9fcc
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 23 Oct 2023 11:34:24 +0000 (20:34 +0900)]
Fix minor coverity issues (phase 2)
- Move std::string
- Move std::function
- Move some Property::Map if possible
Change-Id: I1400f02aa30e37b71a8d731d108bdf41acd88e1c
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 23 Oct 2023 03:18:10 +0000 (12:18 +0900)]
Fix randomly failed UTC (2)
Change-Id: I1a7470c05fc2bb65910a643e7da5d4868c44c3f7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sat, 21 Oct 2023 14:35:34 +0000 (23:35 +0900)]
Fix randomly failed UTC
- UtcDaliModelResourceCacheCheck
There was some logical error for that UTC.
- UtcDaliAnimatedImageVisualMultiImage01
It was possible that some AsyncTask can be processed
without event trigger. It is impossible to resolved now.
Until we make toolkit-async-task-manager, just block this UTC.
Change-Id: Id0e3a944d9dc83261180ef1a96faab754626133c
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 20 Oct 2023 09:19:34 +0000 (09:19 +0000)]
Merge "Remove Rasterize task when svg load failed" into devel/master
Adeel Kazmi [Fri, 20 Oct 2023 06:07:49 +0000 (07:07 +0100)]
DALi Version 2.2.49
Change-Id: Iff66d95be44e2194a361751108e0173bfd691f2d
Eunki, Hong [Thu, 19 Oct 2023 04:10:38 +0000 (13:10 +0900)]
Remove Rasterize task when svg load failed
Since RasterizeTask's IsReady return false; that task will not be removed
forever.
To avoid this useless task keeping, let we remove that task when svg load
failed.
Change-Id: I856fb5c88eac2234253b513b5ba9f772ffd41eba
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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
Bowon Ryu [Thu, 19 Oct 2023 02:30:20 +0000 (02:30 +0000)]
Merge "Fix ZWJ issue" into devel/master
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>
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>
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>
Bowon Ryu [Tue, 17 Oct 2023 06:36:03 +0000 (15:36 +0900)]
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>
Eunki, Hong [Tue, 17 Oct 2023 07:38:13 +0000 (16:38 +0900)]
Let we use default white IBL image even environment info not exist
When we use ModelNode without model url, we don't follow
environment map load task. So default IBL texture can be 'empty'.
In this case, the PBR shader what dali use default, might do some
strange behaviour.
To guard this cases, let we make all Dali::Scene3D::Model use
non-empty default textures.
Change-Id: I47cd1f5b89f812b2a35c5f4cb5dfb1084b5760a3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 16 Oct 2023 11:19:10 +0000 (20:19 +0900)]
Fix minor coverity issues
1. Remove std::string copy
2. Remove Property::Array copy
Change-Id: I9b45c0ff87588a6f79d8ae4a109909c7c016dbdf
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
sunghyun kim [Mon, 16 Oct 2023 08:08:41 +0000 (08:08 +0000)]
Merge "[Tizen] Change precompile shader list for performance" into tizen
Adeel Kazmi [Fri, 13 Oct 2023 13:22:14 +0000 (13:22 +0000)]
Merge "DALi Version 2.2.48" into devel/master
Adam Bialogonski [Fri, 13 Oct 2023 10:06:44 +0000 (11:06 +0100)]
DALi Version 2.2.48
Change-Id: If68564f4b8690d7fdff4f5c3d59e586586c3b07e
Bowon Ryu [Fri, 13 Oct 2023 06:52:58 +0000 (06:52 +0000)]
Merge "Add color tag for text markup anchor" into devel/master
Bowon Ryu [Thu, 12 Oct 2023 11:51:14 +0000 (20:51 +0900)]
Add color tag for text markup anchor
"<a color='blue' clicked-color='red' href='https://www.tizen.org'>TIZEN</a>"
user can set color and clicked color in the anchor tag.
if not set, default color is applied.
Change-Id: I6ed67b3ae4bec414e306d46bc2b70d4c7a87cdf7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki Hong [Thu, 12 Oct 2023 13:18:47 +0000 (22:18 +0900)]
Fix gcc-13 compile error (std::vector include)
Change-Id: I33ce58c0ee7862d2c5086b3f933128b38a3860ad
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
David Steele [Thu, 12 Oct 2023 10:28:45 +0000 (10:28 +0000)]
Merge "Destroy removal visuals after idler" into devel/master
David Steele [Thu, 12 Oct 2023 10:24:28 +0000 (10:24 +0000)]
Merge "Keep reference when member callback excute + Make NPatchData as RefObject" into devel/master
Eunki, Hong [Wed, 11 Oct 2023 12:53:00 +0000 (21:53 +0900)]
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: Id47083b158f91bb81666d6f2100811dedb0d70f1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Thu, 12 Oct 2023 04:30:21 +0000 (04:30 +0000)]
Merge "Add TextFitArray to text label" into devel/master
Eunki, Hong [Wed, 11 Oct 2023 08:04:44 +0000 (17:04 +0900)]
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.
Change-Id: Ibeab31bc309869aa7c2ee65cbff8789e7bb2a721
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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>
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
David Steele [Tue, 10 Oct 2023 10:28:01 +0000 (10:28 +0000)]
Merge "Update test harness to use matching build system" into devel/master
Bowon Ryu [Thu, 5 Oct 2023 02:29:45 +0000 (11:29 +0900)]
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>
Eunki Hong [Mon, 25 Sep 2023 10:21:00 +0000 (19:21 +0900)]
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>
Eunki Hong [Tue, 10 Oct 2023 01:48:09 +0000 (01:48 +0000)]
Merge "(WebView) Set display area and Change Visual when WebView relayout" into devel/master
David Steele [Fri, 6 Oct 2023 12:10:11 +0000 (13:10 +0100)]
DALi Version 2.2.47
Change-Id: I2b52489372e6b17b9cca2a4b6d587d2b91ac60cd
David Steele [Wed, 4 Oct 2023 16:34:08 +0000 (17:34 +0100)]
Update test harness to use matching build system
Change-Id: Ie78bf75496f7fb097afe487ad3a9650d9765ccf3
Adeel Kazmi [Fri, 29 Sep 2023 13:07:41 +0000 (13:07 +0000)]
Merge "(visual-base-impl) Reduce cyclomatic complexity" into devel/master
Richard Huang [Fri, 29 Sep 2023 11:27:40 +0000 (12:27 +0100)]
DALi Version 2.2.46
Change-Id: I1a50e964f0a5bcb1a6d383e1a4cfe505976124e6
Adeel Kazmi [Fri, 29 Sep 2023 11:27:17 +0000 (12:27 +0100)]
(visual-base-impl) Reduce cyclomatic complexity
Change-Id: I37a1f691aa8d3669ec6d08177231e29a748138f9
Adeel Kazmi [Thu, 28 Sep 2023 16:53:15 +0000 (17:53 +0100)]
Reduce Cyclomatic complexity in some text related files
Change-Id: If598f647cd4a1824f67a0e8a033d4ecf9856eb0e
Eunki, Hong [Tue, 26 Sep 2023 08:27:27 +0000 (17:27 +0900)]
[Tizen] Apply precompile shader
This reverts commit
c85161b9eebc05951f13abc9984e9a12e71608e5.
Change-Id: I94c01165999d032493906d39021e4af8716a1479
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
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
Eunki, Hong [Tue, 26 Sep 2023 08:26:43 +0000 (17:26 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: Ide505de71fb0bfb3ebbbff1e8b3f2edfe1acd9f2
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.
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.
Eunki, Hong [Tue, 26 Sep 2023 08:26:35 +0000 (17:26 +0900)]
Revert "[Tizen] Apply precompile shader"
This reverts commit
8aa5ae787e14584ef1d338d1b3be9b2ee0b6097b.
Bowon Ryu [Tue, 26 Sep 2023 08:21:03 +0000 (08:21 +0000)]
Merge "Add GetHeightForWidth for text visual model" into devel/master
sunghyun kim [Thu, 21 Sep 2023 06:01:48 +0000 (15:01 +0900)]
[Tizen] Apply precompile shader
Change-Id: Iada2a5933a341b6a816cc12ad9f342f95fdd009c
Eunki Hong [Tue, 26 Sep 2023 07:06:19 +0000 (07:06 +0000)]
Merge "Make NPatchData always use shared pointer" into devel/master
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>
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
Bowon Ryu [Tue, 26 Sep 2023 06:13:33 +0000 (06:13 +0000)]
Merge "Fix GetHeightForWidth for text controller" into devel/master
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>
Eunki, Hong [Wed, 20 Sep 2023 02:05:43 +0000 (11:05 +0900)]
(WebView) Set display area and Change Visual when WebView relayout
Previously, we change display area after only at PropertyNotification time.
It will wait until 1 frame rendered.
If we change web view size by event side, the display area applied lately.
This patch make we change update area when OnRelayout, so we can apply
changeness more faster timing.
--
And also, Let we change visual when the size of webview changed.
If so, it can be reduce some flickering effect while change the udpate area.
Change-Id: Ia7d6becc11160d88353f62bbdb43f75764550b67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Mon, 25 Sep 2023 16:18:19 +0000 (17:18 +0100)]
Reduce LOC of ImageVisual
Change-Id: Ib6ace96a0fafb6f14e35bacb29e9eeac50431883
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>
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>
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
Jiyun Yang [Mon, 25 Sep 2023 05:30:07 +0000 (14:30 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: Iae835e548bec5b8143a140a10f15ad1e6a1e3343
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.
Eunki Hong [Mon, 25 Sep 2023 05:15:17 +0000 (05:15 +0000)]
Merge "Remove NPatchLoader observer when they request remove" into devel/master
Seungho BAEK [Mon, 25 Sep 2023 03:12:41 +0000 (03:12 +0000)]
Merge "ImageVisualShaderFactory refactoring" into devel/master
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>
Adeel Kazmi [Fri, 22 Sep 2023 14:12:10 +0000 (15:12 +0100)]
DALi Version 2.2.45
Change-Id: I972f5a6a463788d17b24a105d0b7c725b7ae22af
David Steele [Thu, 21 Sep 2023 16:48:03 +0000 (16:48 +0000)]
Merge "Export the symbol for Physics::Integraiton::GetPhysicsWorld" 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
Richard Huang [Thu, 21 Sep 2023 15:36:23 +0000 (16:36 +0100)]
Export the symbol for Physics::Integraiton::GetPhysicsWorld
Change-Id: Ica8e9689c98aef9ce77c838fa3b778c53ca213e2
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>
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>
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>
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
Seoyeon Kim [Mon, 18 Sep 2023 07:22:16 +0000 (16:22 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I93e4c58f4c30131bb4c234a3455233ee5c1d5a76
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.
Seoyeon Kim [Mon, 18 Sep 2023 07:21:59 +0000 (16:21 +0900)]
Revert "[Tizen] Added integration api to physics"
This reverts commit
2ab44ebeec5fe2b6f4d1d74a7efb5dfe90435510.