Seoyeon Kim [Wed, 24 Jan 2024 04:15:08 +0000 (04:15 +0000)]
Merge "[Tizen] Check missing accessible checker code" into tizen_7.0
Seoyeon Kim [Wed, 24 Jan 2024 04:15:02 +0000 (04:15 +0000)]
Merge "[Tizen] (A11y) Let we make some way to do not create new Accessible" into tizen_7.0
Eunki, Hong [Thu, 16 Nov 2023 04:52:31 +0000 (13:52 +0900)]
[Tizen] Check missing accessible checker code
Fix svace issue
Change-Id: I8e60b163fb39ff6481aa85ef4dc1f0ce9cfeef71
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
sunghyun kim [Tue, 23 Jan 2024 09:45:18 +0000 (18:45 +0900)]
[Tizen] Apply CornerRadius for webview
Change-Id: Ief9a97223cc3070633b87cf037d19b27ded32b41
Eunki, Hong [Wed, 8 Nov 2023 13:29:49 +0000 (22:29 +0900)]
[Tizen] (A11y) Let we make some way to do not create new Accessible
Add some API that we will not create new Accessible() object anymore.
It will be useful when we ignore some Disposed view's accessible action.
Change-Id: I6186f95eacf3c7d3cdb9c4ff9543edc019096552
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Thu, 18 Jan 2024 09:19:17 +0000 (18:19 +0900)]
[Tizen] Fix decorator color update issue
After a text decorator is created,
changing the related color causes only the property to be changed.
This patch fixes an issue where the actual actor's color was not changed.
Change-Id: I4778d9a51fa0cd128e24a4362354cebb81b2b2e9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Fri, 5 Jan 2024 10:14:23 +0000 (19:14 +0900)]
[Tizen][Scene3D] Make ModelNode and Light as Control
Since we need to use some control features (like KeyboardFocus) let we make
ModelNode and Light as Control, instead of CustomActor.
TODO : We'd better make some universion Control for Scene3D.
For example, we should not allow to add Visual into ModelNode or Light.
Change-Id: I8acbb57d967c438101fe8a1877950d044ca943f2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
ANZ1217 [Thu, 11 Jan 2024 11:36:48 +0000 (20:36 +0900)]
[Tizen] Fix Text Anchor don't work properly
When the text component is vertical aligned as center or bottom,
The y offset was not calculated at anchor event.
Now, it works properly.
Change-Id: I31f2530122d28e07a32c8a75875a77bcc69353ee
ANZ1217 [Fri, 12 Jan 2024 03:38:17 +0000 (12:38 +0900)]
Revert "Fix Text Anchor don't work properly"
This reverts commit
1d65ac99b64735697e4ba7db7a5a5ca8d8dba677.
ANZ1217 [Thu, 11 Jan 2024 11:36:48 +0000 (20:36 +0900)]
Fix Text Anchor don't work properly
When the text component is vertical aligned as center or bottom,
The y offset was not calculated at anchor event.
Now, it works properly.
Change-Id: I31f2530122d28e07a32c8a75875a77bcc69353ee
Eunki Hong [Fri, 5 Jan 2024 16:01:50 +0000 (01:01 +0900)]
[Tizen] Fix bug that IBLFactor / Roughness not works well when we change material
There was some bug when we change Material info, uMaxLOD and uIblIntensity does not applied what primitive has.
This is because Material's SetUniform API overwrite the value of those uniform.
This patch make we ensure the order of uniform register, so let we use correct LOD and IBL intensity.
Change-Id: Ic14b7f9b6c0e443ac17188a8968ac71a7c6328d6
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 4 Jan 2024 12:23:07 +0000 (21:23 +0900)]
[Tizen] Make SceneView's SetResolution works well
Let we change codes that might need to check whether the size of render target
is inputed by App side, by the API SetResolution.
We usually use it to reduce memory of SceneView FBO usage. So let we also make
ShadowMap size will relative with resolution.
Change-Id: Ic243dae41da04f5adea95998b5e49d863b92ba86
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dongsug.song [Fri, 5 Jan 2024 06:26:41 +0000 (15:26 +0900)]
[Tizen] TOUCH_FOCUSABLE's default is false so this also should not be set
This true setting causes abnormal behavior on FHUB WebView.
User didn't set the touch focus indicator but the blue focus indicator shows when the WebView is touched,
even though other view doesn't show focus indicator.
Change-Id: I275e15abfb7df24da0d6dbe3ee0d047e326905d7
Bowon Ryu [Fri, 29 Dec 2023 05:49:36 +0000 (14:49 +0900)]
[Tizen] Fix cursor position issue
This patch fixes an issue where the cursor position is incorrectly positioned
when padding is set for the textfield text editor.
It is a problem caused by the wrong location of the cursor layer.
Change-Id: Ifa0e9b752160761dfd6806cfc18dbf98576c71e3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Seungho BAEK [Wed, 20 Dec 2023 07:58:34 +0000 (07:58 +0000)]
Merge "[Tizen] Coverity issue fix" into tizen_7.0
Bowon Ryu [Mon, 18 Dec 2023 09:44:11 +0000 (18:44 +0900)]
[Tizen] Add AnchorColor Property
AnchorColor(or AnchorClickedColor) property is
used as the default color of the markup anchor tag.
If there is a color attribute in the markup anchor tag,
the markup attribute takes precedence.
Change-Id: Idc938495036319f74764b9ddadc2441d46eed159
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Adam Bialogonski [Thu, 14 Dec 2023 09:56:35 +0000 (09:56 +0000)]
[Tizen] Coverity issue fix
- removed unused 'mesh' parameter
Change-Id: I07505bab4da485578882ee63a0211703b2cac4a6
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
Adam Bialogonski [Thu, 23 Nov 2023 14:25:15 +0000 (14:25 +0000)]
[Tizen] fixed coverity issue
Change-Id: I14e7ced7fa0c1581454cafb46c404f191f163bd4
seungho baek [Tue, 5 Dec 2023 08:37:37 +0000 (17:37 +0900)]
[Tizen] Use DepthIndex for 3D rendering order
Change-Id: Id722744a3db4aa1504ae45894b6edcc4039994d7
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
huiyu.eun [Wed, 6 Dec 2023 02:25:08 +0000 (11:25 +0900)]
[Tizen] Remove unused path-finder header
Change-Id: Id25a16c9deebc1ab4fd0dbc5939838f57386e40b
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Adam Bialogonski [Thu, 30 Nov 2023 10:27:06 +0000 (10:27 +0000)]
[Tizen] Fixed ColliderMesh issue for NUI
The collider mesh was not registered correctly upon adding the node to the Model.
Change-Id: Id9ca71070d892017915f610b79c4ab13447b7d51
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
huiyu.eun [Tue, 5 Dec 2023 07:07:39 +0000 (16:07 +0900)]
[Tizen] Add navigation-mesh-header for hit-test
Change-Id: Ibc229c382d38cb418cacbaa72899baee66d474e9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Adam Bialogonski [Mon, 13 Nov 2023 07:34:01 +0000 (07:34 +0000)]
[Tizen] 3D Scene Hit Testing
- New functions creates mesh using list of vertices and face indices to work with NUI.
- Added the functionality to detect which mesh is hit & emit signal
Requires C# binding and NUI Model.cs update
Change-Id: Ib5bfd8ad6e7c35017db2c1173805f5c863156530
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Bowon Ryu [Mon, 4 Dec 2023 06:10:05 +0000 (15:10 +0900)]
[Tizen] Fix key event consumption issue in text field
The keycode for '$' and `RETURN` are the same on a specific device.
To avoid this problem, check the key name.
Change-Id: I743688b69e10b0bcb83476bbad8616791eebb5ea
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
seungho baek [Tue, 28 Nov 2023 07:13:21 +0000 (16:13 +0900)]
[Tizen] Add SetResolution method to SceneView
Change-Id: Ib3b9ea2352457eb3d8d6085eed2ad58300fb24e5
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Thu, 26 Oct 2023 09:17:02 +0000 (18:17 +0900)]
[Tizen] Fixed Cache for AnimatedVectorImageVisual
Change-Id: I22bab282652f5377b95ce1d34db4564398be0ae8
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Wed, 22 Nov 2023 11:42:49 +0000 (20:42 +0900)]
[Tizen] Fix gpu masking error
Change-Id: Icd6c3a14df573ddec2f7b92a05649fe5eb39ea76
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Tue, 21 Nov 2023 07:27:44 +0000 (16:27 +0900)]
[Tizen] Support RootTranslationOnly option for motion capture data
Change-Id: I4058c891336a6f802c6e70efe87e06ffdaabb1f5
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Mon, 20 Nov 2023 09:32:44 +0000 (18:32 +0900)]
[Tizen] Fix Making Issue of SceneView
Change-Id: I1079d0be81697015bbcdc43fe1732252547a4c1e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Wed, 1 Nov 2023 04:18:13 +0000 (13:18 +0900)]
[Tizen] Remove observer from mLoadQueue when we request to remove observer
That might be happen during ResourceReady signal observing
- Add
- Remove
If than, the added request added in mLoadQueue 2 times.
and Remove request try to remove observe there (but will be failed actually.)
So, the visual get LoadCompleted signal twice.
It might have some logical problem in AnimatedImageVisual.
So let we keep ensure that 1-observer can only emit only 1-time.
TODO : Make UTC
Change-Id: I3eee087118cf62761709b8416fe09cf52094d156
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
sunghyun kim [Wed, 1 Nov 2023 03:53:31 +0000 (12:53 +0900)]
[Tizen] Apply premultiply when external texture use mask
when external texture has alpha value and use mask, premultiply is not
applied.
add that patch to fix this issue
Change-Id: I9103c7a6185ea8c044a3fdfa00a5fc5a5376fe87
Seoyeon Kim [Fri, 27 Oct 2023 05:35:03 +0000 (14:35 +0900)]
[Tizen] Remove the duplicated call with Focused call
- To call `Activate()` of IME is already called in `OnKeyInputFocusGained()`
and `OnKeyInputFocusGained()` is called by `OnTap()`.
- So, IME activate call is called twice unnecessarily.
- Also, IME properties did not be set in `OnTap`,
so the normal layout of input panel shows first,
and then another type of input panel shows again. (Issue)
- Fix this issue to erase to call `Activate` in `OnTap()`.
Change-Id: Ie18b35042b0b7878efd0a8fe3fbbd5da1d3e6def
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Seungho BAEK [Thu, 26 Oct 2023 05:17:04 +0000 (05:17 +0000)]
Merge "[Tizen] To stop animated image visual when it become invisible." into tizen_7.0
seungho baek [Wed, 25 Oct 2023 05:45:17 +0000 (14:45 +0900)]
[Tizen] Enable masking for Scene3D::SceneView
Change-Id: Ia725f8a19a96d6020e1247cc49b9568a5f562215
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki Hong [Tue, 24 Oct 2023 14:05:43 +0000 (23:05 +0900)]
[Tizen] Ensure blendshape weight between [0..1]
Let we ensure the blendshape weight is between 0 and 1.
So ignore cases when weight value is bigger than 1, less than 0.
Change-Id: I3bdd0a3f59498654e6e7ac65a4a2e665a58a9fcc
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
seungho baek [Tue, 24 Oct 2023 10:09:38 +0000 (19:09 +0900)]
[Tizen] To stop animated image visual when it become invisible.
Change-Id: I48ba87d31ba6db63489879cb4a7940da8714a29f
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Bowon Ryu [Tue, 17 Oct 2023 06:36:03 +0000 (15:36 +0900)]
[Tizen] Fix ZWJ issue
Added ZWJ sequence to solve the issue of ZWJ not working.
this patch processes ZWJ as one sequnce.
and this condition has been merged with the previous emoji logic.
Added exception handling in editable environment.
Removed unnecessary variables related to emoji.
Change-Id: Id7825732d96c3e87a8c93b6c2e8d57e057eb7435
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dongsug song [Mon, 16 Oct 2023 07:51:04 +0000 (07:51 +0000)]
Merge "[Tizen] Add WebView APIs for fullscreen, text found, etc." into tizen_7.0
Seungho BAEK [Mon, 16 Oct 2023 05:44:07 +0000 (05:44 +0000)]
Merge "[Tizen] Fix Shadow issue" into tizen_7.0
seungho baek [Wed, 13 Sep 2023 08:02:06 +0000 (17:02 +0900)]
[Tizen] Fix Shadow issue
- When Model is added after shadow is set, the model cannot used for shadow
Change-Id: Iaec0f3e389068342cef9b2769e060e69832354ee
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Bowon Ryu [Thu, 12 Oct 2023 11:51:14 +0000 (20:51 +0900)]
[Tizen] Add color tag for text markup anchor
"<a color='blue' clicked-color='red' href='https://www.tizen.org'>TIZEN</a>"
user can set color and clicked color in the anchor tag.
if not set, default color is applied.
Change-Id: I6ed67b3ae4bec414e306d46bc2b70d4c7a87cdf7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
huayong.xu [Tue, 10 Oct 2023 12:21:00 +0000 (20:21 +0800)]
[Tizen] Add WebView APIs for fullscreen, text found, etc.
Change-Id: I94e98d022ce75e76e6c883a03fd0b31cd4086ec9
Bowon Ryu [Tue, 29 Aug 2023 10:04:22 +0000 (19:04 +0900)]
[Tizen] Fix visual transform offset of text label
Font rendering quality is very degraded
when the visual translation y offset is a decimal value.
To prevent this issue, round the offset.
Change-Id: I9e3630f568d6b97a623e9ed32447b2980beb78a6
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Wonsik Jung [Fri, 15 Sep 2023 02:41:07 +0000 (11:41 +0900)]
[Tizen] Change the SENSITVE value of accessibility
Change the SENSITIVE value of accessibility using actor's hittable and touch required.
Change-Id: Ib6f088e443e25c217e7adb250c23eefb43e2fa7b
seungho baek [Thu, 6 Jul 2023 13:00:35 +0000 (22:00 +0900)]
[Tizen] Shadow Mapping
- DALi will support shadow with a light.
- PCF is supported to soften shadow edge
Change-Id: Iacba477230e315a73c95ef435d33a8deeac88a3e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Heeyong Song [Mon, 5 Jun 2023 08:53:11 +0000 (17:53 +0900)]
[Tizen] Use SceneHolder::Get() instead of Window::Get()
To support off-screen window
Change-Id: I5d12ab14190a98b90904637a6b2d1c89d8a70c09
Eunki, Hong [Tue, 5 Sep 2023 01:33:58 +0000 (10:33 +0900)]
[Tizen] Fix svace / coverity issues (no effects + size_t overflow + typo)
Change-Id: I87c8fd0040b212ab306469cf48040773f11e29ff
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 26 Jul 2023 06:18:53 +0000 (15:18 +0900)]
[Tizen] Make load failed for invalid bvh format
Let we exist bvh parsing when it have some invalid informations.
Change-Id: I82f090b6207911ef9c49cbbbba8123c6cdeb46ab
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Seungho Baek [Tue, 11 Jul 2023 09:20:35 +0000 (18:20 +0900)]
[Tizen] Change some precision of shader variables to highp
- There are some visual artifact to render 3D object in case of adding Directional Light.
- Some variable's precision is too low.
- This patch changes minimum number of variable's precision to highp
Change-Id: I0ff1c30bb3f0eb837434f0dc61d2a461383dfbd2
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
seungho baek [Wed, 28 Jun 2023 13:23:07 +0000 (22:23 +0900)]
[Tizen] Apply Light using Shader Manager
Change-Id: I007842c1e6e1c46dc680acbb1306c70d1defb148
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Mon, 19 Jun 2023 13:43:00 +0000 (22:43 +0900)]
[Tizen] Makes Models use common shader manager
- In Scene3D, the responsibility for modifying the shader code or setting the shader's uniform variables was scattered across many classes.
- When a uniform variable is added or the name of a uniform variable is changed in the shader code, there was a problem of repeating the same modification in multiple codes.
- In this patch, one class is responsible for creating or managing Shader code, and the class name is changed to ShaderManager.
- And by using one ShaderManager per SceneView, it is easy to manage properties that should be applied in common within SceneView.
- Although there is no difference in use in terms of Model/SceneView API, it is helpful for code management, and performance can be improved when many Renderers share a small number of Shaders.
Change-Id: I0975921a1a7e40c453156cf9bd0b1890fc8e6526
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki Hong [Wed, 5 Jul 2023 15:58:19 +0000 (00:58 +0900)]
[Tizen] Fix comments for MotionData
Change-Id: I87b9e98de2a5ef690d85029996bbafdad7a9c554
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 7 Jun 2023 12:53:06 +0000 (21:53 +0900)]
[Tizen] Add MotionData class and generate Animation
This patch is implement NUI API by dali side
https://github.com/Samsung/TizenFX/pull/5227
Let we make APP developer use this API instead of using animation-definition.
Change-Id: Ifca479535500aeea49bf644160c23c5f3fc26665
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 8 May 2023 06:13:03 +0000 (15:13 +0900)]
[Tizen] Parse gltf mesh extra and extensions + Get BlendShape index by name
Let we parse extra / extensions information from gltf2 mesh.
It will be used when we apply blendshape informations by string.
Since we are store the blendshape name, now we can get the index of
blendshape by name per each ModelNode.
Change-Id: I4e2030901b87c76b5fb205208c13184ae6ebd7b0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Wed, 21 Jun 2023 04:27:32 +0000 (13:27 +0900)]
[Tizen] Shader Factory refactoring
Change-Id: I814de35cd21600eb5370401a60755630d6aa4dc0
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
jmm [Thu, 22 Jun 2023 11:13:28 +0000 (20:13 +0900)]
[Tizen] Detach skybox on setting an empty url
Change-Id: I8cfc89b802fe625046e98a97e15551de9285ff82
seungho baek [Wed, 24 May 2023 09:35:28 +0000 (18:35 +0900)]
[Tizen] Add Light for Scene3D
Change-Id: If21ef89a2254dd835c80449da575d301124f8fcc
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki Hong [Fri, 9 Jun 2023 15:58:14 +0000 (00:58 +0900)]
[Tizen] Fix logical error for dli animation duration
There was some code mistakes for dli loader parsing of animation duration.
Change-Id: I877cb44369a5f72b2a1064c7b8ea816bdbe806f1
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 22 May 2023 14:32:59 +0000 (23:32 +0900)]
[Tizen] Lock model cache manager access for thread safety
Since we can access to mModelCache by ModelCacheManager,
and also we can create new items (== change container itself)
Add a global mutex lock for cache manager API.
And also, add some comment why we use std::map for cache.
And also, do not open conditional wait object out of cache.
And also, increase reference count of model so we can run this function
more thread safety.
TODO : We MUST not access into model cache manager from worker thread.
(Since worker thread can Process even main thread shutdown.)
MUST be refactorize.
Change-Id: I81e95a5f5df8c16dbaf6b84b6ddd3cd4809121d0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 31 May 2023 23:56:45 +0000 (08:56 +0900)]
[Tizen] Add dali-scene3d.h for increase app developer convenience
Follow dali/dali.h, dali-toolkit/dali-toolkit.h,
Let we make dali-scene3d/dali-scene3d.h which contain all kind of
public-api of dali-scene3d.
So even if we refactorize dali-scene3d directory system,
let other application didn't got effort.
Change-Id: I22b8bca67177280d04f6d5c2db7ecdec6b0b9484
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 30 May 2023 03:54:26 +0000 (12:54 +0900)]
[Tizen] Let we use integer uniform for shader
Since we cannot believe float to integer convertor,
Let we use integer uniform value register without float conversion
Change-Id: Idf740687b51b73a00db77eb4a784f0acef73f5df
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 4 Aug 2023 09:08:34 +0000 (18:08 +0900)]
[Tizen] Fix unload svg file error.
When we create Svg Visual -> SceneOn & SceneOff very fast during all rasterize
threads are fully busy,
It will remove SvgLoadingTask who is in mResterizeTasks.
After we re-sceneon that visual again, it will be broken :
mLoadingFail is not true, but we didn't load file.
This patch make we don't remove SvgLoadingTask when we call RemoveTasks
Change-Id: I40582ebb2512e56e96eed64caff4b1070b4bd9c2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Fri, 16 Jun 2023 11:57:21 +0000 (20:57 +0900)]
[Tizen] Fix Gradient Visual texturing issue
Change-Id: I6b0318cfb8716f5a8a08e1e96e4ca256f00af12e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Bowon Ryu [Fri, 9 Jun 2023 05:00:14 +0000 (14:00 +0900)]
[Tizen] Apply font size scale to markup text
Change-Id: I1c6467a1ebb42b4604497db12b12052fc7deba80
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Heeyong Song [Fri, 2 Jun 2023 02:22:31 +0000 (11:22 +0900)]
[Tizen](SceneView) Reset the removed RenderTask
Change-Id: I29a1d8ae306f49d0dd9b13842ba2f1d95190690d
sunghyun kim [Thu, 4 May 2023 02:13:14 +0000 (11:13 +0900)]
[Tizen] Masking support for external textures
Masking support for external textures as well.
For masking, only GPU masking is available.
Support for both asynchronous/synchronous.
Change-Id: Ifdd18f0d90911ba849b5ff9cf1d8255f40ce12e9
Artur Świgoń [Thu, 25 May 2023 12:59:41 +0000 (14:59 +0200)]
[Tizen][AT-SPI] Remove Text{Editor,Field}::mStencil from the tree
These objects are not interesting to the Screen Reader.
Change-Id: I764ca04999114ca7f14a3e9a04442c1971b79ad7
Eunki, Hong [Wed, 17 May 2023 08:14:38 +0000 (17:14 +0900)]
[Tizen] Let ModelCache use std::map instead of unordered_map
If mModelCache become rehashed during some model-load-task lock the process,
It might make some crash.
To keep the validation of ModelCacheManager::ModelCache data, let we use
the cache container as std::map, instead of std::unordered_map
Change-Id: Ied52a7cd8fcf805eb18d5563df1da821f4d3c655
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Richard [Thu, 18 May 2023 14:09:13 +0000 (15:09 +0100)]
[Tizen] Fix the normalization factor calculation for blendshapes
This patch fixes two issue:
1. Fix the calculation of the blendshape normalization factor so that it can
handle smaller maximum distance between the original mesh and the deformed
mesh.
2. Apply the min and max properties of the accessor to all the elements in the
accessor, not just the elements in the sparse storage.
Change-Id: Iea90cbacf91fc7311242d9a47454b06afee82200
Heeyong Song [Thu, 18 May 2023 08:38:24 +0000 (17:38 +0900)]
[Tizen] Sync test harness
Change-Id: I1bb2bd71ae9133e165cace85e6e8da283b47b6e8
Bowon Ryu [Fri, 19 May 2023 07:38:40 +0000 (16:38 +0900)]
[Tizen] Fix initial white space issue in text
Current logic does not send text and cursor position for initial white space to IME.
I don't know the exact history of this logic.
But in case of efl, it is sending information about initial white space to IME.
Change behavior for consistency.
Change-Id: I86bc7ecfece9f02c2eb670c3359efc31d79daabb
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Adam Bialogonski [Tue, 16 May 2023 15:53:24 +0000 (16:53 +0100)]
[Tizen] Blendshapes fix
When using sparse accessors, the gltf loader loads data correctly
but the blendshapes generator (texture and data) always assumes that
morph targets contain all the vertices which isn't a case.
Fix makes sure that for sparse access only indexed vertices are
affected by the blendshape. It still generate full vertex data
(for whole mesh) so it's compatible with current shader.
Change-Id: I1f36c1d9d24dec0eb194d0aaf1b93488b61b1d58
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
seungho baek [Thu, 11 May 2023 08:36:55 +0000 (17:36 +0900)]
[Tizen] Support model size change
Change-Id: I78a7aa569ae164d07a7809bc7dd7106531face29
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki Hong [Tue, 16 May 2023 16:27:31 +0000 (01:27 +0900)]
[Tizen] Set AnimatedVectorVisual play range by single marker
Previously, we only accept when we insert array as PLAY_RANGE.
Now let we allow to insert single stirng value.
Change-Id: I3afbbf30cb5bdc211a06aeb0654c5359b28bc147
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Artur Świgoń [Thu, 11 May 2023 10:54:27 +0000 (12:54 +0200)]
[Tizen][AT-SPI] Map Actor::Property::SENSITIVE to Accessibility::State::SENSITIVE
Change-Id: I3e4bf575b257e8020dbf5c68111b4219beec39e3
Eunki, Hong [Wed, 10 May 2023 01:35:07 +0000 (10:35 +0900)]
[Tizen] 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>
Eunki, Hong [Thu, 4 May 2023 08:03:01 +0000 (17:03 +0900)]
[Tizen] 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>
seungho baek [Tue, 9 May 2023 05:04:48 +0000 (14:04 +0900)]
[Tizen] Change mediump to highp of corner radius
Change-Id: Ide32bf0b33cf6c495d4c9f7d38c46289788f53ab
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Thu, 4 May 2023 00:40:04 +0000 (09:40 +0900)]
[Tizen] Revert "[Tizen] Use Renderer to register skinning property"
This reverts commit
fcb91da58739795d0289a9d1e50b838092165e40.
Change-Id: Ia92651b28438dcf1f610d8448a0178cf666d854a
Eunki, Hong [Thu, 27 Apr 2023 02:07:46 +0000 (11:07 +0900)]
[Tizen] Let we allow to change AnimationDefinition property
Change-Id: Id6e0a345bb5b4213191f56f94f5c5b20bf2d2020
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Tue, 2 May 2023 05:55:13 +0000 (14:55 +0900)]
[Tizen] Use Renderer to register skinning property
Change-Id: If4f9e0d9b4fb454e02666694ea24ec8fd31c8482
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
seungho baek [Tue, 2 May 2023 01:44:30 +0000 (10:44 +0900)]
[Tizen] 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>
Richard [Thu, 27 Apr 2023 15:47:58 +0000 (16:47 +0100)]
[Tizen] Blendshape properties should be registered per renderer instead of per shader
Change-Id: I38c6a191e37212720fa603f82cb2ef04c6b18a17
seungho baek [Mon, 24 Apr 2023 10:55:06 +0000 (19:55 +0900)]
[Tizen] Support Short and Byte weight of gltf skinning
Change-Id: I4817c40b049e5b3984b66cc9fabe731ae0bc4582
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Fri, 21 Apr 2023 11:13:40 +0000 (20:13 +0900)]
[Tizen] 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>
seungho baek [Wed, 19 Apr 2023 09:20:00 +0000 (18:20 +0900)]
[Tizen] Remove model-node-data-impl
Change-Id: Iba64ae2ecbc67d42093affbc364693ff163551b6
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Bowon Ryu [Thu, 10 Nov 2022 02:54:59 +0000 (11:54 +0900)]
[Tizen] New with additional behaviour flag for text controls
Add new "New" function that we can append additional ControlBehaviour
This code works in TextField and TextEditor
Change-Id: I28df965491bf6e6abff95ed3dc1a2a83f03588a5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
huayong.xu [Wed, 1 Mar 2023 10:18:13 +0000 (18:18 +0800)]
[Tizen] Load bvh and facial animations from buffer
This is a combination of 2 commits.
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.
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 [Sat, 18 Feb 2023 10:22:52 +0000 (19:22 +0900)]
[Tizen] 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>
Heeyong Song [Fri, 29 Jul 2022 02:39:01 +0000 (11:39 +0900)]
[Tizen] Sync test util
Backporting of GLView direct rendering feature
Change-Id: I92102ab838a43792fd3022f775ab67fd5fdeb23f
Heeyong Song [Thu, 28 Jul 2022 10:32:47 +0000 (19:32 +0900)]
[Tizen] (GlView) Add BindTextureResources method
Backporting of GLView direct rendering feature
Change-Id: I9f73d158bb13afaa2413105b4da5afeede0d1f7b
Eunki Hong [Wed, 19 Apr 2023 06:42:42 +0000 (06:42 +0000)]
Merge "[Tizen] Let we allow to seek empty buffer when read blob" into tizen_7.0
seungho baek [Tue, 18 Apr 2023 05:47:24 +0000 (14:47 +0900)]
[Tizen] Fix transform issue of skinned mesh
Change-Id: I5acd990e1e1ae586a0b6c66af3aefc99c991e206
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Wed, 19 Apr 2023 03:17:43 +0000 (12:17 +0900)]
[Tizen] 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:52:06 +0000 (12:52 +0900)]
[Tizen] Delete callback memory when rasterize callback not processed
When Rasterize callback register into VectorAnimationManager, and
visual was destroyed, the callback base memory might not be deleted.
Change-Id: Ia2d09856e989ac29f8c39cd5cabb2af29d1ed80d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
huayong.xu [Mon, 20 Mar 2023 11:08:48 +0000 (19:08 +0800)]
[Tizen] Backport 7.5 Scene3D for use ModelNode
This is a combination of 10 commits.
Make sure that global variables are initialized lazily in scene3d.
Fix coverity issue (no POSITION attribute + use after move)
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Change namings of gltf-util
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Remove Duplicated code in gltf2-util using template
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Enable automated tests that load the exercise DLI model
Replace std::string global variables with C-style string.
A std::string global variable would allocate a memory in heap,
then copy the string from .text section to the heap.
This patch may reduce loading time & memory a little.
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/
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Fix svace/coverity issue (initialize value at Material)
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Change public member variable to private
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
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: Idfec7ea5a26dcc827953ce268c32adc8f89247bd
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Artur Świgoń [Thu, 13 Apr 2023 09:31:54 +0000 (11:31 +0200)]
[Tizen][AT-SPI] Implement Value::GetValueText()
Change-Id: I9a2eb40aced763bc74542b5f8c448445089ed67c
dongsug song [Thu, 6 Apr 2023 11:42:36 +0000 (11:42 +0000)]
Merge "[Tizen] Use c-style string when webview loads contents." into tizen_7.0
seungho baek [Tue, 4 Apr 2023 08:19:51 +0000 (17:19 +0900)]
[Tizen] 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)]
[Tizen] Use c-style string when webview loads contents.
Change-Id: I541be6fddab140561f16af339adfe82bf05ecd2e