Richard Huang [Fri, 12 May 2023 09:48:41 +0000 (10:48 +0100)]
[dali_2.2.26] Merge branch 'devel/master'
Change-Id: I8a09ac348cc0a9e21e0b91adc7122fe39f9b9f1d
Richard Huang [Fri, 12 May 2023 09:47:53 +0000 (10:47 +0100)]
DALi Version 2.2.26
Change-Id: I9948da5c359db326e4dce04f58041d5f4848e32e
Eunki Hong [Wed, 10 May 2023 08:10:53 +0000 (08:10 +0000)]
Merge "Fix normal vector error when we use skin" into devel/master
Eunki, Hong [Thu, 4 May 2023 08:03:01 +0000 (17:03 +0900)]
Fix multiple primitive skinning error
Since we didn't check indivisual primitive with
same shader + same skeletone id,
some renderer didn't applied Constraint.
Now we make multiple primitive also apply bone constraints
Change-Id: I7ccf7257108f9e4d05914c70bb437eee488b7b3f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 10 May 2023 01:35:07 +0000 (10:35 +0900)]
Fix normal vector error when we use skin
Since dali's world matrix use left-hand-coordinate,
the constrainted world matrix value in uBone need to be multiply negative Y.
To apply this information, let we use uYDirection value if we use skin.
Also, we need to use same precision if we use same uniform both vertex and
fragment shaders. To specify the precision, make uYDirection as mediump.
Change-Id: Ibf6ca7ee0cc88fba1214b4a68a0eea7a4805f7e5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab yun [Wed, 10 May 2023 05:02:30 +0000 (05:02 +0000)]
Merge "Remove unnecessary ClearFocus(). Inside SetCurrentFocusActor() is doing the same thing as ClearFocus." into devel/master
Eunki, Hong [Wed, 10 May 2023 02:47:31 +0000 (11:47 +0900)]
Retrieve spannable text's span list ordered by added time
To fix UtcDaliToolkitTextSpannableStringRetrieveAllSapnsAndRanges failed,
let we make that the retrieve values keep the order by added time.
TODO : Could we use it OrderedMap?
Change-Id: I39ab35542110e8bed7b1ca1b0f5536681a632be1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Wed, 10 May 2023 02:25:46 +0000 (11:25 +0900)]
Remove unnecessary ClearFocus().
Inside SetCurrentFocusActor() is doing the same thing as ClearFocus.
Change-Id: I8116d653e430a1ff2cb46bbc818c448b07bc1644
seungho baek [Tue, 9 May 2023 05:04:48 +0000 (14:04 +0900)]
Change mediump to highp of corner radius
Change-Id: Ide32bf0b33cf6c495d4c9f7d38c46289788f53ab
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Adam Bialogonski [Fri, 5 May 2023 10:21:34 +0000 (11:21 +0100)]
[dali_2.2.25] Merge branch 'devel/master'
Change-Id: I340ef7b5d4a4bdabbc7a5f7e6824b85ba12e7c82
Adam Bialogonski [Fri, 5 May 2023 10:20:45 +0000 (11:20 +0100)]
DALi Version 2.2.25
Change-Id: I916cdd536a8561d5412e6772bb98e8a616688a4b
Eunki Hong [Tue, 2 May 2023 08:03:48 +0000 (08:03 +0000)]
Merge "Let we allow to change AnimationDefinition property" into devel/master
seungho baek [Tue, 2 May 2023 01:44:30 +0000 (10:44 +0900)]
Remove unused code
- We don't need to reset renderer properties when shader is generated
Change-Id: I42b9a5cb1a252ecda753d5221c02f542a1d7f99b
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Adeel Kazmi [Fri, 28 Apr 2023 11:01:35 +0000 (11:01 +0000)]
Merge "Blendshape properties should be registered per renderer instead of per shader" into devel/master
Adeel Kazmi [Fri, 28 Apr 2023 10:14:40 +0000 (10:14 +0000)]
Merge "DALi Version 2.2.24" into devel/master
Richard Huang [Fri, 28 Apr 2023 10:09:04 +0000 (11:09 +0100)]
[dali_2.2.24] Merge branch 'devel/master'
Change-Id: I26538b9006e3eaa96cd93c3aad5fb470a5003eb5
Richard Huang [Fri, 28 Apr 2023 10:08:15 +0000 (11:08 +0100)]
DALi Version 2.2.24
Change-Id: Iff0999b90078c209bcbf6dea9eccbe5833cc172e
Eunki Hong [Sat, 25 Mar 2023 15:02:44 +0000 (00:02 +0900)]
Remove cached texture at PostProcessor
We don't need to Remove memory of texture immediately.
If we call Remove(image); Add(image); continously,
Then image will try to reload image one more time.
It might useless behaviour for real world app side.
So make we don't remove texture immediatly, and
Process remove queue at post process timing.
Change-Id: Ic0d1a1cd10c13fc8b742667a09b02552594aae70
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Richard [Thu, 27 Apr 2023 15:47:58 +0000 (16:47 +0100)]
Blendshape properties should be registered per renderer instead of per shader
Change-Id: I38c6a191e37212720fa603f82cb2ef04c6b18a17
sunghyun kim [Thu, 27 Apr 2023 05:40:04 +0000 (14:40 +0900)]
Delete test log in image-view
Change-Id: Icde72187e995c085f9379be9f0794d425a042e7e
Seungho BAEK [Thu, 27 Apr 2023 04:29:38 +0000 (04:29 +0000)]
Merge "Support Short and Byte weight of gltf skinning" into devel/master
Eunki, Hong [Thu, 27 Apr 2023 02:07:46 +0000 (11:07 +0900)]
Let we allow to change AnimationDefinition property
Change-Id: Id6e0a345bb5b4213191f56f94f5c5b20bf2d2020
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Mon, 24 Apr 2023 10:55:06 +0000 (19:55 +0900)]
Support Short and Byte weight of gltf skinning
Change-Id: I4817c40b049e5b3984b66cc9fabe731ae0bc4582
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
sunghyun kim [Wed, 26 Apr 2023 09:24:25 +0000 (09:24 +0000)]
Merge "Apply placeholder image & transition effect" into devel/master
sunghyun kim [Thu, 16 Mar 2023 11:25:48 +0000 (20:25 +0900)]
Apply placeholder image & transition effect
Add the following features to the image view
1. If necessary for image loading, the placeholder is shown until finish loading
2. provide transition effect if necessary for image replacement
Change-Id: I0191cb3ed047efb9cdd4f0694e9fb6e065f045f2
joogab yun [Mon, 24 Apr 2023 09:01:55 +0000 (09:01 +0000)]
Merge "Move the point of setting currentFocusControl to before FocusLost." into devel/master
joogab.yun [Tue, 14 Mar 2023 08:01:39 +0000 (17:01 +0900)]
Move the point of setting currentFocusControl to before FocusLost.
The FocusLost event has happened, but HasKeyInputFocus() still returns true.
Therefore, move the currentFocusControl setting point to before the FocusLost event.
Change-Id: Ib8152dec1beb1959aef61dbc73f5ce522e6db72e
Eunki, Hong [Fri, 21 Apr 2023 11:13:40 +0000 (20:13 +0900)]
Reduce prediction error for blendshape
1. Let we use highp integer for vertex shader. (since some device's
mediump int only use 16bit signed integer, so it might not allow
to use more than 32768 vertex id)
2. Do not use divide and sqrtf operator if we can
Change-Id: Ib76d1ff6095f07aad9f797b96be93d0dc8dd8188
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Thu, 20 Apr 2023 13:12:56 +0000 (13:12 +0000)]
Merge "DALi Version 2.2.23" into devel/master
Adeel Kazmi [Thu, 20 Apr 2023 13:09:08 +0000 (14:09 +0100)]
[dali_2.2.23] Merge branch 'devel/master'
Change-Id: Ia63d00a4a89320fcf60d4b3927fc2ef5d4565e2e
Adeel Kazmi [Thu, 20 Apr 2023 13:08:20 +0000 (14:08 +0100)]
DALi Version 2.2.23
Change-Id: Ia188dbe2854fda14d18291fe0abbd3c40947d7b0
seungho baek [Wed, 19 Apr 2023 09:20:00 +0000 (18:20 +0900)]
Remove model-node-data-impl
Change-Id: Iba64ae2ecbc67d42093affbc364693ff163551b6
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
David Steele [Wed, 19 Apr 2023 13:11:49 +0000 (13:11 +0000)]
Merge "Fix transform issue of skinned mesh" into devel/master
seungho baek [Tue, 18 Apr 2023 05:47:24 +0000 (14:47 +0900)]
Fix transform issue of skinned mesh
Change-Id: I5acd990e1e1ae586a0b6c66af3aefc99c991e206
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
David Steele [Wed, 19 Apr 2023 09:43:52 +0000 (09:43 +0000)]
Merge "Instanced draw test code sync" into devel/master
Eunki Hong [Wed, 19 Apr 2023 05:50:26 +0000 (05:50 +0000)]
Merge "Load bvh and facial animations from buffer" into devel/master
Eunki, Hong [Wed, 19 Apr 2023 03:17:43 +0000 (12:17 +0900)]
Let we allow to seek empty buffer when read blob
The model can "skip" non-meanful data at end of blob.
Let we allow to read that case.
Change-Id: Id98f6bbb788b3f542ee543f20b16c6982c2a7f68
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 18 Apr 2023 03:50:29 +0000 (12:50 +0900)]
Load bvh and facial animations from buffer
Let we allow to load bvh and facial animation from raw buffer stream.
Change-Id: I679539ce10e631101571dab95615404c41b9b2f3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 18 Apr 2023 03:52:06 +0000 (12:52 +0900)]
Make rasterize callback as unique_ptr
When Rasterize callback register into VectorAnimationManager, and
visual was destroyed, the callback base memory might not be deleted.
To avoid this case, let we make the callback's ownership as
VectorAnimationManager.
Change-Id: Ia2d09856e989ac29f8c39cd5cabb2af29d1ed80d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Mon, 17 Apr 2023 12:18:30 +0000 (13:18 +0100)]
Instanced draw test code sync
Change-Id: I6da7476602ae2d7fceae75a8459370d132b7b198
dongsug song [Mon, 17 Apr 2023 07:54:46 +0000 (07:54 +0000)]
Merge "[AT-SPI] Implement Value::GetValueText()" into devel/master
Artur Świgoń [Thu, 13 Apr 2023 09:31:54 +0000 (11:31 +0200)]
[AT-SPI] Implement Value::GetValueText()
Change-Id: I9a2eb40aced763bc74542b5f8c448445089ed67c
Adam Bialogonski [Fri, 14 Apr 2023 09:26:13 +0000 (10:26 +0100)]
[dali_2.2.22] Merge branch 'devel/master'
Change-Id: I6f864a084230a14a345eb92c739474b7d20cb00f
Adam Bialogonski [Fri, 14 Apr 2023 09:25:24 +0000 (10:25 +0100)]
DALi Version 2.2.22
Change-Id: I90e8a14b7422a708cedfd860a4676ad2153bc596
Seungho BAEK [Fri, 7 Apr 2023 01:32:05 +0000 (01:32 +0000)]
Merge "Change public member variable to private" into devel/master
seungho baek [Sat, 1 Apr 2023 14:21:08 +0000 (23:21 +0900)]
Change public member variable to private
Change-Id: I8ba514c1dfcbd7e5f82aaa898b37d83e2ece890d
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
David Steele [Thu, 6 Apr 2023 15:37:05 +0000 (15:37 +0000)]
Merge "Fix svace/coverity issue (initialize value at Material)" into devel/master
Eunki, Hong [Thu, 6 Apr 2023 12:25:32 +0000 (21:25 +0900)]
Fix svace/coverity issue (initialize value at Material)
Change-Id: Ic0b4643e848704d3e60a527b1d5bbe524bb68ee1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Thu, 6 Apr 2023 13:57:38 +0000 (13:57 +0000)]
Merge "DALi Version 2.2.21" into devel/master
David Steele [Thu, 6 Apr 2023 13:48:46 +0000 (14:48 +0100)]
[dali_2.2.21] Merge branch 'devel/master'
Change-Id: I05000d2b1eba23d298b9bda7f7f94736b8ac783e
David Steele [Thu, 6 Apr 2023 13:47:57 +0000 (14:47 +0100)]
DALi Version 2.2.21
Change-Id: I34160b58b5717dac53282a0804ab52a1e1a5d6bb
dongsug song [Thu, 6 Apr 2023 05:41:35 +0000 (05:41 +0000)]
Merge "Use c-style string when webview loads contents." into devel/master
Seungho BAEK [Thu, 6 Apr 2023 04:17:56 +0000 (04:17 +0000)]
Merge "Use ModelNode / ModelPrimitive / Material instead of Actor / Renderer" into devel/master
seungho baek [Fri, 10 Mar 2023 04:38:01 +0000 (13:38 +0900)]
Use ModelNode / ModelPrimitive / Material instead of Actor / Renderer
- This patch is based on the previous patch
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/288075/
Change-Id: I93f61a18dd06bc8fa7c08fc65ef9c42d62b510e2
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Tue, 4 Apr 2023 08:19:51 +0000 (17:19 +0900)]
Fix skybox type auto issue
Change-Id: I5e59773428f598393d3b30070dbdeb1067f71448
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
huayong.xu [Tue, 4 Apr 2023 07:49:47 +0000 (15:49 +0800)]
Use c-style string when webview loads contents.
Change-Id: I541be6fddab140561f16af339adfe82bf05ecd2e
Eunki Hong [Fri, 31 Mar 2023 13:22:35 +0000 (13:22 +0000)]
Merge "Fix UTC error for TextSpannable" into devel/master
Adam Bialogonski [Fri, 31 Mar 2023 09:20:47 +0000 (10:20 +0100)]
[dali_2.2.20] Merge branch 'devel/master'
Change-Id: Idff0e7f70ea9f88ae580fb219d7125a6b220d744
Adam Bialogonski [Fri, 31 Mar 2023 09:19:48 +0000 (10:19 +0100)]
DALi Version 2.2.20
Change-Id: I74c1ab2b815533c17807c701613725aea7cf4cca
Eunki, Hong [Fri, 31 Mar 2023 09:09:47 +0000 (18:09 +0900)]
Fix UTC error for TextSpannable
FontDescriptionRun is not null-terminate string
Change-Id: I5f8704c850f2fb3ad213b54a7a23897efe2cdeb6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sat, 25 Mar 2023 12:26:04 +0000 (21:26 +0900)]
Allow to use premultiplied external texture
FrameBuffer result colortexture is premultiplied always.
So make we always use premultiplied texture.
And make a way to user determine native image source is premultiplied or not.
+
Since FBO texture always premultiplied, revert scene view's trick
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/285486
Change-Id: I72bfe4a04a69c259d983e9dc74086cefcdd4cc7d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
David Steele [Fri, 24 Mar 2023 11:27:24 +0000 (11:27 +0000)]
Merge "DALi Version 2.2.19" into devel/master
Adeel Kazmi [Fri, 24 Mar 2023 10:55:37 +0000 (10:55 +0000)]
[dali_2.2.19] Merge branch 'devel/master'
Change-Id: Id1e95c37bd576e143712a7e0ca615f9042082bb3
Adeel Kazmi [Fri, 24 Mar 2023 10:54:37 +0000 (10:54 +0000)]
DALi Version 2.2.19
Change-Id: Ic8c61de8472023dbf1245d3b049fe070f738c857
Eunki, Hong [Fri, 24 Mar 2023 07:58:03 +0000 (16:58 +0900)]
Fix coverity issue (no POSITION attribute + use after move)
Change-Id: Ib2239f847ebe9606a331e5d2148cc38c36445ad7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 24 Mar 2023 04:43:29 +0000 (04:43 +0000)]
Merge "Reset AsyncTask what we don't need anymore" into devel/master
Eunki Hong [Fri, 24 Mar 2023 04:42:38 +0000 (04:42 +0000)]
Merge "Ensure BaseHandle class move noexcept (toolkit public-api)" into devel/master
Eunki, Hong [Thu, 23 Mar 2023 07:31:45 +0000 (16:31 +0900)]
Make equirectangular environment also use mipmap + Fix brdf error
Change-Id: Iaa303a31c4223197b295a6f722dee3c0ebaa6216
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 24 Mar 2023 03:24:15 +0000 (12:24 +0900)]
Reset AsyncTask what we don't need anymore
Change-Id: Iffdf810c296f793fd6b0bb437e995baa5a1d2009
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 15 Mar 2023 17:05:28 +0000 (02:05 +0900)]
Ensure BaseHandle class move noexcept (toolkit public-api)
Add noexcept keyward on public-api
Change-Id: I234920fcb0c661e10940a08f0a78e84a85b4e5cb
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 24 Mar 2023 02:08:08 +0000 (02:08 +0000)]
Merge "Fix svace issue (strerror -> strerror_r)" into devel/master
Heeyong Song [Thu, 23 Mar 2023 09:48:43 +0000 (18:48 +0900)]
Add public header files to dali-toolkit.h
Change-Id: I05cd67275014800ea3d3014c9040a3c0d4e3ec83
Eunki Hong [Thu, 23 Mar 2023 07:04:25 +0000 (07:04 +0000)]
Merge "Use Mipmap level to sample specular texture" into devel/master
Eunki Hong [Thu, 23 Mar 2023 06:11:18 +0000 (06:11 +0000)]
Merge "Change scope of GlyphBufferData" into devel/master
Bowon Ryu [Thu, 23 Mar 2023 05:47:58 +0000 (05:47 +0000)]
Merge "Add a condition to ensure FontClient" into devel/master
Eunki, Hong [Thu, 23 Mar 2023 03:16:42 +0000 (12:16 +0900)]
Fix svace issue (strerror -> strerror_r)
SVACE say to us that Don't use strerror.
Change-Id: Ib0a884b23e4278e86189a7ca727b150b24d26a06
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 15 Mar 2023 17:36:16 +0000 (02:36 +0900)]
Change scope of GlyphBufferData
Let we don't make GlyphBufferData as subclass of FontClient
Change-Id: I70233c29e878f0e3ea344a849917ffc7f4eda19f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dongsug song [Wed, 22 Mar 2023 07:31:18 +0000 (07:31 +0000)]
Merge "Make sure that global variables are initialized lazily in scene3d." into devel/master
Bowon Ryu [Tue, 21 Mar 2023 02:15:12 +0000 (11:15 +0900)]
Add a condition to ensure FontClient
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/290153/
Change-Id: Ic67e9d870a12456fe4023d23377d90b753b1e431
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
joogab yun [Tue, 21 Mar 2023 04:26:12 +0000 (04:26 +0000)]
Merge "Revert "Adjust text fit condition"" into devel/master
Eunki Hong [Mon, 20 Mar 2023 15:58:16 +0000 (15:58 +0000)]
Merge "Let we can use emissiveFactor without Texture" into devel/master
Eunki, Hong [Thu, 16 Mar 2023 06:49:45 +0000 (15:49 +0900)]
Let we can use emissiveFactor without Texture
Change-Id: Ibd8a991f45099aad1be1f2cf97c9812e39bd4969
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 20 Mar 2023 13:03:55 +0000 (22:03 +0900)]
Remove unused header file - pixel-data-devel.h
Current text-visual don't use it, and... Now dali-core remove that file.
Change-Id: Iab994c2685350e57f43bed94dad3914b8264183a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
huayong.xu [Mon, 20 Mar 2023 11:08:48 +0000 (19:08 +0800)]
Make sure that global variables are initialized lazily in scene3d.
Change-Id: Iad6bb2e4f10c18141a8a0c2f92eaf2d5b68abd9d
joogab.yun [Mon, 20 Mar 2023 10:41:13 +0000 (19:41 +0900)]
Revert "Adjust text fit condition"
This reverts commit
52b3a0d3057c239c2ca75321864d687d09a9f01f.
Change-Id: Ibfda60c4f6a509a9febf63fa9ed3752b6758ffcb
Heeyong Song [Mon, 20 Mar 2023 06:38:24 +0000 (06:38 +0000)]
Merge "Remove svg task" into devel/master
Heeyong Song [Mon, 20 Mar 2023 04:59:52 +0000 (13:59 +0900)]
Remove svg task
Change-Id: I802d0070707a36aa7997d2d100ceceeb1b5c101b
Wonsik Jung [Mon, 20 Mar 2023 04:33:56 +0000 (04:33 +0000)]
Merge "remove logic for comparing clipped state." into devel/master
Bowon Ryu [Wed, 15 Mar 2023 11:02:05 +0000 (20:02 +0900)]
Add trace log to check text performance
Change-Id: Id001ff9d537794c8f1a0fce125d71be6566378b2
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
seungho baek [Fri, 17 Mar 2023 14:02:17 +0000 (23:02 +0900)]
Use Mipmap level to sample specular texture
Change-Id: If1f4346b22571600d490150bd05bf851eefe1a24
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Sat, 18 Mar 2023 04:29:20 +0000 (13:29 +0900)]
Remove Duplicated code in gltf2-util using template
Change-Id: I5e181ef0925eb5151151849be3dbcef0f888c5f3
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Adeel Kazmi [Fri, 17 Mar 2023 12:49:39 +0000 (12:49 +0000)]
Merge "DALi Version 2.2.18" into devel/master
David Steele [Fri, 17 Mar 2023 12:44:04 +0000 (12:44 +0000)]
[dali_2.2.18] Merge branch 'devel/master'
Change-Id: If256b2a138834d710cef4e65939aef82b23ee864
David Steele [Fri, 17 Mar 2023 12:43:36 +0000 (12:43 +0000)]
DALi Version 2.2.18
Change-Id: I508166915b11339b6554571edcbba145209f56fb
dongsug song [Fri, 17 Mar 2023 05:35:20 +0000 (05:35 +0000)]
Merge "Fix heap-buffer-overflow & use-after-free issue." into devel/master
Eunki Hong [Thu, 16 Mar 2023 02:27:51 +0000 (02:27 +0000)]
Merge "Minor optimize for Text (Add API for length of text + Cache DPI)" into devel/master
joogab.yun [Tue, 14 Mar 2023 01:01:34 +0000 (10:01 +0900)]
When TextFit operates, it operates based on the initially set LineSize.
You may need to add LineSize to TextFit items.
It is currently based on the TextLabel LineSize at the time the TextFit property is set.
Change-Id: I0d4661da7b653e8e765c2b029ce06749e01c8bd4
Eunki, Hong [Tue, 14 Mar 2023 12:00:30 +0000 (21:00 +0900)]
Minor optimize for Text (Add API for length of text + Cache DPI)
Since we don't need whole text information at UpdateRenderer,
just get length of text.
(Actually, we only need whether text is empty or not)
+
When we use PIXEL_SIZE instead of POINT_SIZE, FontClient::Get() give some overhead.
To avoid singletone service access, get DPI only one time, and cache it.
TODO : Should we consider DPI changed case?
Change-Id: If1e5b29b8c0b243753c19be20fbef432e6f62f15
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
huayong.xu [Tue, 14 Mar 2023 06:01:42 +0000 (14:01 +0800)]
Fix heap-buffer-overflow & use-after-free issue.
Change-Id: Ic3ca8eba0eb795566159aa6ab105ae5a58c4ec61
Eunki, Hong [Tue, 14 Mar 2023 08:30:32 +0000 (17:30 +0900)]
Ignore non-exist property reanimated
Change-Id: Ia3681f333e63f7c9f72cd910fb58a805e7be71ef
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>