platform/core/uifw/dali-toolkit.git
6 days agoMerge "[Tizen] Backport accessible lifecycle refactoring" into tizen_7.0 tizen_7.0
Youngsun Suh [Fri, 13 Sep 2024 07:07:47 +0000 (07:07 +0000)]
Merge "[Tizen] Backport accessible lifecycle refactoring" into tizen_7.0

6 days ago[Tizen] Fix the problem that Autoscroll does not work properly 22/317722/1
ANZ1217 [Mon, 9 Sep 2024 10:44:12 +0000 (19:44 +0900)]
[Tizen] Fix the problem that Autoscroll does not work properly
when there are only RTL Marker and LTR Text in Text.

Change-Id: I0d31811a5622ea021ce195c9fc1e1da00925ddfb

6 days ago[Tizen] Backport accessible lifecycle refactoring 07/317707/1
Youngsun Suh [Fri, 14 Jun 2024 07:01:44 +0000 (16:01 +0900)]
[Tizen] Backport accessible lifecycle refactoring

Use shared_ptr for Accessible object

Change-Id: I83e50c800587fa413d235d15952cbf2dec8bdfe7

Revert "Revert "Update the bridge to own accessible objects""

This reverts commit d7334f5f25d69f3231b9ee64d39d02561452afb7.

Change-Id: Idb61242ede92cf6062ed86e37ab636e3e308987b

6 days ago[Tizen] Fix background color does not change when background markup is changed 74/317674/1
ANZ1217 [Wed, 11 Sep 2024 09:59:25 +0000 (18:59 +0900)]
[Tizen] Fix background color does not change when background markup is changed

Change-Id: I53d2e081f8963f113033b4e7f6c01a8040e6f555

10 days ago[Tizen] Revert "[Tizen] Add WebAuthDisplayQR and Response for QR code passkey in... 47/317347/1
dongsug.song [Mon, 9 Sep 2024 07:33:44 +0000 (16:33 +0900)]
[Tizen] Revert "[Tizen] Add WebAuthDisplayQR and Response for QR code passkey in WebView"

This reverts commit 6fbf15cf817ea76c19c2024739a112059b148da2.

- chromium web engine update is required
- fix gbs build error : dali-extension/web-engine-chromium/tizen-web-engine-chromium.cpp:867:3: error: 'ewk_view_webauthn_cancel' was not declared in this scope
[  285s]   867 |   ewk_view_webauthn_cancel(mWebView);
[  285s]       |   ^~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: Id2c7a8a59a70cc90376f844fe2dd4e4997601410

10 days agoMerge "[Tizen] Add WebAuthDisplayQR and Response for QR code passkey in WebView"...
dongsug song [Mon, 9 Sep 2024 05:04:34 +0000 (05:04 +0000)]
Merge "[Tizen] Add WebAuthDisplayQR and Response for QR code passkey in WebView" into tizen_7.0

10 days ago[Tizen] Make gaussian blur view use latest logic 78/317278/3 accepted/tizen_7.0_unified accepted/tizen/7.0/unified/20240909.160136
Eunki, Hong [Fri, 6 Sep 2024 06:55:18 +0000 (15:55 +0900)]
[Tizen] Make gaussian blur view use latest logic

Make gaussian blur view use newly algorithm what blur effect using.
And also, Fix several size issue of Framebuffer what previous gaussian blur view used.

It will show more clean blurry result now.

Change-Id: I6ad6fc49c0c8eac60027d6f64d35ee6795936b9e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 weeks ago[Tizen] Add WebAuthDisplayQR and Response for QR code passkey in WebView 33/317133/1
dongsug.song [Wed, 4 Sep 2024 10:06:04 +0000 (19:06 +0900)]
[Tizen] Add WebAuthDisplayQR and Response for QR code passkey in WebView

Change-Id: I85ab00b654952da5815ef66d870802c0ed38069a

2 weeks ago[Tizen] Update default label on EmitAccessibilityEvent if control is modal 90/316890/2 accepted/tizen/7.0/unified/20240903.174535
Youngsun Suh [Thu, 29 Aug 2024 02:19:26 +0000 (11:19 +0900)]
[Tizen] Update default label on EmitAccessibilityEvent if control is modal

Change-Id: I4f8cc3455ea6942e40506da886898c539effc7cb

3 weeks ago[Tizen] Backport Accessibility API V2 83/316783/1
Youngsun Suh [Mon, 12 Aug 2024 01:37:34 +0000 (10:37 +0900)]
[Tizen] Backport Accessibility API V2

Add ACCESSIBILITY_VALUE property to control

Change-Id: Ib8216c26dd5ca0d4b175b0ebc5ce65a2aaec430b

(A11y) Connect PropertySet signal only if highlighed

Notify when ACCESSIBILITY_NAME or ACCESSIBILITY_DESCRIPTION changed cases are
only need for highlighted control. So let we ensure to connect property set signal
only if control has ben grabed at least one time.

It will be useful when never be highlighted Actor's Accessible creation / destruct time.

Change-Id: I0c719a4576d02db9914a0e7b53a266ba4845cee2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Emit property-change:accessible-value signal

Change-Id: I567db0d61a2998607443b1724fc57c63f9b2329e

Add DevelControl::AccessibilityAction Signal

Change-Id: Iac237047f23ebb47512ff0c5979a5d60f53701f8

Remove mistakenly merged files

Change-Id: Id0b25288275164654eabd6a4e1014834e7a36c30

Update AccessibilityActionSignal to pass ActionInfo

Change-Id: I62d1a80aefa03f61681d3b87eb986c7c6ecda964

Add AccessibilityScrollable property & ScrollToChild action emission

Change-Id: I62d1a80aefa03f61681d3b87eb986c7c6ecda964

Add accessibilityState & accessibilityIsModal property

Update AT-SPI state to be calculted by properties set to a control.
Add AccessibilityRole enum definition to distinguish V2 roles from AT-SPI roles.

Change-Id: Ia6b62796ba0f96f6eb327fa720e31c15c0f650db

Emit AccesibilityState change event to AT-SPI bridge on state property set

Change-Id: If63e953db090b700d24da865905542092f4d2fa9

3 weeks ago[Tizen] Fix text cursor visibility issue 81/316681/1
Bowon Ryu [Mon, 26 Aug 2024 04:48:30 +0000 (13:48 +0900)]
[Tizen] Fix text cursor visibility issue

Ensured that the cursor remains active even when the keyboard is invisible but the control still has focus.

Change-Id: Ie4a57646f866eecc7c0082615155dd6cc0ad889c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 weeks ago[Tizen](Vector) Finalize VectorThread if application terminated + Wait all lottie... 12/316512/2 accepted/tizen/7.0/unified/20240823.014549
Eunki, Hong [Tue, 13 Aug 2024 04:35:51 +0000 (13:35 +0900)]
[Tizen](Vector) Finalize VectorThread if application terminated + Wait all lottie task completed at destory time

Let we don't do any additional progress after application terminated.

Also, let we keep the VectorAnimationThread lifetime until all
working VectorAnimationTask are completed.

Since that task use VectorAnimationThread as reference, we cannot release
the memory of VectorAnimationManager memory. So just call finalize API.

Change-Id: I6f33c3f5863d8ad3ad9a08d45b134501582d87be
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 weeks ago[Tizen] (Vector) Make SleepThread more thread safe enough 14/316214/1
Eunki, Hong [Wed, 14 Aug 2024 01:49:50 +0000 (10:49 +0900)]
[Tizen] (Vector) Make SleepThread more thread safe enough

Make sleep thread destroyed more early time.
It will make that sleepthread cannot call invalid mAwakeCallback.

Also, Make more thread safety when we change the timepoint and sleep

Change-Id: I0ce82503576efff045a45dfdec219f483c08ba03
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks ago[Tizen] Lock mutex when animation task check + completed task moving 21/315821/2 accepted/tizen/7.0/unified/20240809.085620
Eunki, Hong [Fri, 26 Jul 2024 05:08:12 +0000 (14:08 +0900)]
[Tizen] Lock mutex when animation task check + completed task moving

Since VectorAnimationThread::OnTaskCompleted() could be called
from various worker threads, we should not change the thread's member value.

To avoid this kind of thread issue,
 - Make mutex during animation tasks control (VectorAnimationThread vs EventThread)
 - Collect tasks from worker thread and move them at Rasterize() API (VectorAnimationThread vs WorkerThread)

Change-Id: Ib3dce6b98f6c66a3bd597a7b46fe8bbac60105b5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks ago[Tizen](Vector) Force call KeepRendering when animation stopped, or frame changed 20/315820/2
Eunki, Hong [Fri, 12 Apr 2024 13:07:07 +0000 (22:07 +0900)]
[Tizen](Vector) Force call KeepRendering when animation stopped, or frame changed

This is a combination of 5 commits.

[Tizen] Force call KeepRendering when lottie animation stopped, or frame changed

Change-Id: Ie9c44a8a3997a644080c934d36e99c8aee804bf2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(Vector) Let we send finished signal only for matched sent play/stop from visual

It is possible that AnimationFinished trigger comes "after" event thread Play action comes.

If then, user's Play action be skipped.

To avoid this case, let we give the id when play state changed to Play / Pause / Stop.
And send finished signal only if the id is matched what visual know.

Change-Id: I03409e65d2f6b947940ea5591959b106ff8de2bd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(Vector) Add NOTIFY_AFTER_RASTERIZATION property for low fps file + Use UpdateOnce instead of KeepRendering

Let we change renderer rendering behavior is IF_REQUIRED.

It will be useful if app try to render lottie file which has less than 60fps.

+

Let we use UpdateOnce() API for force-rendering instead of KeepRendering().

KeepRendering will make ProcessCoreEvents forcely, which might not be need for animated vector cases.

Change-Id: Iaece9a5ff9e135acfdac404f68bdc690e6a7be8c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(Vector) Reduce the number of UpdateOnce call after rasterization

Previous code request UpdateOnce by each visuals.
But this don't need to spend the number of requests.
So let we just use only one single request API for it.

Change-Id: I5b11ee7ad19dc7c32945c0cfc637f7c65cfe3a77
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Fix minor code errror

Change-Id: Ib9bebb5945418fdc040a9828c3989e1a931bd443
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks ago[Tizen](Vector) Backport lottie relative patches from latest tizen 19/315819/1
Heeyong Song [Tue, 13 Jun 2023 07:33:48 +0000 (16:33 +0900)]
[Tizen](Vector) Backport lottie relative patches from latest tizen

This is a combination of 8 commits.

[Tizen] (Vector) Use one EventThreadCallback

EventThreadCallback uses an fd internally and some systems have a limit on the number of fd.
So reduce the number of fd

Change-Id: I55f6e7f5211d0bc567a1b2362c782e9fc2a74b90

(Vector) Fix invalid callback issue

Do not execute a callback with lock
Reset callback pointers after removing

Change-Id: I1f617af4ee89e43c8ab891efbd0beaea14feaea1

Keep reference when member callback excute

Change-Id: I406dc8206b6b156e390bab724820dc55e06437f6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(Vector) Check adaptor validate before unregister

Change-Id: Iac603db90cee8caf0aefc0f15e536ecb3dd51590
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(Vector) Erase all EventThreadCallbacks with same pointer

Due to some logical issue, there might be happend that we apply multiple
EventThread callback into VectorAnimationThread.

And if VectorAnimationTask destructor called, we remove only single callback.

If error case occured, EventThread can execute dead callback.

Change-Id: I9e3895180916a292bbca838997ae3053ee8799b5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(Vector) To prevent segmentation fault in AnimatedVectorImageVisual

Change-Id: I4c5c94eb9faeffd4727b5879254527692fe93be2
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
(Vector) Use mutex instead of ConditionalWait for EventhThreadCallback

Since worker thread can call AddEventTriggerCallback freely,

we should make some lock between workerthread and
main thread(RemoveEventTriggerCallbacks, GetNextEventCallback, ~VectorAnimationThread).

ConditionalWait used only for AsyncTask rasterization, and sleep thread.
We'd better seperate those job locker.

Change-Id: I543ba7f0bdf54036a8127d1815dda18cafca54e7
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
(Vector) Change ConditionalWait as Mutex at lottie task

Change-Id: I1f652c440945a9b40a88a992018e14ae0746bc9d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[Tizen][AT-SPI] Unify widget bus names 10/314510/1 accepted/tizen/7.0/unified/20240802.162029
Artur Świgoń [Fri, 12 Jul 2024 10:25:08 +0000 (12:25 +0200)]
[Tizen][AT-SPI] Unify widget bus names

Change-Id: Ifc3f9cc9cdac7712ce1a7e93b55e6cdfa07dea47

2 months ago[Tizen] Fix crash if bidirectional lines info not found during ellipsis 81/313581/1
Eunki, Hong [Thu, 27 Jun 2024 06:22:55 +0000 (15:22 +0900)]
[Tizen] Fix crash if bidirectional lines info not found during ellipsis

Change-Id: Id08510b1eb83493880668b003cac17b2b6736a49
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoMerge "Try getting accessibility address in DoGetChildren" into tizen_7.0
Youngsun Suh [Thu, 13 Jun 2024 07:42:58 +0000 (07:42 +0000)]
Merge "Try getting accessibility address in DoGetChildren" into tizen_7.0

3 months agoTry getting accessibility address in DoGetChildren 69/312669/1
Youngsun Suh [Thu, 13 Jun 2024 00:57:59 +0000 (09:57 +0900)]
Try getting accessibility address in DoGetChildren

Change-Id: I0784218a1ae63d4fab0b99ab9c79afa053633a63

3 months ago[Tizen] Change precision of position related uniform of 3D shader to highp 31/312431/2 accepted/tizen/7.0/unified/20240612.013000
Seungho Baek [Mon, 10 Jun 2024 05:55:51 +0000 (14:55 +0900)]
[Tizen] Change precision of position related uniform of 3D shader to highp

Change-Id: I9d4d0afe93172113e7de03acdb54f6b0b1c37e5f
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
4 months ago[Tizen] Change the precision of position in text atlas shader 28/311128/1 accepted/tizen/7.0/unified/20240516.140920
Bowon Ryu [Tue, 14 May 2024 06:35:23 +0000 (15:35 +0900)]
[Tizen] Change the precision of position in text atlas shader

There are some visual artifact when too many glyhps in editable text.
Change mediump to highp to fix issue.

Change-Id: I0f89447160f6bce0107c6ae5de5efeb9b4436afc
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months ago[Tizen] Fix ShadowMap doesn't apply blendshape 94/310794/1 accepted/tizen/7.0/unified/20240509.012500
Eunki, Hong [Wed, 8 May 2024 07:53:45 +0000 (16:53 +0900)]
[Tizen] Fix ShadowMap doesn't apply blendshape

There was some issue that blendshape with position doesn't works well
when we use shadow.

Change-Id: I9278a02229ef2701c7e0cf3313b06f5cab51a833
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen][AT-SPI] Move AccessibilityAttributes to Accessible 02/309102/1 accepted/tizen/7.0/unified/20240418.084443
Artur Świgoń [Thu, 28 Mar 2024 12:09:07 +0000 (13:09 +0100)]
[Tizen][AT-SPI] Move AccessibilityAttributes to Accessible

This patch allows setting arbitrary attributes on the Accessible level.
Previously this was only possible for Control, and thus application-side
customization of the attributes was unavailable for some other classes (most
notably Layer, which stands in for Window in the AT-SPI tree).

Change-Id: If6855d57faf05547d38460263b0a6184ba604339

5 months ago[Tizen] Fix hit-test RenderTask error 12/309012/3 accepted/tizen/7.0/unified/20240409.073750 accepted/tizen/7.0/unified/20240409.104407
huiyu.eun [Wed, 3 Apr 2024 06:08:22 +0000 (15:08 +0900)]
[Tizen] Fix hit-test RenderTask error

There is a problem that the hit-test does not work properly because the
RenderTask is always fetched with a fixed index from the RenderTaskList.
It is fixed by passing the corresponding SceneView's RenderTask.

Change-Id: Id114c839455613fc4ed6437e2cb8482ee6677be9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 months agoMerge "(AnimatedVector) Get marker informations" into tizen_7.0 accepted/tizen/7.0/unified/20240314.152347 accepted/tizen/7.0/unified/20240330.125542
Jaehyun Cho [Fri, 8 Mar 2024 00:49:54 +0000 (00:49 +0000)]
Merge "(AnimatedVector) Get marker informations" into tizen_7.0

6 months ago(AnimatedVector) Get marker informations 49/307349/1
Eunki, Hong [Tue, 7 Nov 2023 11:13:41 +0000 (20:13 +0900)]
(AnimatedVector) Get marker informations

Let we make API to get marker informations from json file.
Marker information contains name, and pair of frame, start and end.

Change-Id: I21b91368addff66d41a66c14fc8e86076470ddc7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Let we use legacy rounded blur algorithm for gles2.0 18/307318/1
Eunki, Hong [Thu, 7 Mar 2024 06:21:03 +0000 (15:21 +0900)]
[Tizen] Let we use legacy rounded blur algorithm for gles2.0

Change-Id: I50ad32c09da384e9ddc8a18423e67681f8824a5c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoMerge "[Tizen] Change precision of corner radius relative shader codes as highp... accepted/tizen/7.0/unified/20240227.131510
Eunki Hong [Tue, 27 Feb 2024 04:08:49 +0000 (04:08 +0000)]
Merge "[Tizen] Change  precision of corner radius relative shader codes as highp" into tizen_7.0

6 months ago[Tizen] Change precision of corner radius relative shader codes as highp 00/306700/1
Eunki, Hong [Mon, 26 Feb 2024 09:31:22 +0000 (18:31 +0900)]
[Tizen] Change  precision of corner radius relative shader codes as highp

There was some visual defect when view size is near 20,000 in target.

Change-Id: Ia9440c98e20a873664d09493cc9d645f1f7a91b1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Change precision of shader variable 39/306539/1
seungho baek [Thu, 22 Feb 2024 13:08:44 +0000 (22:08 +0900)]
[Tizen] Change precision of shader variable

Change-Id: I4138a170c0ba9bea240a0fd0fcfab36afc2d182b
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
6 months ago[Tizen] Update the size of accessibility highlight on Relayout 46/306446/2 accepted/tizen/7.0/unified/20240223.161503
Seoyeon Kim [Wed, 21 Feb 2024 10:57:47 +0000 (19:57 +0900)]
[Tizen] Update the size of accessibility highlight on Relayout

- Accessibility highlight frame should be updated together
 when the componet size changes.
- Currently, if the component size changes while the component is still
 highlighted, then the frame will remain in its original size.

Change-Id: I995e0ec5907dd23282010e0186a7881335dc48ea
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 months ago[Tizen] Guard NPatchData removal case during signal emit 96/306396/1 accepted/tizen/7.0/unified/20240222.070145
Eunki, Hong [Tue, 29 Aug 2023 06:52:47 +0000 (15:52 +0900)]
[Tizen] Guard NPatchData removal case during signal emit

This is a combination of 3 commits.

Guard NPatchData removal case during signal emit

It was possible that NPatchData removed during NotifyObserver.
For more safety, let we make NPatchData as shared_ptr, instead
of unique_ptr.

And also, let we don't touch observer list container during
NotifyObservers.

And also, let we remove NPatchInfo at post processing.
It will keep the life of NPatchData during NotifyObserver try to
remove the NPatchInfo.

Change-Id: Ieca33a2231df38d23966f96593506d67333cfcd0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Remove NPatchLoader observer when they request remove

Since we make remove NPatchData later, the observer was disconnected lately.
It might make some unusual behavior.

Change-Id: I794f22e21964962428f353ee84a9340687274808
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Make NPatchData always use shared pointer

Let we keep NPatchData user always use shared_ptr instead of raw pointer.
In this case, NPatchData itself will be safe enought even if
NPatchData removed from NPatchLoader cache.

Change-Id: I27db855888bc21c7a7282a9e1114945f3f0e758d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
7 months ago[Tizen] Emit ResourceReady if we call Reload even if it was ready visual. 76/306176/1 accepted/tizen/7.0/unified/20240219.160854
Eunki, Hong [Fri, 16 Feb 2024 11:25:09 +0000 (20:25 +0900)]
[Tizen] Emit ResourceReady if we call Reload even if it was ready visual.

If the visual was already ready state, and if we call Reload, the visual state
still ResourceReady. So ResourceReady signal was not be emitted.

Since someone might need to know the timing of resource loaded after Reload(),
Make we reset status as PREPARE, and wait callback again.

Change-Id: Id0ddb6523c4d9fcd58aab63a2fb07d27fdd9c5b5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
7 months ago[Tizen] Fix bug when we try to load two image s.t. premultyOnLoad difference 75/306175/1
Eunki, Hong [Fri, 16 Feb 2024 11:01:52 +0000 (20:01 +0900)]
[Tizen] Fix bug when we try to load two image s.t. premultyOnLoad difference

Let we seperate cache between
"Could-be-premultiplied, but not loaded yet" VS "Do not premultiplied"

Currently, we check both of them as same item.

Change-Id: I381fa280bdbc32127a254f674750a25615dc4c6b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
7 months ago[Tizen] Do not observe when Reload 92/293392/2
Eunki, Hong [Thu, 25 May 2023 09:51:20 +0000 (18:51 +0900)]
[Tizen] Do not observe when Reload

Previously, we add same observer multiple times when image is loading state
and user do Reload action multiple times.

In that case, there might be problem if visual destroyed.

TODO : We should consider when we call Reload during ResourceReady()
TODO : We should consider when reload visual has mask texture id

Change-Id: Iab8b193281649783b80a6e9fb89e86c625b4388a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
7 months ago[Tizen] support capture in gles 2.0 66/306066/1
sunghyun kim [Fri, 16 Feb 2024 04:07:09 +0000 (13:07 +0900)]
[Tizen] support capture in gles 2.0

Change-Id: I5ca2e4c4118b2630721e0b1cad71aba327fb33a1

7 months ago[Tizen] Support Scene3D on gles 2.0 74/305674/1 accepted/tizen/7.0/unified/20240215.160542 accepted/tizen/7.0/unified/20240216.035744
Eunki, Hong [Mon, 5 Feb 2024 10:49:19 +0000 (19:49 +0900)]
[Tizen] Support Scene3D on gles 2.0

Let we support Scene3D::Model under gles 2.0 devices.

Note : Since glsl doesnt support textureLod, we cannot support roughness.

Change-Id: If518bf48361331eb47b0f8a5a2ef265ba3fee488
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
7 months ago[Tizen] Ignore corner blur radius if glsl version is low 67/305667/1 accepted/tizen/7.0/unified/20240207.172842
Eunki, Hong [Mon, 5 Feb 2024 10:06:34 +0000 (19:06 +0900)]
[Tizen] Ignore corner blur radius if glsl version is low

Let we make to not blur rounded corner if gles version is too low

Change-Id: I1ed43633d97e63a0b4d843ce692e7db28db22e0d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
7 months ago[Tizen] Add a WebView API for notifying orientation change. 20/305520/1
huayong.xu [Fri, 2 Feb 2024 06:54:15 +0000 (14:54 +0800)]
[Tizen] Add a WebView API for notifying orientation change.

Change-Id: I74d7f99e28b4a681f918a45a109bc25d7a46371b

7 months ago[Tizen] Remove default style disabled flag 04/305104/2 accepted/tizen/7.0/unified/20240130.230257 accepted/tizen/7.0/unified/20240130.230335
Jiyun Yang [Fri, 26 Jan 2024 10:22:51 +0000 (19:22 +0900)]
[Tizen] Remove default style disabled flag

The flag will be passed from NUI instead.

* Related patch : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/305105/ (csharp-binder)
* Related patch : https://github.com/Samsung/TizenFX/pull/5919 (NUI)

Change-Id: Ieceb688f1800f4159fb20417c9d295fa61a414bb
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
7 months agoMerge "[Tizen] Check missing accessible checker code" into tizen_7.0 accepted/tizen/7.0/unified/20240124.164050
Seoyeon Kim [Wed, 24 Jan 2024 04:15:08 +0000 (04:15 +0000)]
Merge "[Tizen] Check missing accessible checker code" into tizen_7.0

7 months agoMerge "[Tizen] (A11y) Let we make some way to do not create new Accessible" into...
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

7 months ago[Tizen] Check missing accessible checker code 02/304802/1
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>
7 months ago[Tizen] Apply CornerRadius for webview 70/304770/2
sunghyun kim [Tue, 23 Jan 2024 09:45:18 +0000 (18:45 +0900)]
[Tizen] Apply CornerRadius for webview

Change-Id: Ief9a97223cc3070633b87cf037d19b27ded32b41

7 months ago[Tizen] (A11y) Let we make some way to do not create new Accessible 73/304773/1
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>
7 months ago[Tizen] Fix decorator color update issue 21/304621/1 accepted/tizen/7.0/unified/20240123.170437
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>
8 months ago[Tizen][Scene3D] Make ModelNode and Light as Control 43/304443/1 accepted/tizen/7.0/unified/20240118.092903 accepted/tizen/7.0/unified/20240119.013242
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>
8 months ago[Tizen] Fix Text Anchor don't work properly 01/304201/2 accepted/tizen/7.0/unified/20240115.170644
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

8 months agoRevert "Fix Text Anchor don't work properly"
ANZ1217 [Fri, 12 Jan 2024 03:38:17 +0000 (12:38 +0900)]
Revert "Fix Text Anchor don't work properly"

This reverts commit 1d65ac99b64735697e4ba7db7a5a5ca8d8dba677.

8 months agoFix Text Anchor don't work properly
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

8 months ago[Tizen] Fix bug that IBLFactor / Roughness not works well when we change material 07/304107/1 accepted/tizen/7.0/unified/20240111.013537
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>
8 months ago[Tizen] Make SceneView's SetResolution works well 06/304106/1
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>
8 months ago[Tizen] TOUCH_FOCUSABLE's default is false so this also should not be set 08/303808/1 accepted/tizen/7.0/unified/20240105.145206
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

8 months ago[Tizen] Fix cursor position issue 18/303518/1 accepted/tizen/7.0/unified/20240104.073236
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>
9 months agoMerge "[Tizen] Coverity issue fix" into tizen_7.0 accepted/tizen/7.0/unified/20231226.011004
Seungho BAEK [Wed, 20 Dec 2023 07:58:34 +0000 (07:58 +0000)]
Merge "[Tizen] Coverity issue fix" into tizen_7.0

9 months ago[Tizen] Add AnchorColor Property 51/303051/1 accepted/tizen/7.0/unified/20231220.074700 accepted/tizen/7.0/unified/20231220.124905 accepted/tizen/7.0/unified/20231220.134949 accepted/tizen/7.0/unified/20231220.170056
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>
9 months ago[Tizen] Coverity issue fix 47/302847/2
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>
9 months ago[Tizen] fixed coverity issue 47/302747/1 accepted/tizen/7.0/unified/20231218.071021 accepted/tizen/7.0/unified/20231219.155813
Adam Bialogonski [Thu, 23 Nov 2023 14:25:15 +0000 (14:25 +0000)]
[Tizen] fixed coverity issue

Change-Id: I14e7ced7fa0c1581454cafb46c404f191f163bd4

9 months ago[Tizen] Use DepthIndex for 3D rendering order 40/302540/4
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>
9 months ago[Tizen] Remove unused path-finder header 69/302369/1 accepted/tizen/7.0/unified/20231207.071832
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>
9 months ago[Tizen] Fixed ColliderMesh issue for NUI 09/302309/1
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>
9 months ago[Tizen] Add navigation-mesh-header for hit-test 08/302308/1
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>
9 months ago[Tizen] 3D Scene Hit Testing 07/302307/2
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>
9 months ago[Tizen] Fix key event consumption issue in text field 19/302219/1 accepted/tizen/7.0/unified/20231205.172626
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>
9 months ago[Tizen] Add SetResolution method to SceneView 08/302208/2
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>
9 months ago[Tizen] Fixed Cache for AnimatedVectorImageVisual 45/302145/1
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>
9 months ago[Tizen] Fix gpu masking error 77/301777/3 accepted/tizen/7.0/unified/20231123.100225 accepted/tizen/7.0/unified/20231130.102002
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>
9 months ago[Tizen] Support RootTranslationOnly option for motion capture data 52/301652/2 accepted/tizen/7.0/unified/20231122.100645
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>
10 months ago[Tizen] Fix Making Issue of SceneView 93/301593/1 accepted/tizen/7.0/unified/20231121.121559
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>
10 months ago[Tizen] Remove observer from mLoadQueue when we request to remove observer 65/300765/1 accepted/tizen/7.0/unified/20231103.165436 accepted/tizen/7.0/unified/20231116.025850
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>
10 months ago[Tizen] Apply premultiply when external texture use mask 60/300760/1
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

10 months ago[Tizen] Remove the duplicated call with Focused call 53/300553/1 accepted/tizen/7.0/unified/20231030.164720
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>
10 months agoMerge "[Tizen] To stop animated image visual when it become invisible." into tizen_7.0 accepted/tizen/7.0/unified/20231026.165727
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

10 months ago[Tizen] Enable masking for Scene3D::SceneView 43/300443/2
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>
10 months ago[Tizen] Ensure blendshape weight between [0..1] 30/300430/1
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>
10 months ago[Tizen] To stop animated image visual when it become invisible. 19/300419/2
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>
11 months ago[Tizen] Fix ZWJ issue 40/300240/1 accepted/tizen/7.0/unified/20231024.025350
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>
11 months agoMerge "[Tizen] Add WebView APIs for fullscreen, text found, etc." into tizen_7.0 accepted/tizen/7.0/unified/20231018.172232
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

11 months agoMerge "[Tizen] Fix Shadow issue" 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

11 months ago[Tizen] Fix Shadow issue 63/298763/4
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>
11 months ago[Tizen] Add color tag for text markup anchor 83/299983/1 accepted/tizen/7.0/unified/20231017.165713
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>
11 months ago[Tizen] Add WebView APIs for fullscreen, text found, etc. 14/299814/2
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

12 months ago[Tizen] Fix visual transform offset of text label 03/299103/1 accepted/tizen/7.0/unified/20230927.090510
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>
12 months ago[Tizen] Change the SENSITVE value of accessibility 01/298901/1
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

12 months ago[Tizen] Shadow Mapping 14/298514/2 accepted/tizen/7.0/unified/20230915.095421
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>
12 months ago[Tizen] Use SceneHolder::Get() instead of Window::Get() 13/298513/2
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

12 months ago[Tizen] Fix svace / coverity issues (no effects + size_t overflow + typo) 80/298280/1
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>
12 months ago[Tizen] Make load failed for invalid bvh format 05/296905/4 accepted/tizen/7.0/unified/20230825.185054
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>
12 months ago[Tizen] Change some precision of shader variables to highp 04/296904/4
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>
12 months ago[Tizen] Apply Light using Shader Manager 03/296903/4
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>
12 months ago[Tizen] Makes Models use common shader manager 02/296902/4
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>
12 months ago[Tizen] Fix comments for MotionData 01/296901/4
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>
12 months ago[Tizen] Add MotionData class and generate Animation 00/296900/4
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>
12 months ago[Tizen] Parse gltf mesh extra and extensions + Get BlendShape index by name 99/296899/4
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>
12 months ago[Tizen] Shader Factory refactoring 98/296898/4
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>
12 months ago[Tizen] Detach skybox on setting an empty url 97/296897/4
jmm [Thu, 22 Jun 2023 11:13:28 +0000 (20:13 +0900)]
[Tizen] Detach skybox on setting an empty url

Change-Id: I8cfc89b802fe625046e98a97e15551de9285ff82

12 months ago[Tizen] Add Light for Scene3D 96/296896/4
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>
12 months ago[Tizen] Fix logical error for dli animation duration 95/296895/4
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>
12 months ago[Tizen] Lock model cache manager access for thread safety 94/296894/4
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>