Eunki, Hong [Tue, 7 Mar 2023 16:17:01 +0000 (01:17 +0900)]
[Tizen] Clean up Scene3D namespace and header definition
Change-Id: I28f91a4fb9af661ff61a12f00c1f6fd900cbdeec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Fri, 24 Feb 2023 01:40:25 +0000 (10:40 +0900)]
[Tizen] 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)]
[Tizen] 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
Richard [Thu, 2 Feb 2023 15:07:37 +0000 (15:07 +0000)]
[Tizen] Cache manager for 3D models
Change-Id: I6cd522b2ee5c2dc33fa7740d2421d9220ee058de
seungho baek [Mon, 20 Feb 2023 06:57:09 +0000 (15:57 +0900)]
[Tizen] Generate Camera from loaded model
This is a combination of 2 commits.
Refactoring model-impl.cpp
- Extract some method to reduce duplicated code.
- Reduce braces depth
- Use return early for easy understanding
- Separate too long method
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: I3900090fc52487c03ce9c66bfc79b31ae8b9e27e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
joogab.yun [Thu, 23 Feb 2023 09:38:06 +0000 (18:38 +0900)]
[Tizen] 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
Bowon Ryu [Mon, 20 Feb 2023 06:38:25 +0000 (15:38 +0900)]
[Tizen] Fix multiline text size issue in label
When font validation in the relayout process, if text update info is initialized,
font data should be cleared before UpdateModel() to ensure the number of characters removed and added.
Without this condition, incorrect text updates will occur due to incorrect number of characters.
Change-Id: Ic0a56dc355b746b2e718aa87ae61c507ade427b5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki Hong [Mon, 20 Feb 2023 04:49:07 +0000 (04:49 +0000)]
Merge "[Tizen] Make SceneView's default camera is 3D camera" into tizen_7.0
Eunki, Hong [Fri, 17 Feb 2023 06:36:35 +0000 (15:36 +0900)]
[Tizen] Make SceneView's default camera is 3D camera
Since SceneView used camera don't care about the Dali::Scene size,
Let we use 3D engine style camera. It will not change the property
automatically, and also will looks good to 3D object.
Change-Id: I31d9d0fc042cdbf8b33bc4d87a912ca149e248fe
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 16 Feb 2023 09:10:10 +0000 (18:10 +0900)]
[Tizen] Fix gltf animation's 0 frame behavior.
Current dali animation's KeyFrame didn't determine when the time is out of frame.
But gltf 2.0 spec say that we must clamp the time as input range.
To match the spec, make the 0 frame's animation keyframe value.
Change-Id: I2831d9f44c2e21ad12b40fa4b52c1d4e4b1d8e9a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Thu, 16 Feb 2023 09:14:18 +0000 (09:14 +0000)]
Merge "[Tizen] Backport tizen_7.5 for Scene3D" into tizen_7.0
Bowon Ryu [Wed, 15 Feb 2023 08:21:19 +0000 (17:21 +0900)]
[Tizen] Fix the valid condition of text update
Even when numberOfCharacters is 0u,
mParagraphCharacterIndex and mRequestedNumberOfCharacters cannot be greater than numberOfCharacters.
But in this case(text is empty), normal operation can be guaranteed by clear of update info.
Change-Id: Iad714d19598943492bae5eb51f1904a22d57b66c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Tue, 7 Feb 2023 06:59:51 +0000 (15:59 +0900)]
[Tizen] Backport tizen_7.5 for Scene3D
This is a combination of 54 commits.
Revert "[Tizen] Texture size reduction on the fly for 3D model using metadata"
This reverts commit
bd8d3703a1147e323aafca88a8a774495cc1e56c.
Revert "[Tizen] Make API to set MultiSampling level for SceneView"
This reverts commit
59df57f1a5ebfefd81ba56e44c918e41e5c452d5.
Revert "[Tizen] Able to load uint8_t type Joint + Able to animate 0 duration animation"
This reverts commit
95d8d0192701e1127293955308f67845a309b228.
Revert "[Tizen] inherit parent color in 3D model."
This reverts commit
780ee74b53272bfcf3b26e6ca9b0c74aa0e84c0b.
Revert "[Tizen] Support Fade animation when UseFrameBuffer is true in SceneView."
This reverts commit
8cf0d351b5ec71b456a0ce6565047a34233019e9.
Revert "[Tizen] Use AnimatedProperty instead of name for getActor."
This reverts commit
b74811f29389151fba6870c8bcf19d4e96b8474a.
Revert "[Tizen] Make FBO visual use premultiplied alpha (2)"
This reverts commit
d3d7e9f9f8e1555e6ce9de3a8496a9af11188009.
Revert "[Tizen] Make FBO visual use premultiplied alpha"
This reverts commit
280dc16b205e696bc652baaf90361a176f331f0a.
Revert "[Tizen] Fix opacity animation issue in 3D"
This reverts commit
f5d4d324ddb013f67fe21367027ab7425bd0fdb8.
Revert "[Tizen] Do not name check to add node"
This reverts commit
37a0481c17b7083f8a28d5274bd47a7d43290ed0.
Revert "[Tizen] Fix Scene3D shader cache miss"
This reverts commit
cae8c5dee904d34aaad8343d33c54e152d80f6b4.
Revert "[Tizen] Fix Scene3d::Loader bugs"
This reverts commit
c2d880b6505e40da7324195c9e2e3ee1cb40a0c4.
Revert "[Tizen] Fix 3D blend issue"
This reverts commit
16874136b5ffc785c05dbe2ab878a28792f5a07f.
Revert "[Tizen] Make Scene3D controls also applied actor color"
This reverts commit
089ff5baf1e75b911225806238570302b1ef184a.
Revert "[Tizen] Make SceneView FBO multisampling + Sync utc harness"
This reverts commit
e31bcb82f18b6117db091de8065c72e83a1efd33.
Revert "[Tizen] Support KHR_materials_specular and KHR_materials_ior extension of glTF"
This reverts commit
d63237ffbc775aa0328b802aed35d9da80874533.
Revert "[Tizen] Fix bug that didn't make nodes for child of multiple primitive"
This reverts commit
c12abcc2110b68497af5001671060182c491b207.
Revert "[Tizen] Remove SceneView RenderTask when destroied"
This reverts commit
6fa874b3ee5fc3da1a1f95e296a033ccefe3406f.
Revert "[Tizen](Scene3D) Change model's default behavior"
This reverts commit
a080be35b4960c8b7aee92c4df7cebfc9095274f.
Revert "[Tizen] Refactoring of SceneView and Model."
This reverts commit
cc7b2a7ebc1454b3a16db294d87fddb34b7a2995.
Revert "[Tizen] Fix Svace issue for 64bit"
This reverts commit
6b09321d0f01f06b199117f264a39e4af7beb4d1.
Revert "[Tizen] Fix build error"
This reverts commit
ff4ecf19c7d7d55af2c8750155c80c599afbc0e6.
Revert "[Tizen] Add Asynchronous loading for Model and SceneView"
This reverts commit
a557071870fe977361cb6d4316927f57ee3c8f60.
Add Skybox in SceneView
Signed-off-by: seungho <sbsh.baek@samsung.com>
Fix Svace issue for 64bit
Solve some convert from size_t to uint32_t case.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Refactoring of SceneView and Model.
- Loosen the coupling between SceneView and Model using observer.
- Add Priority of IBL. Model IBL has higher priority than SceneView.
Signed-off-by: seungho <sbsh.baek@samsung.com>
(Scene3D) Change model's default behavior
1. Make mRootModel's KEYBOARD_FOCUSABLE as false in default.
2. Set ParentOrigin at Intialize timing, not ModelLoad completed
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Deprecate camera plane distance setter + Allow to setup OrthographicSize.
Set each Left/Right/Top/Bottom plane distance setter is deprecated.
Instead of that API, we make to use OrthographicSize.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Make Scene3D controls also applied actor color
Let we make PBR shader use our world color system.
TODO : We should change DepthWrite & AlphaBlend properties on coreside.
Since the model might has 32bit image as texture, we cannot make
DepthWrite / BlendMode as AUTO.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Creates RenderTask when it connects on Scene and Remove it when it is disconnected.
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Enable multiple primitives in a mesh(glTF)
Signed-off-by: seunghobaek <sbsh.baek@samsung.com>
Support KHR_materials_specular and KHR_materials_ior extension of glTF
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Make SceneView FBO multisampling + Sync utc harness
Let we make SceneView's FBO usecase use multisampling as default.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Texture size reduction on the fly for 3D model using metadata
Make FBO visual use premultiplied alpha
Since FBO result use Premultiplied alpha texture,
make sure that FBO image use premultiplied alpha during render.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Equirectangular projection support for Skybox in SceneView
Fix Scene3d::Loader bugs
- Make Renderer translucent when AlphaMode is Blend
- Use discard for AlphaMode.Mask in shader
- Fixed ConvertSampler bug.
- Fixed crash when there isn't "scene" property in glTF
- Fixed wrong loading of buffer when the bufferView uses stride.
- Returns MeshDefinition::Blob::GetBufferSize() only mLength
This is because every use case of this method is to set real buffer size without considering stride.
- Fix texture order of Specular and Specular color.
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Allow duplicated name and use Actor ID as a unique key to define animation.
- We don't need to make crash when multiple nodes had same name.
- DALi actor also allows duplicated name.
- Because name is not an unique key, make AnimationDefinition use Actor ID as a key.(for glTF)
- glTF don't use name as a key.
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Fix Scene3D shader cache miss
1. Hash include THREE_TEX eash items.
It will reduce some shader hash collision.
2. Make vertex color use ifdef in shader level.
(Since we'd better skip to allocate vertex color attribs in usal case)
TODO : Current shader-define-factory.cpp implement has various problem.
We should refactorize this code, and re-open UTC soon
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Minor coverity issue fixed (scene3d only)
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Modify ColorMode Policy for SceneView and Model
- For Model, Use ColorMode::USE_OWN_MULTIPLY_PARENT_ALPHA for ColorMode
- Actor::Property::COLOR will affect its children Actors.
- For SceneView, Use ColorMode::USE_OWN_COLOR when mUseFrameBuffer is true.
- When Opacity of SceneView is animated, it looks natural.
- But, use ColorMode::USE_OWN_MULTIPLY_PARENT_ALPHA when mUseFrameBuffer is false.
- Then, Opacity animation is works (but slightly looks unnatural.)
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Use Renderer::BlendMode::USE_ACTOR_OPACITY instead to use depth write mode
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Bug fix to load animation of dli in Model
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Asynchronous loading of Scene3D resources
Signed-off-by: seunghobaek <sbsh.baek@samsung.com>
Fix SVACE error in scene-view
Able to load uint8_t type Joint + Able to animate 0 duration animation
This patch try to resolve 2 kind of unsupported feature.
1. There was possible to set JOINT_0 accessor type as unsigend byte.
Make it supported.
2. If duration of gltf was 0, the keyframe's progress value become -nan.
It may occure some problems.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Use EnvironmentMapLoadTask to load Equirectangular projection image.
- Changes SkymapType to EnvironmentMapType
- TODO: To make IBL image support Equirectangular projection
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Fix default IBL env map type as Cube Map
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Support embedded texture data for glTF + alpha
- Supports embedded gltf
- Supports data: iri for image.uri
- Supports data: iri for buffer.uri
- Supports image.bufferView.
- Additional Fix
- Changes default value of Sampler.wrapS, wrapT to Refeat
- Adds function to decode base64 to std::vector<uint_8>
- Fixes base64 decoder to do not cut end part.
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Make API to set MultiSampling level for SceneView
Make new API to set FBO's multiSamplingLevel what this scene view will use.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Fixed SVACE issue in gltf2-loader
Fix svace issue (uint32_t to long or std::streamsize)
To convert unsigned value into signed value safely,
we should convert as unsigned type with same size as signed type,
and after done, convert into signed type.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Reduce decoding time of embedded gltf + Fix base64 encode bug
Let we don't copy the full string during decode base64.
+
Let we print '=' tags end of encoded base64 result, so
we can decode the encode result at common external library.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Generate tangent as Vector4 for gltf
Since gltf use aTangent as Vector4 type, we seperate
the tangent load logic and shaders.
But dali auto generated aTangent used only for Vector3.
It mean Vector4's w value was ignored.
This patch branch whether we use Vector3 tangent or not.
Change-Id: I78c4e77b9322d997bfdf7cd3f0b548ed7a188666
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 8 Feb 2023 05:55:49 +0000 (14:55 +0900)]
[Tizen] Make default FBO MSAA level as 4
To keep backward behavior, make default value as 4.
Change-Id: I26b7d0d6c3c1a93f5d516dc7c1050bbfa625dda2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Richard [Wed, 16 Nov 2022 14:56:40 +0000 (14:56 +0000)]
[Tizen] Texture size reduction on the fly for 3D model using metadata
Change-Id: Id07b93141797569bc99496c8baa9f72e6a4dde15
Eunki, Hong [Fri, 27 Jan 2023 07:42:52 +0000 (16:42 +0900)]
[Tizen] Make API to set MultiSampling level for SceneView
Change-Id: I8a3c61d8590d883b915a781ed5ab609e3394f771
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Thu, 12 Jan 2023 08:20:10 +0000 (17:20 +0900)]
[Tizen] Remove unnecessray Clipboard creation in text controller
Change-Id: Ia6a3dcadaecefb3b5e835734338f5a8c37240f4f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Wed, 4 Jan 2023 16:00:05 +0000 (01:00 +0900)]
[Tizen] Able to load uint8_t type Joint + Able to animate 0 duration animation
Change-Id: I7ac634d346f34e85947c9771437ed0bae266a3f3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Thu, 12 Jan 2023 03:17:39 +0000 (12:17 +0900)]
[Tizen] Change trace tag in Text
DALI_TRACE_PERFORMANCE_MARKER tag is outputting too many logs by default.
Separate tag for text : DALI_TRACE_TEXT_PERFORMANCE_MARKER
Change-Id: I2d771b2fc64dac052f6a9e6a20bbf1a72a1a22a9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dongsug song [Thu, 5 Jan 2023 09:04:12 +0000 (09:04 +0000)]
Merge "[Tizen] Add an API for 'create,window' event." into tizen_7.0
Eunki, Hong [Thu, 29 Dec 2022 13:28:01 +0000 (22:28 +0900)]
[Tizen][Text] Add some more trace marker for text
Change-Id: Id0d9161cce9af8cfcbeb891d9dee18d477be2b46
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 29 Dec 2022 12:58:50 +0000 (21:58 +0900)]
[Tizen] Do not relayout if equal font family setted
Change-Id: I8dc263f129ebdadf54b7e17f7729eb922c54a915
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Lukasz Oleksak [Wed, 14 Dec 2022 13:34:20 +0000 (14:34 +0100)]
[ATSPI] Lazily embed the web content subtree
Delays necessity to make synchronous call on dbus, what reduces chances
for deadlock.
Change-Id: Ica669ca490619ca0906cc0c14c8f7dfde0925023
(cherry picked from commit
08137e93e1cab00962a917ac193d815be78eecca)
Artur Świgoń [Mon, 12 Dec 2022 10:24:13 +0000 (11:24 +0100)]
[Tizen][AT-SPI] Add child_bus attribute to parents having remote accessibility object child
This will allow AT-clients to query in a single dbus call (via collection iface) all busses used for UI embedding.
Result of such query may be used by AT-client to limit its dbus calls to:
a) active window process
b) processes that provide UIs embedded in active window
and avoid dbus calls to processes being in background, which respond very slowly.
Change-Id: Iacccb00087380e3f2e33cd8feb7b5120068922c7
seungho baek [Tue, 20 Dec 2022 06:36:24 +0000 (15:36 +0900)]
[Tizen] inherit parent color in 3D model.
Change-Id: I57ec36ecf3aa51ba7d1debc2df0e4c1539a5248b
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
tscholb [Thu, 15 Dec 2022 06:11:53 +0000 (15:11 +0900)]
[Tizen] Fix issue using broken image
when GetNaturalSize() is called after the image is already loaded,
we can't get proper broken image because mPlacementActor is null.
Change-Id: I9394c4447b46ee442056266e4be7f6c220a3ce4d
Bowon Ryu [Thu, 15 Dec 2022 06:33:30 +0000 (15:33 +0900)]
[Tizen] Add Filter in InputFilter
This patch enables filtering of strings from InsertText() by regex.
Change-Id: I1b28f0e24c782f94ee0453b1366d51ea08e45c36
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Heeyong Song [Thu, 15 Dec 2022 09:12:23 +0000 (18:12 +0900)]
[Tizen] Change DebugPriority name
Change-Id: I6558c8cebec6a26119afd93d7b427490081de9fc
seungho baek [Fri, 16 Dec 2022 06:16:27 +0000 (15:16 +0900)]
[Tizen] Support Fade animation when UseFrameBuffer is true in SceneView.
Change-Id: I9be39db73b3b157e673415f6d5729654031f29d5
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Wed, 14 Dec 2022 09:11:00 +0000 (18:11 +0900)]
[Tizen] Use AnimatedProperty instead of name for getActor.
- This allows AnimationDefinition can find target Actor by using node id
Change-Id: Ie827fb71c574b56f71cdc9ffeeb6ae11046e96e3
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
huayong.xu [Wed, 14 Dec 2022 07:40:25 +0000 (15:40 +0800)]
[Tizen] Add an API for 'create,window' event.
Change-Id: I1d653e4fad7ae80e157a2a53bf0b70471df63c82
Eunki, Hong [Tue, 13 Dec 2022 07:56:55 +0000 (16:56 +0900)]
[Tizen] Make FBO visual use premultiplied alpha (2)
Set release policy as DESTROYED so let we don't call
LoadTexture at SceneOn timming multiple times
Change-Id: I8d68cab136ab0809c0fd5592c81618d51b19bc0c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Tue, 13 Dec 2022 06:58:33 +0000 (06:58 +0000)]
Merge "[Tizen] Make FBO visual use premultiplied alpha" into tizen_7.0
Seungho BAEK [Tue, 13 Dec 2022 06:48:24 +0000 (06:48 +0000)]
Merge "[Tizen] Fix opacity animation issue in 3D" into tizen_7.0
Eunki, Hong [Tue, 13 Dec 2022 06:43:47 +0000 (15:43 +0900)]
[Tizen] Make FBO visual use premultiplied alpha
Since FBO result use Premultiplied alpha texture,
make sure that FBO image use premultiplied alpha.
Change-Id: I53e957ac3e2311587f3b68c29e4ca967972ad24d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Mon, 12 Dec 2022 08:28:43 +0000 (17:28 +0900)]
[Tizen] Fix opacity animation issue in 3D
Change-Id: Ib46c120a62f10d846c43855691604145dc52c8ad
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Mon, 12 Dec 2022 05:26:05 +0000 (14:26 +0900)]
[Tizen] Do not name check to add node
- We don't need to make crash when multiple nodes had same name.
- DALi actor also allows duplicated name.
Change-Id: Ibcb3e21640cf2a8124bb450b73159eeaf1cdf4f3
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Thu, 8 Dec 2022 09:53:01 +0000 (18:53 +0900)]
[Tizen] Fix Scene3D shader cache miss
Change-Id: I53858118dc98ae16ede4d48bd234ebc24e112933
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Heeyong Song [Tue, 29 Nov 2022 11:19:26 +0000 (20:19 +0900)]
[Tizen](Vector) Notify vector renderer that rendering is stopped
Change-Id: Ic40190fd905bac34cccc7555ad027e8b5b910ea0
seungho baek [Thu, 1 Dec 2022 10:21:49 +0000 (19:21 +0900)]
[Tizen] Fix Scene3d::Loader bugs
- Make Renderer translucent when AlphaMode is Blend
- Use discard for AlphaMode.Mask in shader
- Fixed ConvertSampler bug.
- Fixed crash when there isn't "scene" property in glTF
- Fixed wrong loading of buffer when the bufferView uses stride.
- Returns MeshDefinition::Blob::GetBufferSize() only mLength
This is because every use case of this method is to set real buffer size without considering stride.
- Fix texture order of Specular and Specular color.
Change-Id: Ie05108557ea25faa4865ce0e3903d7018f1db621
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Bowon Ryu [Tue, 29 Nov 2022 10:48:44 +0000 (19:48 +0900)]
[Tizen] fix white space issue in hidden input
The calculated text size is used in atlas renderer.
When the text is all white space, partial render issue occurs because the width is 0.
To avoid issue, do not remove the white space size in hidden input mode.
Change-Id: Id92becdb0103fa6dee20c5cd272ee3d4314121c6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Thu, 24 Nov 2022 10:56:16 +0000 (19:56 +0900)]
[Tizen] Fix hidden input issue
Fixed issues with SHOW_LAST_CHARACTER mode
- After all text is deleted, the first input character is not visible.
- The last character is always visible regardless of the position of the cursor.
Change-Id: I48689bf7e38b05c655d416c4e2df1d4553dca992
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Thu, 24 Nov 2022 07:41:44 +0000 (16:41 +0900)]
[Tizen] Fix 3D blend issue
Change-Id: Iec6fdc09fd028b2b8a4507da64b61d88014f27f3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Tue, 22 Nov 2022 10:45:41 +0000 (10:45 +0000)]
Merge "[Tizen] Make Scene3D controls also applied actor color" into tizen_7.0
Eunki Hong [Tue, 22 Nov 2022 06:55:44 +0000 (06:55 +0000)]
Merge "[Tizen] Make SceneView FBO multisampling + Sync utc harness" into tizen_7.0
Eunki Hong [Sun, 20 Nov 2022 07:07:18 +0000 (16:07 +0900)]
[Tizen] Make Scene3D controls also applied actor color
Let we make PBR shader use our world color system.
TODO : We should change DepthWrite & AlphaBlend properties on coreside.
Since the model might has 32bit image as texture, we cannot make
DepthWrite as AUTO.
Change-Id: I4e3371d940cdebc45c43d2cb9acc88018c111bf2
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
seungho baek [Thu, 17 Nov 2022 14:25:47 +0000 (23:25 +0900)]
[Tizen] Support KHR_materials_specular and KHR_materials_ior extension of glTF
Change-Id: Ieccdc7046bcc0e0a231d4d39526d610a9b7cf036
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Fri, 18 Nov 2022 05:56:31 +0000 (14:56 +0900)]
[Tizen] Fix bug that didn't make nodes for child of multiple primitive
- And add double sided property
Change-Id: I2ccb4977ff79782a5cb2ba154ea313517397ed2a
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Fri, 11 Nov 2022 13:51:03 +0000 (22:51 +0900)]
[Tizen] Make SceneView FBO multisampling + Sync utc harness
Let we make SceneView's FBO usecase use multisampling as default.
Change-Id: Ibaafba7cd384fcf4162c6ccc126dd76228c0e98f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 18 Nov 2022 11:25:04 +0000 (11:25 +0000)]
Merge "[Tizen] Remove SceneView RenderTask when destroied" into tizen_7.0
Eunki, Hong [Fri, 18 Nov 2022 10:26:17 +0000 (19:26 +0900)]
[Tizen] Remove SceneView RenderTask when destroied
RenderTask created when it Initialized.
But we don't remove RenderTask whereever.
This patch make we sure remove task, so resolve memory leak
Change-Id: I19f31d9edcaa417e7412610889de4b7c0a80feac
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho [Thu, 10 Nov 2022 07:14:59 +0000 (16:14 +0900)]
[Tizen] Fix SVACE Issue
Change-Id: If9c627644cc798851f8272deaecffe0542078cc7
Signed-off-by: seungho <sbsh.baek@samsung.com>
Eunki, Hong [Fri, 11 Nov 2022 04:38:51 +0000 (13:38 +0900)]
[Tizen](Scene3D) Change model's default behavior
1. Make mRootModel's KEYBOARD_FOCUSABLE as false in default.
2. Set ParentOrigin at Intialize timing, not ModelLoad completed
Change-Id: I11ef708f75948584d493f184fa3d929300ef57af
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho [Mon, 31 Oct 2022 06:48:39 +0000 (15:48 +0900)]
[Tizen] Refactoring of SceneView and Model.
- Loosen the coupling between SceneView and Model using observer.
- Add Priority of IBL. Model IBL has higher priority than SceneView.
Change-Id: I65ebd109911df22704a7106f0e3421a01c342637
Signed-off-by: seungho <sbsh.baek@samsung.com>
Eunki, Hong [Tue, 8 Nov 2022 12:34:58 +0000 (21:34 +0900)]
[Tizen] Make NPatchData as unique_ptr
Relative patch with below NPatch memory leak.
Make UTC + make membervalue as unique_ptr.
Now we don't miss reference count of NPatchData.
Change-Id: I68bdcd805673e6b40b60c235815b145187314aa4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 8 Nov 2022 08:41:16 +0000 (17:41 +0900)]
[Tizen] Fix NPatch memory leak
Change-Id: I7d003cc08a51b60f91d0d8fdb33ce74b5d5cd562
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 4 Nov 2022 15:05:10 +0000 (00:05 +0900)]
[Tizen] Fix Svace issue for 64bit
Solve some convert from size_t to uint32_t case.
Change-Id: Ic7f013742e9d14d58d1b85fdc9c4a9025f368f50
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 2 Nov 2022 11:29:52 +0000 (20:29 +0900)]
[Tizen] Fix build error
Minor fix
Change-Id: I89c2490023483aaceccbf6792d12b75a1e5a9838
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho [Wed, 2 Nov 2022 09:56:33 +0000 (18:56 +0900)]
[Tizen] Add Asynchronous loading for Model and SceneView
This reverts commit
ee3275dfdf14134cd54631c39484e29d01a2fad7.
Change-Id: I06fa34335760826c1e1e4d2b5331db946d5aaf1c
tscholb [Wed, 2 Nov 2022 07:52:42 +0000 (16:52 +0900)]
Merge branch 'devel/master' into tizen
tscholb [Wed, 2 Nov 2022 07:51:56 +0000 (16:51 +0900)]
Revert "[Tizen] Add Asynchronous loading for Model and SceneView"
This reverts commit
70f10889bc6e8c08b061a3c8e092932504b427c5.
tscholb [Wed, 2 Nov 2022 07:51:50 +0000 (16:51 +0900)]
Revert "[Tizen] Modify window position data type"
This reverts commit
e0b23b20adfe7b3d41971a2117e3225c7fa93493.
tscholb [Wed, 2 Nov 2022 07:51:42 +0000 (16:51 +0900)]
Revert "[Tizen] Rotate camera when screen orientation is changed."
This reverts commit
2a18c29f97e51139b4509691b321f6aeccacc2ea.
tscholb [Wed, 2 Nov 2022 07:51:39 +0000 (16:51 +0900)]
Revert "[Tizen] Apply ProjectionDirection property when SceneView size changed"
This reverts commit
3db76e856702eb7153b9cac77d4b4eb04a3374d0.
tscholb [Wed, 2 Nov 2022 07:51:36 +0000 (16:51 +0900)]
Revert "[Tizen](Vector) Support desired size"
This reverts commit
ccde201431dc3525786ce0220902c5208777e1a5.
tscholb [Wed, 2 Nov 2022 07:51:33 +0000 (16:51 +0900)]
Revert "[Tizen](SVG) Support desired size"
This reverts commit
af65398903c4746d0075232911444af8f3b695d8.
joogab.yun [Mon, 31 Oct 2022 06:01:08 +0000 (15:01 +0900)]
Added SINCE_2_2 doxygen tag
Change-Id: I0523050e20b68d8e0872755e6c5e36497e47d371
David Steele [Fri, 28 Oct 2022 10:27:31 +0000 (10:27 +0000)]
Merge "DALi Version 2.1.46" into devel/master
Richard Huang [Fri, 28 Oct 2022 10:25:28 +0000 (11:25 +0100)]
DALi Version 2.1.46
Change-Id: I7cf4eecdd6bc18173a59066ab9494e4f380cfa18
Bowon Ryu [Fri, 28 Oct 2022 01:36:29 +0000 (01:36 +0000)]
Merge "Fix svace issues" into devel/master
Wonsik Jung [Fri, 28 Oct 2022 01:00:22 +0000 (01:00 +0000)]
Merge "Fix race-condition when window is resized or rotated." into devel/master
Bowon Ryu [Thu, 27 Oct 2022 09:39:56 +0000 (18:39 +0900)]
Fix svace issues
added some castings.
Change-Id: I3faf830d41c3e25211381a768eec1c30e9f67d07
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Adeel Kazmi [Tue, 25 Oct 2022 15:09:36 +0000 (16:09 +0100)]
Changes required after Window::DownCast addition
Change-Id: Ibf6e18fa9b05fa226846bbcd25178f9f58454fe4
David Steele [Fri, 21 Oct 2022 10:47:27 +0000 (11:47 +0100)]
DALi Version 2.1.45
Change-Id: I92889409726aae57cab5361fe4d4be7dc3fc62d9
Wonsik Jung [Thu, 22 Sep 2022 21:49:52 +0000 (06:49 +0900)]
Fix race-condition when window is resized or rotated.
Internal dali window module has some variables and flags.
They are set by both main thread and render thread.
It has the effect of race condition when window is resized or rotated serval times.
This patch is to fix them.
Change-Id: Iba405199015dc00fec4d7d6f6ff2ecf6f997abcb
David Steele [Fri, 14 Oct 2022 12:03:06 +0000 (12:03 +0000)]
Merge "DALi Version 2.1.44" into devel/master
Eunki Hong [Fri, 14 Oct 2022 10:11:04 +0000 (10:11 +0000)]
Merge "Modify window position data type" into devel/master
Adam Bialogonski [Fri, 14 Oct 2022 09:25:38 +0000 (10:25 +0100)]
DALi Version 2.1.44
Change-Id: I400ea1060fc004fc381f91df64500685822c3b97
Bowon Ryu [Fri, 14 Oct 2022 02:43:59 +0000 (11:43 +0900)]
Fix TextUpdateInfo::Clear() issue
The Clear method sets (uint)mCharacterIndex to -1,
so it makes a maximum uint value.
This causes many problems, but since it was implemented,
all index logic is related to it, so it is difficult to fix.
This patch avoids this issue by backup/restore of mCharacterIndex like TextEditor.
But we should consider changing mCharacterIndex to an integer.
Change-Id: Ida2c2af83438e71f6f05713a7de927f7b15aa7bd
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Wonsik Jung [Mon, 26 Sep 2022 10:49:44 +0000 (19:49 +0900)]
Modify window position data type
Current WindowPosition has the unsigned int data type.
It means that current data type can not support the negative coordinate.
This patch is to support it.
Change-Id: I2865ab926bb19853c7ecb4babd82384b5d673623
Eunki, Hong [Fri, 30 Sep 2022 12:39:50 +0000 (21:39 +0900)]
Apply ProjectionDirection property when SceneView size changed
SceneView's internal calculation need to be changed
if camera's whether projection direction is VERTICAL or HORIZONTAL.
Change-Id: I270ddaa0ab3e052155bed2871b42ebfdfa1d32ac
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 7 Oct 2022 11:23:26 +0000 (12:23 +0100)]
DALi Version 2.1.43
Change-Id: I6b34a69fd02b72e9c3e6b4664c30d8e9c27b12c5
seungho [Thu, 6 Oct 2022 06:03:27 +0000 (15:03 +0900)]
Fix Svace issue
- Check null in the dli-loader
Change-Id: Ib6f33aa1e09c05a5ae4a3b9ff900fe4727350c38
Signed-off-by: seungho <sbsh.baek@samsung.com>
seungho [Fri, 30 Sep 2022 11:36:35 +0000 (20:36 +0900)]
Rotate camera when window orientation is changed.
Change-Id: I90d0c99abc83479316f323ae198e62fbb0775dd6
Signed-off-by: seungho <sbsh.baek@samsung.com>
Heeyong Song [Wed, 5 Oct 2022 02:56:04 +0000 (02:56 +0000)]
Merge "(SVG) Support desired size" into devel/master
Heeyong Song [Wed, 5 Oct 2022 02:55:57 +0000 (02:55 +0000)]
Merge "(Vector) Support desired size" into devel/master
Eunki, Hong [Tue, 4 Oct 2022 09:34:48 +0000 (18:34 +0900)]
[Tizen](SVG) Support desired size
This reverts commit
d395ce821896f06bee774a90ac2c1a60ddc43935.
Change-Id: I29909a756182adcfb4759bc8e90aa15974363196
Eunki, Hong [Tue, 4 Oct 2022 09:34:32 +0000 (18:34 +0900)]
[Tizen](Vector) Support desired size
This reverts commit
0b487c5080b1f46e00be8af6ec0a419c6dce9d1c.
Change-Id: I5a4ab1fa808a97e0b254c05758180a02269c4cc8
Eunki, Hong [Tue, 4 Oct 2022 09:33:27 +0000 (18:33 +0900)]
[Tizen] Apply ProjectionDirection property when SceneView size changed
This reverts commit
ede25d85639ad61dfa4a915b9175620bdd20f1cb.
Change-Id: Ife7c5099dd89e1d348063272600bcacf27e7a6b1
Eunki, Hong [Tue, 4 Oct 2022 09:33:15 +0000 (18:33 +0900)]
[Tizen] Rotate camera when screen orientation is changed.
This reverts commit
4fed653d5f5822476348f0967eacc6fe6dba795d.
Change-Id: Ia6af014aa3fe28b97878c5dbdf25c610a7594e1a
Eunki, Hong [Tue, 4 Oct 2022 09:32:59 +0000 (18:32 +0900)]
[Tizen] Modify window position data type
This reverts commit
6f9ba55ae931df805b3dee8df991008cd87d1bf1.
Change-Id: Ib1401885629fbc60d6da333d648f037cfb3fe2b2
Eunki, Hong [Tue, 4 Oct 2022 09:32:01 +0000 (18:32 +0900)]
[Tizen] Add Asynchronous loading for Model and SceneView
This reverts commit
570e3ee34bf31053131cbf9d1a3c3125d2ae228a.
Change-Id: I80df8b088232425d403e1ceca6ed2c10cba8fbec
Eunki, Hong [Tue, 4 Oct 2022 09:28:05 +0000 (18:28 +0900)]
Merge branch 'devel/master' into tizen
Change-Id: I67ef8f1159bc77c9d4d62db1a3972308b75967ae
Eunki, Hong [Tue, 4 Oct 2022 09:27:44 +0000 (18:27 +0900)]
Revert "[Tizen] Add Asynchronous loading for Model and SceneView"
This reverts commit
7b0b453dd38b28522a390a5e9181a81fb481e486.
Eunki, Hong [Tue, 4 Oct 2022 09:27:41 +0000 (18:27 +0900)]
Revert "[Tizen]Fix maskTextureId remove issue"
This reverts commit
a8891f4e674567be9b9ffb8092f882b3a22d601a.
Eunki, Hong [Tue, 4 Oct 2022 09:27:38 +0000 (18:27 +0900)]
Revert "[Tizen] Modify window position data type"
This reverts commit
392f27f24eaf73c6c415ecee3c3116cd41ae99da.
Eunki, Hong [Tue, 4 Oct 2022 09:27:36 +0000 (18:27 +0900)]
Revert "[Tizen] Rotate camera when screen orientation is changed."
This reverts commit
39d85d965ba322b9d73fc41ddfaa66ce672bb1cd.
Eunki, Hong [Tue, 4 Oct 2022 09:27:32 +0000 (18:27 +0900)]
Revert "[Tizen] Create ProjectionDirection property at CameraActor"
This reverts commit
99436ccd6d8a141f27793d6f8dd7eed98a22086d.
Eunki, Hong [Tue, 4 Oct 2022 09:27:30 +0000 (18:27 +0900)]
Revert "[Tizen](Vector) Support desired size"
This reverts commit
3181bd1869aad7b649422341b9e267aa2f6595fb.
Eunki, Hong [Tue, 4 Oct 2022 09:27:28 +0000 (18:27 +0900)]
Revert "[Tizen](SVG) Support desired size"
This reverts commit
7b808962b9b0eb2b79d5a8fa4fce3dad8bb8992c.