Bowon Ryu [Fri, 7 Mar 2025 10:57:59 +0000 (19:57 +0900)]
[Tizen] Add ellipsis mode to text label
Added ELLIPSIS_MODE to automatically support auto scroll.
In case of Ellipsize::AUTO_SCROLL,
when the text exceeds the layout, it will automatically scroll with animation.
Below are some limitations:
Ellipsize::AUTO_SCROLL shares the properties of AUTO_SCROLL Animation:
AUTO_SCROLL_SPEED, AUTO_SCROLL_LOOP_COUNT, AUTO_SCROLL_GAP, AUTO_SCROLL_LOOP_DELAY
Ellipsize::AUTO_SCROLL forces the setting of AUTO_SCROLL_STOP_MODE to IMMEDIATE.
To dynamically turn off Ellipsize::AUTO_SCROLL, set Ellipsize::TRUNCATE.
Cannot be used simultaneously with ENABLE_AUTO_SCROLL.
Change-Id: I0473f774505378273a05f07f6ee864ecae79abff
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
ANZ1217 [Thu, 13 Mar 2025 04:14:39 +0000 (13:14 +0900)]
[Tizen] Fix issue where vertical alignment "CENTER" does not align based on line height.
Change-Id: I5ab02ca57a6f3a39bf71717141d7c3144c9d5af1
ANZ1217 [Mon, 17 Mar 2025 04:42:54 +0000 (13:42 +0900)]
Revert "Fix issue where vertical alignment "CENTER" does not align based on line height."
This reverts commit
f710ec338068577b60dacf94a6da40f4498c7ddc.
Change-Id: I1690f16c798bba4e0553d3046e0581531edf2a1c
ANZ1217 [Thu, 13 Mar 2025 04:14:39 +0000 (13:14 +0900)]
Fix issue where vertical alignment "CENTER" does not align based on line height.
Change-Id: I7b68c67246b58f40306e4c6170245a5f50e35919
Eunki, Hong [Wed, 12 Mar 2025 05:16:37 +0000 (14:16 +0900)]
[Tizen] Fix stretchRanges error when we use cached image with border
Their was some typo error when we copy npatch image infomations from
cached data
Change-Id: Iea632af9dc94825ed59d4df07cf8c7821b2396cc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Thu, 20 Feb 2025 06:15:13 +0000 (15:15 +0900)]
[Tizen] Optimize for AsyncTextManager
Slow operations such as InitDefaultFontDescription are performed in worker threads.
This is performed once on the first task of each AsyncTextLoader.
The calculation time for the first task increases slightly compared to before,
but the delay in the UI thread is minimal.
Change-Id: I864686519da43040d45860ccbe43924430f5e7d5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Thu, 20 Feb 2025 01:36:30 +0000 (10:36 +0900)]
[Tizen] Apply custom font directories to async text loader
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/319912
Change-Id: I5b82be4ec53a9ad4b08b371e518e76ee8670382c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Wed, 19 Feb 2025 04:50:13 +0000 (13:50 +0900)]
[Tizen] Initializes the locale of text modules with locale api
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/319856
Change-Id: I550ff42f354423c2ab86fee3994fe2234725a22e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Mon, 17 Feb 2025 07:57:48 +0000 (16:57 +0900)]
[Tizen] Add DestroyInfo to ClearCharacterModelData
When the text model is partially cleared through ClearCharacterModelData,
BidirectionalInfo should also be destroyed.
Change-Id: I6557add9ab63c11d6f5ad4e671d3ab88ef2a0ca3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Mon, 17 Feb 2025 01:11:47 +0000 (10:11 +0900)]
[Tizen] Fix bidirectional info clear issue
ClearBidirectionalParagraphInfo is called before mBidirectionalParagraphInfo is cleared to maintain sync so that the vector scope is valid.
Change-Id: Ib3cba9b13e28e873b0a0cd157c5cea19947652f0
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dongsug.song [Sat, 15 Feb 2025 08:56:09 +0000 (17:56 +0900)]
[Tizen] Add SetVideoHole() for EFL window
Change-Id: I8ed3d64acde277cc883ba436e9904578ec3c67a5
Bowon Ryu [Thu, 13 Feb 2025 11:48:08 +0000 (20:48 +0900)]
[Tizen] Fix text clustering issue
Prevent ligature breaks in unicode combinations containing combining diacritical marks.
Change-Id: I26618ba35b955b4434f87dff5c8b3b28e7a4ee1e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Wed, 12 Feb 2025 10:06:44 +0000 (19:06 +0900)]
[Tizen] Fix ascii digits sequence issue
If it is not a variation sequence, digits do not create a new sequence.
TODO:
Conditional statements for supporting various emojis are
becoming increasingly complex and difficult to maintain.
We need to refactor and implement the emoji standard table.
Change-Id: I17edef73bbc6e47a60cc4ba4e4e9f6a2c2932d94
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Wed, 12 Feb 2025 05:33:16 +0000 (14:33 +0900)]
[Tizen] Fix bidirectional line info index issue
In the RTL case, when text is inserted or removed in the middle of a bidi paragraph,
the character index of line info is not updated,
so there is a problem that the line info is damaged in reorders.
This patch updates the index of line info based on the bidi paragraph info updated in SetBidirectionalInfo.
Change-Id: Ifc1ddfa5f15ce89be967ce57241a093030be323d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Wed, 12 Feb 2025 04:15:12 +0000 (13:15 +0900)]
[Tizen] (TextAtlas) Let Text relative geometry use uint32_t indices
Due to the data format is uint16_t type, we cannot render well
if the length of text is bigger than 16384.
If we add underline or strokethrough, the number of text limitation
also be reduced.
To fix this issue, let we make indices what TextAtlas geometry use
uint32_t type, instead uint16_t type.
Since we support uint32_t* indices now a day, it will be okay.
Change-Id: I887d78bb5f7123580fc7d6d5b68e35a7d2fdd954
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 11 Feb 2025 11:02:54 +0000 (20:02 +0900)]
[Tizen] (TextEditor) Fix partial update issue for HighlightView
Change-Id: I57015dc86e80dd215acb6f215894ddea3e362691
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Thu, 6 Feb 2025 14:54:02 +0000 (23:54 +0900)]
[Tizen] Make TextureCoordinate relative shader codes use highp
Let we make texture coordinates and relative shader codes use highp instead of mediump.
It will reduce visual defect for high-resolution UI system
Change-Id: I2c326c90cf98ff0496aeb294825bf72c519821e2
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 5 Feb 2025 13:12:08 +0000 (22:12 +0900)]
[Tizen] Fix AnimatedImageVisual not rendering well if ReleasePolicy is not DETACHED
Their are some logical issue if we use ReleasePolicy as DESTROYED or NEVER
and SceneOff+SceneOn again cases.
Current ImageCache system not consider non-empty queue case when we call
FirstFrame();
Rather to fix the logic, let we simply clear the cache before re-call
FirstFrame();
Since we remove texture cache at processor time, Clear cache immediately
will not make any side effects.
Change-Id: Idbc1a2cc62724ff67b84554cc94dc7168fa7f942
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Wed, 5 Feb 2025 11:20:15 +0000 (20:20 +0900)]
[Tizen] Prevent atlas block corruption issue when renderer is reset
If UpdateTextType is NONE_UPDATED when Renderer is reset, RenderText does not perform rendering.
This causes several problems with atlas operation.
When the renderer is reset, all caches used by the text field are removed from AtlasManager.
At this time, if a cache of an ID that was previously used (now removed) by another editable text is created and used,
the atlas block of the existing text field will be damaged.
At least until the cache structure is improved, render must be performed when the renderer is reset.
Change-Id: Ic5f939e81920ab59e676ee50f450c6ffbb1259e3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Tue, 4 Feb 2025 01:16:12 +0000 (10:16 +0900)]
[Tizen] Fix some decorative line style issues in text
- fixed strikethrough rendering issue for editable text
- fixed an issue where the decorative line style of editable text was not rendered again when updated.
- clean up the decorative line related code of the atlas renderer
- fixed double underline issue in text label
Change-Id: I667155525c526dc36297b316b356028d61d24e76
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
ANZ1217 [Fri, 17 Jan 2025 10:22:57 +0000 (19:22 +0900)]
[Tizen] Fix bidirectionalinfo infinitely cached.
Change-Id: I935e011d3212fb903d0f622f77590960fa29da97
Eunki, Hong [Tue, 21 Jan 2025 02:09:59 +0000 (11:09 +0900)]
[Tizen] Fix mis-implementation - hash collision case for TextureManager
Change-Id: Ie14c0740e1e4c0bca83fb62f28a39970fb5f39ec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
ANZ1217 [Thu, 9 Jan 2025 08:22:34 +0000 (17:22 +0900)]
Fix potential out-of-bounds access during glyph-character calculations.
Add log for CreateCharacterToGlyphTable() and CreateGlyphsPerCharacterTable()
Change-Id: Ic3b859a491056188693ef64edab8a74d094b720d
Bowon Ryu [Fri, 10 Jan 2025 03:23:46 +0000 (12:23 +0900)]
[Tizen] Add fallback font find condition.
Add condition for variation cases that do not follow some fallback priorities.
TODO:
We need to import full emoji table to dali for full emoji support.
Change-Id: I9d0da6c079b7df9bdd177a980be610f9e911bd83
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Fri, 10 Jan 2025 04:20:37 +0000 (13:20 +0900)]
[Tizen] Do not use bitfield for thread sensitive values
Their was some mysterious bugs occured on real world application.
if(needRasterize)
{
mNeedToSleep = false;
}
DALI_TRACE_END_WITH_MESSAGE_GENERATOR(gTraceFilter, "VECTOR_ANIMATION_THREAD_COMPLETED_TASK", [&](std::ostringstream& oss) {
oss << "[w:" << mWorkingTasks.size() << ",c:" << mCompletedTasks.size() << ",r?" << needRasterize << ",s?" << mNeedToSleep << "]";
});
For like this code, we got r?1,s?1 logs.
mean, mNeedToSleep become true even if needRasterize is true.
mForceRenderOnce = true;
DALI_LOG_DEBUG_INFO("VectorAnimationThread::mEventTrigger Triggered!\n");
The mForceRenderOnce value didn't depend on mConditionalWait, the race condition
might occured.
To avoid this kind of issue, let we seperate memory area for each values
if they are thread sensitive.
Change-Id: Ie45d0c273ad318c46baf72a1c8462792a35460ad
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Thu, 9 Jan 2025 06:52:43 +0000 (15:52 +0900)]
[Tizen] Added new variation sequence generation rule
Splits the sequence of variation emojis more clearly.
Change-Id: I18f84ce365294158a16d9e37ed3df17a9c1e73d7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Wed, 8 Jan 2025 08:10:09 +0000 (17:10 +0900)]
[Tizen] Fix variation selector 15 issue
The behavior of variation selector 15 is not guaranteed
because the current script run is forced to change in IsScriptChangedToFollowSequence.
TODO:
There is an issue with ignoring font fallback priorities
because most emoji cases follow a sequence.
Change-Id: I24308f530c70923b8aef48dbad701e05a042ebd7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Tue, 7 Jan 2025 01:19:32 +0000 (10:19 +0900)]
[Tizen] Fix coverity issue : Dali::Vector<>.Size could be zero
Let's avoid size_t type overflow issue during binary search.
It could be broken if mMarks.Size() was 0u.
Also, if marks property value was not a float, also could be break (unlimited loop)
To avoid these kind of issue, let we change the logic of binary search
that is safe enough for overflow case.
Change-Id: I5b27daf0915c64e9192d4821b7d11e7e5a45f356
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 3 Jan 2025 08:37:28 +0000 (17:37 +0900)]
[Tizen] (TextAtlas) Bilt 2 pixels to avoid texture coordinate issue
We use 0.5 scaled texel coordinate for atlas texture.
For some cases, we might re-use texture coordinate what previous glyph written.
In this case, for some graphic driver try to use some color
over the bilt area.
To avoid this cases, let we fill bilt area width as 2 pixels, instead 1 pixel.
Change-Id: I8c3aa72f2c2ec43cb7a79d018b0972deab51935a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 3 Jan 2025 00:24:27 +0000 (09:24 +0900)]
[Tizen] Remove build warning : bitfield with negative value
Change-Id: Iada857e54a07920811277f94ac03af36c86c5ab9
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 30 Dec 2024 05:58:06 +0000 (14:58 +0900)]
[Tizen] Add doxygen tag SINCE_2_4
Change-Id: Ifc7b120143ae23eefe540387aece31c0608a6d4b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dongsug.song [Mon, 23 Dec 2024 05:38:30 +0000 (14:38 +0900)]
[Tizen] Add WebView DeviceListGet,SetDefaultAudio
Change-Id: I091e24086b2afe3176f13d406b10c54a18e6a66e
Eunki, Hong [Thu, 19 Dec 2024 02:43:13 +0000 (11:43 +0900)]
[Tizen] (WebView) Change also TransformSize if web view changed
Until now, we only change PixelArea value to control
web contents size if webView size changed and source not applied.
For scale-down case, it works well. But for scale-up case,
it will not works well.
To avoid this issue, let we allow to change transfrom size
will not over the original content size.
Also, we need to support to change transform data without create new visual.
Change-Id: I4fe1066fd744600ab56968e4efc8fe643a8af7e6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 12 Dec 2024 08:40:10 +0000 (17:40 +0900)]
[Tizen] (Vector) Make we always trigger EventThreadCallback always
Since their was some issue looks like eventfd didn't send callback
even if we trigger callback before.
Until we found good solution to resolve this issue, let we make trigger
the event callback always.
Change-Id: I8f12e47e2271ccdcef4746a0d2fc08f9b51665c4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dongsug.song [Sat, 14 Dec 2024 06:56:46 +0000 (15:56 +0900)]
[Tizen] Add WebView FeedMouseWheel as hidden api
Change-Id: I8d6993a07ab558a13424bf6af4866a725bec4be6
Eunki, Hong [Thu, 12 Dec 2024 08:40:10 +0000 (17:40 +0900)]
[Tizen](Vector) Assert if callback was nullptr + Make trigger works well even if callback was empty
Change-Id: I8f9218a0492fe67aeb9efd9f2ddfc75bddb2c529
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 9 Dec 2024 08:01:29 +0000 (17:01 +0900)]
[Tizen] Remove already applied dynamicProperties
Let we remove the list of dynamic properties info what we already send to task
Change-Id: Ib3a8024288cbcfae52a47ec2fd22d456a9a5b155
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Youngsun Suh [Wed, 4 Dec 2024 08:04:08 +0000 (17:04 +0900)]
Make sure Emit* is only enabled for ActorAccessible
Change-Id: Iaef1ef45f8cdc840cbc98c64d53084cf217e1d3e
Seungho Baek [Tue, 19 Nov 2024 05:46:25 +0000 (14:46 +0900)]
[Tizen] Add ReadPixels in test code
- And removes unused include
Change-Id: I48fda71424dba4df0bbd8b12e8c6004e94d6f9a2
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Eunki, Hong [Tue, 26 Nov 2024 05:02:11 +0000 (14:02 +0900)]
[Tizen] (WebView) Print some logs if webview doing actions
Change-Id: I0b102b5a616aee55b74e035513bbbc80aeeddd94
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 26 Nov 2024 08:25:48 +0000 (17:25 +0900)]
[Tizen] Make squareness factor square
From Fernandez Guasti (1992) paper use squared factor as squircle.
Let we follow it.
Change-Id: Icbd6cb18f7dd0b243bc38d069d1e1c47016a5a7b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 19 Nov 2024 06:31:00 +0000 (15:31 +0900)]
[Tizen] Revert "Upgraded DALi Toolkit shaders"
Change-Id: I7b525bf0150b57772381d6c590164feaac6d039b
Bowon Ryu [Tue, 26 Nov 2024 08:04:12 +0000 (17:04 +0900)]
[Tizen] Add APIs for setting IME position, cursor theme name.
This reverts commit
6a99fc4d76eff3eda4876c9d2455f8f0f644a5b9.
Bowon Ryu [Tue, 26 Nov 2024 08:03:59 +0000 (17:03 +0900)]
[Tizen] Support asan build option
This reverts commit
e07135b2ce56f3c1f8fc924070491183323c59f7.
Bowon Ryu [Tue, 26 Nov 2024 08:03:43 +0000 (17:03 +0900)]
Merge branch 'devel/master' into tizen_9.0
Change-Id: Ia9ee7cff21ea56fe5e23da80724ee4d622507795
Bowon Ryu [Tue, 26 Nov 2024 08:03:26 +0000 (17:03 +0900)]
Revert "[Tizen] Support asan build option"
This reverts commit
2f01759e0b94208bb1f4842521ce10eaf73ca9bb.
Bowon Ryu [Tue, 26 Nov 2024 08:03:22 +0000 (17:03 +0900)]
Revert "[Tizen] Add missing break on switch case"
This reverts commit
f5dee296fd5dba462974ae4f0d2eee749c3f4e84.
Bowon Ryu [Tue, 26 Nov 2024 08:03:16 +0000 (17:03 +0900)]
Revert "[Tizen] Add APIs for setting IME position, cursor theme name."
This reverts commit
568ce90f8d5b6879e2277d76ee488c9bf163b122.
dongsug song [Tue, 26 Nov 2024 02:30:41 +0000 (02:30 +0000)]
Merge "[Tizen] Add APIs for setting IME position, cursor theme name." into tizen_9.0
huayong.xu [Thu, 21 Nov 2024 09:30:55 +0000 (17:30 +0800)]
[Tizen] Add APIs for setting IME position, cursor theme name.
Change-Id: I90acfcfd161b138c798c0e91e6c40d717bc91458
Chihun Jeong [Tue, 26 Nov 2024 01:39:15 +0000 (01:39 +0000)]
Merge "Add missing break on switch case" into devel/master
ANZ1217 [Mon, 25 Nov 2024 05:01:37 +0000 (14:01 +0900)]
[Tizen] Add missing break on switch case
Change-Id: Ifbcd91b59c9666f5d1c4556dad0c7898aa6abe30
Eunki, Hong [Mon, 25 Nov 2024 05:12:25 +0000 (14:12 +0900)]
(Vector) RenderOnce only if rasterize successed + Print more info
Let we print more logs if vector animation task finished
Change-Id: I1cb3cf8599dc7a2974f147fafbdfd9728c85b703
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
ANZ1217 [Mon, 25 Nov 2024 05:01:37 +0000 (14:01 +0900)]
Add missing break on switch case
Change-Id: Ifbcd91b59c9666f5d1c4556dad0c7898aa6abe30
Eunki, Hong [Tue, 19 Nov 2024 10:36:07 +0000 (19:36 +0900)]
(CanvasView) Retry rasterization again if last rasterization failed
Let we retry canvas rasterizing if last commit was failed.
Change-Id: Id8cc862f0c640ed34567e54a6f8218ad5578ddae
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Fri, 22 Nov 2024 16:04:41 +0000 (16:04 +0000)]
Merge "DALi Version 2.3.51" into devel/master
Adeel Kazmi [Fri, 22 Nov 2024 16:03:11 +0000 (16:03 +0000)]
DALi Version 2.3.51
Change-Id: I6de4400c45c77b14479eeb0a2a29cecfe5558692
jmm [Wed, 20 Nov 2024 01:27:51 +0000 (10:27 +0900)]
[Tizen] Support asan build option
This reverts commit
b8bbde594973a38d9760adee8dc1401be7d2ea31.
jmm [Wed, 20 Nov 2024 01:27:42 +0000 (10:27 +0900)]
Merge branch 'devel/master' into tizen_9.0
Change-Id: Iec84bf1e8bc755b72626d0f2d1fe6bb5876d9c21
jmm [Wed, 20 Nov 2024 01:27:29 +0000 (10:27 +0900)]
Revert "[Tizen] Support asan build option"
This reverts commit
1c5a1ce70428ae2066c04297ad6c13aa31d3e8a1.
Richard Huang [Tue, 19 Nov 2024 12:28:07 +0000 (12:28 +0000)]
Transform animation support for USD models
Change-Id: Ifc2e512effd61e544dcd71a157f9787ef1e8a83f
Eunki Hong [Tue, 19 Nov 2024 01:42:05 +0000 (01:42 +0000)]
Merge "Fix FLAT qualifier ordering issue + Support gles2.0 YUV image" into devel/master
David Steele [Tue, 5 Nov 2024 17:32:14 +0000 (17:32 +0000)]
Made shader comments meaningful
Change-Id: I5a621f955b1001faec01773c3c5623ab3ceb7bc2
Eunki Hong [Sat, 16 Nov 2024 03:36:04 +0000 (12:36 +0900)]
Fix FLAT qualifier ordering issue + Support gles2.0 YUV image
FLAT keyword must be defined before in/out
+
Fix shader compile error when we try to rendering YUV image at gles2.0
Change-Id: If2b658a03e8c940a5c9afc85073bdd3cb82243c0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adam Bialogonski [Tue, 12 Nov 2024 15:39:23 +0000 (15:39 +0000)]
Upgraded DALi Toolkit shaders
Change-Id: Ib9f1d3b085a3b86b9ba82ceec5bbc654daff4ea1
Adam Bialogonski [Fri, 15 Nov 2024 07:18:54 +0000 (07:18 +0000)]
DALi Version 2.3.50
Change-Id: I6f3fb2a1b3221dd5a4cf5e6739b569207f53ad65
Chihun Jeong [Thu, 14 Nov 2024 03:45:38 +0000 (03:45 +0000)]
Merge "Fix wrong glyph calculation when ellipsis enabled" into devel/master
ANZ1217 [Tue, 12 Nov 2024 05:20:33 +0000 (14:20 +0900)]
Fix wrong glyph calculation when ellipsis enabled
In ElideGlyphs(), it uses x position of glyph to determine whether it is LTR or not.
Fix the problem that referring to the glyph information which position is not calculated in here.
Change-Id: Id9446f4ef66fa16058055060e2530e86bd939c9f
Eunki, Hong [Fri, 1 Nov 2024 08:50:16 +0000 (17:50 +0900)]
Open GetPropertyObject() API of Visual::Base as devel-api
Let we open Visual::Base::GetPropertyObject API, so let we
allow to call that API out of dali-toolkit without
DevelControl::GetVisualProperty()
Change-Id: I6af6e2ea4b2b05442cadc25743f9fe99408e8197
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Seungho BAEK [Tue, 12 Nov 2024 07:12:03 +0000 (07:12 +0000)]
Merge "Fix Blur Order issue caused by Type setting timing" into devel/master
Eunki, Hong [Tue, 12 Nov 2024 01:05:50 +0000 (10:05 +0900)]
Fix svace issue - preMutiplied always be false
Change-Id: Ib215a811d6efc750c7c7e632b533f92a20c97d9a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Youngsun Suh [Mon, 11 Nov 2024 23:44:29 +0000 (23:44 +0000)]
Merge "Associate DefaultLabel with actor" into devel/master
Seungho Baek [Mon, 11 Nov 2024 05:32:56 +0000 (14:32 +0900)]
Fix Blur Order issue caused by Type setting timing
Change-Id: I7dc1154da92165693efcc2508b42fcc1ed7093cb
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Eunki Hong [Sun, 3 Nov 2024 16:57:01 +0000 (01:57 +0900)]
Fix mis-using of RegisterProperty + Sync AnimatedImageVisual logic with ImageVisual
Their was several mis-ussing cases for RegisterProperty.
Since the first value of RegisterProperty is the key of custom-property.
But some codes works like "Set or Register".
It will return invalid values when we try to get some item
by INVALID_KEY.
+
Some codes are mis-implements at AnimatedImageVisual or AnimatedVectorVisual, SvgVisual.
Let we follow them as latest code scenario, and add some UTC for it.
Change-Id: I2a5b23a1cc321b2fc1fdd880ba85b8859451c153
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Youngsun Suh [Wed, 16 Oct 2024 23:59:37 +0000 (08:59 +0900)]
Fix IsShowing to get visibility from actor instead of accessible
Change-Id: I73dc5a9d38a199a83fed03e6f275ffb5d09c85dc
Youngsun Suh [Wed, 16 Oct 2024 07:45:43 +0000 (16:45 +0900)]
Associate DefaultLabel with actor
Change-Id: I5684fc44065f8033df5911027c1464c93c37ece6
Adeel Kazmi [Fri, 8 Nov 2024 10:48:19 +0000 (10:48 +0000)]
Merge "DALi Version 2.3.49" into devel/master
Richard Huang [Fri, 8 Nov 2024 10:27:23 +0000 (10:27 +0000)]
DALi Version 2.3.49
Change-Id: I4a89342f3ec999f1d60cf949ed391eecac1c60e7
Eunki Hong [Fri, 8 Nov 2024 01:11:20 +0000 (01:11 +0000)]
Merge "(Scene3D) Always create ModelLoader at main thread" into devel/master
Eunki Hong [Thu, 7 Nov 2024 10:30:38 +0000 (10:30 +0000)]
Merge "Make N-Patch shader precision use highp, instead mediump" into devel/master
Eunki, Hong [Thu, 7 Nov 2024 08:10:05 +0000 (17:10 +0900)]
Make N-Patch shader precision use highp, instead mediump
Change-Id: Ia0390d085a2e07b213a9e2309d47004d74d40f2c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Thu, 7 Nov 2024 02:26:25 +0000 (11:26 +0900)]
Replace EventReceivedSignal in text with KeyboardEventReceivedSignal
In some use cases,
Signals are separated to avoid problems where signal emit occurs within emit.
Change-Id: I63c60d9358351a95b6ceff33146fab7c730f89fd
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki Hong [Thu, 17 Oct 2024 03:01:02 +0000 (12:01 +0900)]
(Scene3D) Always create ModelLoader at main thread
Until now, Dali::Scene3D::Loader::ModelLoader create at worker thread.
It might make some problem when we try to load usd model, and call dlopen.
To avoid those kind of issue, let we make it create at ModelLoadTask constructor
(Which will be call at main thread always).
Change-Id: I801f31a6940c9f3267a39d596e123683da9700bb
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sun, 3 Nov 2024 16:30:14 +0000 (01:30 +0900)]
Fix several squircle error + Make render effect shader latest squircle code
- We don't need to calcualte positiveDiff if cornerSquareness value is 1.0
- Support Squircle shape for animated vector image / svg / animated image.
- Use morden method to calculate SDF value with squareness at BackgroundBlurEffect.
Change-Id: I4d4d97e497b5d76a33fcab42c49b8089c09d4425
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 1 Nov 2024 13:46:08 +0000 (13:46 +0000)]
Merge "Make PreMultiplied as true if image doesn't have alpha channel" into devel/master
David Steele [Fri, 1 Nov 2024 12:08:32 +0000 (12:08 +0000)]
Merge "Support Squircle factor for Visual property" into devel/master
David Steele [Fri, 1 Nov 2024 11:25:28 +0000 (11:25 +0000)]
Merge "DALi Version 2.3.48" into devel/master
David Steele [Fri, 1 Nov 2024 11:17:33 +0000 (11:17 +0000)]
DALi Version 2.3.48
Change-Id: Ida4a3b31deb3b6a952fd4bb222c02844ef549de0
Eunki Hong [Thu, 17 Oct 2024 05:02:35 +0000 (14:02 +0900)]
Support Squircle factor for Visual property
Let we add Squareness factor as visual property.
So we can support squircle effects.
Also, let we support it to SceneView / WebView / BackgroundBlurEffect
Change-Id: I6edeb51ee9f917cbed05efe42af12b9b1eb6a21a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 24 Sep 2024 08:01:28 +0000 (17:01 +0900)]
Make PreMultiplied as true if image doesn't have alpha channel
Since the rendering result don't have any effort if image don't have
alpha channel, we can assume that non-alpha pixel format like RGB888
is alpha premultiplied.
PreMultiplyAlpha will increase the rendering performance usally.
So we can assume that they are pre muliplied already.
Change-Id: I286ad70aa20cadc09eebee2c01a30c22a289fcf4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 1 Nov 2024 01:49:44 +0000 (01:49 +0000)]
Merge "Make color visual always use premulitplied alpha" into devel/master
David Steele [Thu, 31 Oct 2024 12:24:37 +0000 (12:24 +0000)]
Merge "Support scene metadata for USD models" into devel/master
David Steele [Wed, 30 Oct 2024 16:49:28 +0000 (16:49 +0000)]
Merge "Test harness sync" into devel/master
Richard Huang [Wed, 30 Oct 2024 15:46:56 +0000 (15:46 +0000)]
Support scene metadata for USD models
Change-Id: I7bf172c8734f2837958b6954695df6768b0627e0
Eunki, Hong [Wed, 30 Oct 2024 04:29:31 +0000 (13:29 +0900)]
Fix crash issue when RenderEffect applied control is scene off
Change-Id: Ia2ff8a271cccfe7a1b4d8975e38cc17993678d95
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 23 Sep 2024 13:37:02 +0000 (22:37 +0900)]
Make color visual always use premulitplied alpha
Until now, ColorVisual::Property::MIX_COLOR and Visual::Property::OPACITY is
independence properties. So we cannot assume that mixColor uniform was
premultiplied or not. (This is why we cannot enable premultiplied to color visual)
But now we can allow to premultiply option to color visual.
More over, enable/disable premultiply option is meanless for color visual.
So let we use always pre-multiplied alpha option enabled - for performance.
Change-Id: I945e5362207c3b2f94c814d74a00988257fc7f52
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 28 Oct 2024 02:39:54 +0000 (11:39 +0900)]
Fix memory leak issue when we load svg synchronously
Since auto keyword don't support to using IntrusivePtr automatically,
we should specify the name of class.
Without this keyword, the class that created by new keyword never be removed.
Change-Id: I60446dd4ed011f0710cee57f44a1770d154aaca0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 25 Oct 2024 10:46:00 +0000 (11:46 +0100)]
DALi Version 2.3.47
Change-Id: I377519c4641b0f9bd7dabd64f8ee0980e2128bc1
David Steele [Fri, 25 Oct 2024 09:02:35 +0000 (10:02 +0100)]
Test harness sync
Change-Id: I699614e153b3b80d3edf1a1647a4fbbe9d318543
Adeel Kazmi [Wed, 23 Oct 2024 11:31:51 +0000 (12:31 +0100)]
(Automated Tests) Apply Addon Manager Changes
Change-Id: Ia76818e85fb909fab6e3b09adf4c4926c0286336