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: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: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: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: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: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: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>
seungho baek [Mon, 13 Mar 2023 06:30:44 +0000 (15:30 +0900)]
Change namings of gltf-util
Change-Id: I833fd223c58ace2da4f6528542356909d88fb0ff
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Adeel Kazmi [Fri, 10 Mar 2023 10:54:42 +0000 (10:54 +0000)]
Merge "Coverity issue fixes" into devel/master
Adeel Kazmi [Fri, 10 Mar 2023 10:36:55 +0000 (10:36 +0000)]
Merge "DALi Version 2.2.17" into devel/master
Adeel Kazmi [Fri, 10 Mar 2023 10:29:49 +0000 (10:29 +0000)]
DALi Version 2.2.17
Change-Id: I7deb53256547432686a2d4d8eb4b29455a3b67b6
Hosang Kim [Mon, 6 Mar 2023 10:24:39 +0000 (19:24 +0900)]
remove logic for comparing clipped state.
A child can be visible even if clip mode outside of parent.
So a object is actually shown on screen but SHOWING state is false.
Change-Id: I74b59f99783c6ade8029a3be5166cf9a8de36011
Bowon Ryu [Fri, 10 Mar 2023 03:43:35 +0000 (03:43 +0000)]
Merge "Fix text autoscroll issue" into devel/master
Adam Bialogonski [Thu, 9 Mar 2023 11:39:25 +0000 (11:39 +0000)]
Coverity issue fixes
Change-Id: I6aa1f1ead1a27ee1c4ab3d7dd0fff762e16a2e9c
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
Bowon Ryu [Thu, 9 Mar 2023 09:19:42 +0000 (18:19 +0900)]
Fix text autoscroll issue
This patch fixes the side effect of the previous condition and
prevents useless meassge in multiline case.
Change-Id: I7314903b8f0395578954d49459aa134180580c3b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Tue, 7 Mar 2023 23:32:57 +0000 (08:32 +0900)]
Determine priority type for each task
For example, remote image loading might be heavy process.
So let we give some hints for this tasks priority as LOW.
If we set priority as low, Remote image loading didn't use
whole AsyncTaskManager's threads.
Change-Id: Ife22517deff47b7f4da769bad2b97f472fa8efef
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Thu, 9 Mar 2023 06:15:50 +0000 (06:15 +0000)]
Merge "Remove useless uniform register" into devel/master
seungho baek [Wed, 8 Mar 2023 06:23:52 +0000 (15:23 +0900)]
Make safe conversion from uint32_t to streamsize
Change-Id: I575d11e330723fe53528a72b3abfaccef4c39523
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Tue, 7 Mar 2023 17:17:32 +0000 (02:17 +0900)]
Remove useless uniform register
Current image visual didn't use uPixelAlign. We can remove this property.
Change-Id: Ie61e299e77c8ff1ccce8edcea7575640dd863e91
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 7 Mar 2023 16:17:01 +0000 (01:17 +0900)]
Clean up Scene3D namespace and header definition
Change-Id: I28f91a4fb9af661ff61a12f00c1f6fd900cbdeec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Tue, 7 Mar 2023 14:06:14 +0000 (14:06 +0000)]
Merge changes I048d8903,Ib84dd28c into devel/master
* changes:
Add glb-loader to load gltf2-binary
Add model-loader to abstract gltf2-loader and dli-loader
seungho baek [Fri, 24 Feb 2023 01:40:25 +0000 (10:40 +0900)]
Add glb-loader to load gltf2-binary
- extract gltf2-util to share it in gltf2-loader and glb-loader
Change-Id: I048d8903d27fea47a322dcf4d4cc56a16c10acec
seungho baek [Mon, 20 Feb 2023 08:19:39 +0000 (17:19 +0900)]
Add model-loader to abstract gltf2-loader and dli-loader
- Like glb, we need to add some new type of model.
- This abstraction can make easy to add new model file format.
Change-Id: Ib84dd28c082903295ff1295a5c2d4da9a74ef8ca
Eunki, Hong [Tue, 7 Mar 2023 04:35:49 +0000 (13:35 +0900)]
Get NaturalSize only if required
Since "GetClosestImageSize" spend a lot of time,
let we setup fitting mode only if we use it.
Change-Id: Id08c0d08c1784b60f4c3bccecf9affecdda8fc61
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 3 Mar 2023 11:20:00 +0000 (11:20 +0000)]
Merge "Enable automated tests that load the exercise DLI model" into devel/master
Adam Bialogonski [Fri, 3 Mar 2023 10:25:48 +0000 (10:25 +0000)]
DALi Version 2.2.16
Change-Id: I2e65a45440d0296de4748e3a10b1b1031557df7f
Richard [Thu, 2 Mar 2023 11:04:45 +0000 (11:04 +0000)]
Enable automated tests that load the exercise DLI model
Change-Id: Ife30d9c271d28589b52e3f0079638bd612cce3f6
Eunki Hong [Wed, 1 Mar 2023 10:22:55 +0000 (19:22 +0900)]
Make multiple roots model share the resources.
Previous code generate new refcounts per each scene roots.
If one model file has multiple roots, then each root didn't share there
resouces each other.
And also, due to the resource cache patch block multiple RawResouces loaded,
multiple roots scene was not works well.
This patch make we use only one refcounter per one model,
So we can assume that we only load just one times if
multi scene use same resources
Change-Id: I752f8a4ed352d4c328b1f48791bf0fee4fc8adcb
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
huayong.xu [Wed, 1 Mar 2023 10:18:13 +0000 (18:18 +0800)]
Make sure that global variables are initialized lazily in scene3d.
Global variables are initialized when scene3d so is loaded firstly.
This would allocate more memory in some cases.
This patch is to make the variables be initialized lazily.
Change-Id: I317c04b7d04c74d84a44be8c603ddcdaacdabf83
Richard [Thu, 2 Feb 2023 15:07:37 +0000 (15:07 +0000)]
Cache manager for 3D models
Change-Id: I6cd522b2ee5c2dc33fa7740d2421d9220ee058de
David Steele [Mon, 27 Feb 2023 11:09:45 +0000 (11:09 +0000)]
Merge "Allow to load uint32_t as indices" into devel/master
David Steele [Fri, 24 Feb 2023 12:31:07 +0000 (12:31 +0000)]
Merge "DALi Version 2.2.15" into devel/master
Richard Huang [Fri, 24 Feb 2023 12:24:26 +0000 (12:24 +0000)]
DALi Version 2.2.15
Change-Id: I0155a4d6a971a46f3930dc3a6c6f6fd0782c9d60
Eunki Hong [Fri, 24 Feb 2023 06:30:30 +0000 (06:30 +0000)]
Merge "Generate Camera from loaded model" into devel/master
Eunki Hong [Sat, 18 Feb 2023 10:22:52 +0000 (19:22 +0900)]
Allow to load uint32_t as indices
Dali's default indices use uint16_t. But if heavy 3D model who need more than
65536 indexes loaded, It will break index.
This patch make Scene3D can allow to use uint32_t type indeces load
and generete Geometry by it.
Change-Id: I6b8096df3fcf855443e6b407342121b9374d9ff8
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 17 Feb 2023 14:15:35 +0000 (23:15 +0900)]
Generate Camera from loaded model
Add API to generete (or apply) the camera what 3D model has.
Note that model cannot have ownership of camera
since we have to add camera into SceneView or whatever we want.
So GenerateCamera create new CameraActor everytime.
Or ApplyCamera into already created CameraActor.
TODO : Should we change all Scene3D::Loader used demo who use camera parameter?
Change-Id: Ief1571d1e8b522c1785b8721c279713b20760a99
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Fri, 24 Feb 2023 04:48:47 +0000 (04:48 +0000)]
Merge "Fix space font validation condition" into devel/master
joogab.yun [Thu, 23 Feb 2023 09:38:06 +0000 (18:38 +0900)]
Fix space font validation condition
when character is 0x20, there are various cases of font validation.
but if it is a default font or cached font, or
if a glyph exists in the current font when it is contiguous with the prev char,
it is natural to load current font.
this is same behaviour as before.. and the process of finding fonts can slightly reduced.
Change-Id: I017db2ec38e86642a83a44739a0d2c7af072e14a
Seungho BAEK [Wed, 22 Feb 2023 03:12:08 +0000 (03:12 +0000)]
Merge "Refactoring model-impl.cpp" into devel/master
joogab yun [Tue, 21 Feb 2023 06:12:09 +0000 (06:12 +0000)]
Merge "When setting a focus actor, we log the current focused actor and the new focused actor." into devel/master