Seoyeon Kim [Wed, 28 May 2025 06:36:40 +0000 (15:36 +0900)]
[Tizen] Add accessibility support for SceneView
- Make ResizePolicy of RootLayer of SceneView Fill to Parent.
- Now, SceneView properly responds to screen reader when accessibility features are enabled
- Child elements within the SceneView are properly discoverable by accessibility tools
Change-Id: I3cfacef12ebe5a9761eb02359d53230301331eda
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Eunki, Hong [Wed, 12 Mar 2025 05:16:37 +0000 (14:16 +0900)]
[Tizen] Fix stretchRanges error when we use cached image with border
Their was some typo error when we copy npatch image infomations from
cached data
Change-Id: Iea632af9dc94825ed59d4df07cf8c7821b2396cc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Wed, 5 Feb 2025 11:20:15 +0000 (20:20 +0900)]
[Tizen] Prevent atlas block corruption issue when renderer is reset
If UpdateTextType is NONE_UPDATED when Renderer is reset, RenderText does not perform rendering.
This causes several problems with atlas operation.
When the renderer is reset, all caches used by the text field are removed from AtlasManager.
At this time, if a cache of an ID that was previously used (now removed) by another editable text is created and used,
the atlas block of the existing text field will be damaged.
At least until the cache structure is improved, render must be performed when the renderer is reset.
Change-Id: Ic5f939e81920ab59e676ee50f450c6ffbb1259e3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Tue, 4 Feb 2025 01:16:12 +0000 (10:16 +0900)]
[Tizen] Fix some decorative line style issues in text
- fixed strikethrough rendering issue for editable text
- fixed an issue where the decorative line style of editable text was not rendered again when updated.
- clean up the decorative line related code of the atlas renderer
- fixed double underline issue in text label
Change-Id: I667155525c526dc36297b316b356028d61d24e76
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Tue, 21 Jan 2025 02:09:59 +0000 (11:09 +0900)]
[Tizen] Fix mis-implementation - hash collision case for TextureManager
Change-Id: Ie14c0740e1e4c0bca83fb62f28a39970fb5f39ec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 9 Dec 2024 08:01:29 +0000 (17:01 +0900)]
[Tizen] Remove already applied dynamicProperties
Let we remove the list of dynamic properties info what we already send to task
Change-Id: Ib3a8024288cbcfae52a47ec2fd22d456a9a5b155
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Mon, 2 Dec 2024 05:53:25 +0000 (14:53 +0900)]
[Tizen] Fix auto scroll timing issue
Prevents ScrollingFinished calls due to animation finished callback in immediate stop mode.
Change-Id: Ibc40ca15e1ba2a0fbaa237a31db231201e9027e0
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunkiki Hong [Wed, 7 Aug 2024 06:27:57 +0000 (15:27 +0900)]
[Tizen](Scene3D) Do not cache custom created color pixel data
Since if we create pixeldata with upload release, it might be
inside of image-loader cache system.
Since we don't consider that given PixelData is not in cache system,
it might be crash system.
Change-Id: I39ee5c7c2b0b11ac8ddcac31e89a94223d08701b
Signed-off-by: Eunkiki Hong <eunkiki.hong@samsung.com>
sunghyun kim [Tue, 23 Jan 2024 09:45:18 +0000 (18:45 +0900)]
[Tizen] Apply CornerRadius for webview
CornerRadius apply logic not matched with tizen_7.0, the cherry-pick
not works well.
To fix this issue, let we it works well.
Change-Id: Iedc4f12c633db78266054c520172a2e671d2061a
ANZ1217 [Tue, 24 Sep 2024 04:27:20 +0000 (13:27 +0900)]
Prevent keypad enter key inserting when textfield is in password mode
Change-Id: I48d9835c0bb316068fae77375d29fdb8ed6ab2e0
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: I644ee6f88367d7f0fe2190ae2425414bbad4a7d9
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: I476c9af8a30ca1ccd6bd6f17e42c2baf0cace145
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>
Eunki, Hong [Tue, 27 Aug 2024 05:16:39 +0000 (14:16 +0900)]
[Tizen] Check adaptor validation instead of stage installed
Adaptor::IsAvaiable() check the adaptor stop called or not.
It will make more safety if we try to access singleton classes during
terminate application
Change-Id: Iaccad5d0edd6ed036f05e0c49bc1e1973fae0403
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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>
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>
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>
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)
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.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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: I634706dade46528248a8e94bd876a99d4ed9cdfb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dongsug.song [Wed, 7 Aug 2024 06:28:47 +0000 (15:28 +0900)]
[Tizen] Add WebView's JavascriptMessageHandler callback
- JavascriptMessageHandler callback which has two arguments of msg name and body
Change-Id: I85d323b3cead95ade36c2ee1ce8e02263a91f3e6
dongsug.song [Wed, 31 Jul 2024 00:28:56 +0000 (09:28 +0900)]
[Tizen] Apply CornerRadius for webview
This reverts commit
24bd50fcf6154dee3b54a62fc2cac49efb311dfd.
Change-Id: I9848f5d4ed5ec97285769a75d430c4d556667e95
dongsug.song [Wed, 31 Jul 2024 00:27:17 +0000 (09:27 +0900)]
[Tizen] Add WebView APIs for fullscreen, text found, etc.
This reverts commit
e04643922c03a80194d14d6f0712343bf2b95367.
Change-Id: I1dc58a1dbef88a9b51aa2f449b143526116a6175
Artur Świgoń [Fri, 12 Jul 2024 10:25:08 +0000 (12:25 +0200)]
[Tizen][AT-SPI] Unify widget bus names
Change-Id: Ifc3f9cc9cdac7712ce1a7e93b55e6cdfa07dea47
Eunki, Hong [Thu, 11 Jul 2024 09:34:36 +0000 (18:34 +0900)]
[Tizen] Fix cache-miss if orientation correction value mismatched
Since we don't check the orientation correction value when we check cache,
it might be return unmatched image.
Change-Id: I781103ceaaa5e3e73f4c819beb11a2cd4adb46d5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Wed, 17 Jul 2024 05:21:13 +0000 (14:21 +0900)]
[Tizen] If the actor had focus when it was off scene, the focus is cleared.
When the actor is off scene, the focus is not cleared.
So, when app re-add the actor and SetCurrentFocusActor, app do not receiving the FocusGained event.
Change-Id: Ic427362db70e77d482a458e4921ba5bcc7860632
Eunki, Hong [Wed, 3 Jul 2024 11:43:55 +0000 (20:43 +0900)]
[Tizen] Print log if worker thread destruction occured for UI items.
Change-Id: I99c765781dece4d4314c68ae3123eebef4b0392f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 2 Jul 2024 10:59:07 +0000 (19:59 +0900)]
[Tizen] Avoid self-destruct during AnimatedImageVisual resource ready
Since AnimatedImageVisual's resource ready is not safe enough
for self-destruction case, we'd better use DiscardVisual
for every visual cases.
Change-Id: If316663699276696bfd0695b85ac53f1cbd2b8f2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Thu, 27 Jun 2024 08:58:44 +0000 (17:58 +0900)]
[Tizen] Fix calculation of whether to scroll.
Change-Id: Id5ce3f23f7caaac8b8a2480b70113d5db25b674b
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>
Youngsun Suh [Thu, 20 Jun 2024 23:15:45 +0000 (23:15 +0000)]
Merge "[Tizen] Add imgSrc to GetAttribute return map if available" into tizen_8.0
joogab.yun [Wed, 8 May 2024 09:27:22 +0000 (18:27 +0900)]
[Tizen] Determines whether to propagate pan gestures in text fields and editors.
Change-Id: I3cb8ae7710deca1bf9fbe886122a69a35c76df74
Youngsun Suh [Fri, 12 Apr 2024 07:19:18 +0000 (16:19 +0900)]
[Tizen] Add imgSrc to GetAttribute return map if available
Change-Id: I9f9df3905ab13442e5ff12a04414484a25f3d41b
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>
ANZ1217 [Thu, 30 May 2024 18:43:55 +0000 (03:43 +0900)]
[Tizen] Fix bug that DefaultFonts are infinitely cached
Change-Id: I542f759b940cfb85860eb1cb39124f37cb5bca06
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>
ANZ1217 [Mon, 13 May 2024 10:14:45 +0000 (19:14 +0900)]
[Tizen] Fix vertical position error when cutout enabled.
Change-Id: Idf4a63296d18b9800767088211b2f7205e9f2f22
Seungho Baek [Thu, 9 May 2024 02:52:35 +0000 (11:52 +0900)]
[Tizen] Returns -1 for frameCount before until animated image loading finished.
Change-Id: I368d076116b8e9716d2b3ce0f64a42c559585823
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
ANZ1217 [Tue, 2 Apr 2024 10:49:46 +0000 (19:49 +0900)]
[Tizen] Introduce CUTOUT Property
Change-Id: I09ebfd4577be1d35c4701dd366cf476248024a83
ANZ1217 [Wed, 21 Feb 2024 05:39:52 +0000 (14:39 +0900)]
[Tizen] Introduce REMOVE_FRONT_INSET, REMOVE_BACK_INSET Property
Added new property to TextLabel, TextField, and TextEditor.
Example:
textLabel.SetProperty(DevelTextLabel::Property::REMOVE_FRONT_INSET, false);
textLabel.SetProperty(DevelTextLabel::Property::REMOVE_BACK_INSET, false);
When REMOVE_FRONT_INSET is set to false, the xBearing of first glyph won't be trimmed.
When REMOVE_BACK_INSET is set to false, the advance of last glyph won't be trimmed.
Change-Id: I58a0f9254358e39c3e379bb3262a65beda7c76ed
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>
Bowon Ryu [Thu, 2 May 2024 10:56:14 +0000 (19:56 +0900)]
[Tizen] Add blur radius to text outline
it uses the same Gaussian blur as the text shadow.
Change-Id: I3b7d7534c68cfae5de55747158b4f74ffcaa2e88
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Tue, 30 Apr 2024 01:56:04 +0000 (10:56 +0900)]
[Tizen] Fix text autoscroll multi line issue
This patch fixes issues that arise when relayout is executed during auto-scrolling.
- relayout not executed after the scroll finish callback
- stop scrolling fails in certain situations in finish loop mode
- scroll finish being called twice during immediate mode stop
Change-Id: Ib44883380a79ad13c576d18c11171ae9f1f670c3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Thu, 18 Apr 2024 07:46:55 +0000 (16:46 +0900)]
[Tizen] Text controller checks data type of the clipboard
IsClipboardEmpty works meaningfully.
Temporary code has been applied to paste html type.
Once multiple types and data can be stored in the clipboard, this code should be removed.
Change-Id: I29b279acf19dd1c3397568b55e0567d314c41990
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Bowon Ryu [Thu, 25 Apr 2024 11:28:13 +0000 (20:28 +0900)]
[Tizen] Add offset to text outline
Change-Id: I280ed148384325cfa83e2d48fae15a387bc81fcd
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
ANZ1217 [Mon, 8 Apr 2024 11:46:52 +0000 (20:46 +0900)]
[Tizen] Fix Crash when the InsertText event is executed multiple times between Relayout.
When using IME, InsertText may be executed multiple times within one relayout.
Fix the problem that length of the text cannot be calculated correctly.
Change-Id: Id47f7bbacf90a098055fc7b6ae0d4931a9facde2
Eunki, Hong [Fri, 12 Apr 2024 13:07:07 +0000 (22:07 +0900)]
[Tizen] Force call KeepRendering when lottie animation stopped, or frame changed
Change-Id: Ie9c44a8a3997a644080c934d36e99c8aee804bf2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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>
sunghyun kim [Mon, 8 Apr 2024 06:09:59 +0000 (06:09 +0000)]
Merge "[Tizen] Fix bug in transition effect" into tizen_8.0
Eunki, Hong [Fri, 5 Apr 2024 13:28:08 +0000 (22:28 +0900)]
[Tizen](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>
sunghyun kim [Wed, 27 Mar 2024 07:33:59 +0000 (16:33 +0900)]
[Tizen] Fix bug in transition effect
Image view provides transitoin effect when image is replaced.
but this function has some bugs, so i fixed them.
Below is the issue list
1.Sometimes, some of view play transition effect when image is not replaced.
2.Sometimes, Don't play transition effect when image is replaced.
3.Focus items show transition effect even if resource is not changed.
Change-Id: I610ef472c3046177c5e3f76dd4d854497805168c
Eunki Hong [Tue, 2 Apr 2024 15:46:50 +0000 (00:46 +0900)]
[Tizen] Revert "Do not call malloc during terminate"
This reverts commit
4136ad045e9fec48e66b45999fb8ac19e325812f.
Change-Id: I0ba7d5ba19ab0c05506165332bccc814b02a8147
Eunki, Hong [Thu, 25 Jan 2024 04:24:24 +0000 (13:24 +0900)]
[Tizen] Make ModelNode / Light don't work A11y + Clean code lines
Let we make ModelNode and Light disable to create ControlAccessible as default.
And also, let we seperate the header file API override comes from.
It will make easy to find where it is comes from.
Change-Id: I477a2c34e247681df45120d83edd84b67fc22a9e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 4 Mar 2024 06:39:55 +0000 (15:39 +0900)]
[Tizen] Fix coverity issues what we resolved at tizen_9.0
This is a combination of 3 commits.
Lock mutex when we queue offscreen texture at GlView
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Ensure image visual shaderType is in range
Let we make assert if we try to use invalid native shader feature
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Fix svace issue phase2 : Need to check Property::Value.Get() return
It is possible that user set invalid value type.
If then, we need to skip given value setter.
Change-Id: I7538533f9c915d6f392b3a92569df28b6ed96051
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
sunghyun kim [Thu, 21 Mar 2024 05:13:48 +0000 (14:13 +0900)]
[Tizen] Apply premultiply on initial time in animated visual
Change-Id: I7ce10be72455c659f5b5d09c3ce303f39dd13102
Eunki, Hong [Tue, 12 Mar 2024 05:12:22 +0000 (14:12 +0900)]
[Tizen] (Vector) Change shader at visual side
Let we change animated vector visual shader at visual side, instead of dali-extension.
Now we can use cached shader.
Change-Id: Ie530f295227ce55b9d374bc4ddfd1a09361905a4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
sunghyun kim [Fri, 12 Jan 2024 05:21:31 +0000 (14:21 +0900)]
[Tizen] Change Property name USE_FIXED_CACHE to ENABLE_FRAME_CACHE
existing name is ambiguous in meaning, so we change it to a more clear name.
Change-Id: I8a797dee0378ffbc6ab2547f63d9360f8a2da2b5
Eunki, Hong [Tue, 12 Mar 2024 07:44:58 +0000 (16:44 +0900)]
[Tizen] (AutomatedTests) Let we make adaptor invalidate if adaptor stop
Change-Id: I1436b6dcb86810821abdf90eff9c9a9d63e8ee0a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
sunghyun kim [Tue, 12 Mar 2024 11:39:09 +0000 (20:39 +0900)]
[Tizen] Change TransitionEffect
The existing effect was rather slow and unnatural.
therefore, some of the settings have been modified to make the effect more natural.
Change-Id: I42ef237dd831dd210766bf670b2d3061def69c44
joogab.yun [Tue, 12 Mar 2024 04:48:35 +0000 (13:48 +0900)]
[Tizen] The canvas view defaults to SYNCHRONOUS_LOADING.
A crash occurs when multiple CanvasViews are operated async.
So, we change it to operate synchronously by default.
The problem of async operation when using a multi-canvas view should be resolved later.
Change-Id: I9bb4c8165b69ebdd93753211214fcadf06a3f456
Eunki, Hong [Tue, 5 Mar 2024 00:43:05 +0000 (09:43 +0900)]
[Tizen] Fix svace issue : Need to check Property::Value.Get() return
It is possible that user set invalid value type. If then, we need to skip
given value setter.
Change-Id: I8bc339f30b969c049a0b07bda152c4d24593bb48
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Seungho Baek [Mon, 4 Mar 2024 09:08:27 +0000 (18:08 +0900)]
[Tizen] Add CastShadow and ReceiveShadow for Model and ModelNode
- CastShadow can be used to make an object cast shadow or not.
- ReceiveShadow can be used to make an object be not drawn any shadow on its surface.
- Model and ModelNode have the methods.
- If Model's method is called, it is inherited to its current child ModelNode.
- If ModelNode's method is called, it is only affects the ModelNode itself.
- The ModelNode's property changes do not affect its parent Model's property.
Change-Id: I8ebeeed9ed814718a38ad7f69c43a4814a5a70ae
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Eunki, Hong [Mon, 4 Mar 2024 07:50:23 +0000 (16:50 +0900)]
[Tizen] Fix many svace issues at dali-toolkit (integer overflow + etc)
This is a combination of 3 commits.
Let we remove many cases of dali-toolkit when we can be call 0u - 1u, which is undefined behavior.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
(Scene3D) Fix svace issue : convert uint32_t to std::streamoff + minor
Fix svace issue when we try to convert from 32bit unsigned integer
to (might) 64bit signed integer.
+
Fix the name of function collision issue
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Fix svace issue : Avoid to divide by zero cases
Change-Id: If11884693253cd86f89cb98704e93473166faca1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 7 Mar 2024 06:21:03 +0000 (15:21 +0900)]
[Tizen] Let we use legacy rounded blur algorithm for gles2.0 + remove GL keyword
Since low spec device also want to use rounded blur color visual,
let we make them use some old legacy code, which required low calculation.
Change-Id: I50ad32c09da384e9ddc8a18423e67681f8824a5c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 28 Feb 2024 12:51:32 +0000 (21:51 +0900)]
[Tizen] Do not call malloc during terminate
There was some strange crash issue during application terminate.
That crash comes at malloc.c during destruct JsonParser.
So, let we just remove some potential of mallocate memory during terminate,
what might not neccessary.
Change-Id: I93dc70b0c069f90a94e526f7916f9c54e1565a7f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Wed, 28 Feb 2024 17:43:24 +0000 (17:43 +0000)]
[Tizen] (Automated Tests) Use github link instead of w3 for SVG image
Change-Id: I801f86b265f0101c5c906ccfcb221c477aee9484
Eunki, Hong [Mon, 4 Mar 2024 01:54:19 +0000 (10:54 +0900)]
[Tizen] Assume memory allocation failed cases
Let we consider malloc return null.
Change-Id: I5bafbf1cd47880ca5bc488cea264b88d742a7861
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 29 Feb 2024 05:25:04 +0000 (14:25 +0900)]
[Tizen] ImageVisualShader debug script make to add custom attribute / varying / uniform
Let we allow to set some extra uniform and attribute , varying if user need to debug.
Change-Id: I0c98358fe22e6678fcfa352d33c61308597bcfe0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 16 Feb 2024 12:54:48 +0000 (21:54 +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: Idfb68580e5a321745ee3accf9bb61d3845a39067
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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>
Eunki, Hong [Tue, 27 Feb 2024 09:27:30 +0000 (18:27 +0900)]
[Tizen] (Vector) Change ConditionalWait as Mutex at lottie task
Change-Id: I1f652c440945a9b40a88a992018e14ae0746bc9d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 26 Feb 2024 12:03:16 +0000 (12:03 +0000)]
Merge changes If2e7cd12,Ia9440c98 into tizen_8.0
* changes:
[Tizen] Fix Shadow crash issue during SceneOff
[Tizen] Change precision of corner radius relative shader codes as highp
Eunki, Hong [Thu, 22 Feb 2024 08:31:25 +0000 (17:31 +0900)]
[Tizen] Fix Shadow crash issue during SceneOff
Change-Id: If2e7cd12212d6207f7b9e582c8105574df0dd3c7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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>
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>
Adam Bialogonski [Fri, 16 Feb 2024 16:11:14 +0000 (16:11 +0000)]
[Tizen] Added UNSAFE_RENDERING_DIRECT backend mode for GLView.
UNSAFE_RENDERING_DIRECT mode allows injecting the GL calls
directly into window context. This method is considered unsafe
and should be used cautiously as it may alter GL state of the
main DALi pipeline (ie. affect UI rendering).
Change-Id: Idd36a26541f9af56657c1eef72ee7e83e2a45581
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
Eunki, Hong [Mon, 5 Feb 2024 10:06:34 +0000 (19:06 +0900)]
[Tizen] Support CornerBlur and Scene3D gles2.0
This is a combination of 3 commits.
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>
Revert "[Tizen] Do not access undefineded transform uniform"
This reverts commit
6d81a8a25d046a707a00543b416902e1e75dedb5.
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>
Eunki, Hong [Mon, 19 Feb 2024 13:31:11 +0000 (22:31 +0900)]
[Tizen] Print image process duration when we trace it
Change-Id: Ic9dba03a2f18743ea253ccf9e1234bd1bda78239
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 19 Feb 2024 13:08:19 +0000 (22:08 +0900)]
[Tizen] Reduce the length of log during image trace
Change-Id: Id5ec87c10021a3d391295d88fbef2a88e1750150
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Wed, 31 Jan 2024 06:20:57 +0000 (15:20 +0900)]
[Tizen] Create Shadow RenderTask only shadow is required.
- By using OrderIndex, Shadow RenderTask can be created only it is required.
Change-Id: I65a14ff4db167b1aa546be81f80238008322e7b5
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Wed, 17 Jan 2024 02:54:38 +0000 (11:54 +0900)]
[Tizen] (Scene3D) Optimize AnimatedProperty's KeyFrame values after load complete
Let we reduce the total key frame of MotionValue what we parse.
Since both json and bvh store the data by framerate.
So, there might be useless values are included.
If the number of keyframe is large, it might give some overhead to core.
So let we reduce useless keyframe for MotionValue and Model's internal animation.
Change-Id: I04b86b0341125cef1f60d3da68150c9367655169
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 2 Feb 2024 07:26:35 +0000 (16:26 +0900)]
[Tizen] Make uShadowBias highp
Change-Id: I29a72fb8e7a3756d7e672ec4b06a5ae86c93a5b7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Thu, 1 Feb 2024 14:15:23 +0000 (14:15 +0000)]
[Tizen] GraphicsBackend clean up backport
This is a combination of 2 commits.
Test harness sync
Test harness sync
Change-Id: Id9097935cbac664b75d9fe64049117bab42bf096
Adam Bialogonski [Thu, 11 Jan 2024 11:04:54 +0000 (11:04 +0000)]
[Tizen] Test harness update.
"uColor" uniform added as first.
Custom uniforms are added before default uniforms in the reflection.
Change-Id: Ifb837b5e18c80afb94f24cf9372c5c60d840b477
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
Eunki, Hong [Wed, 7 Feb 2024 11:15:16 +0000 (20:15 +0900)]
[Tizen] Apply some missing shader names
Change-Id: Iafce95d1725bd05e9c64a249d3de9e565b5d761b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 5 Feb 2024 04:48:16 +0000 (13:48 +0900)]
[Tizen] Fix wrong order of linear enumeration
Since Fitting mode have FIT_HEIGHT = 4 and FIT_WIDTH = 5, we need to follow up the order of enum
Change-Id: I63be4fdb114be28c20716fd3eaad01f061049f92
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 5 Feb 2024 08:25:47 +0000 (17:25 +0900)]
[Tizen] Make model load task priority as low
Since gltf model load spend a lots of time, let we make it priority low
Change-Id: I4af0711d74b5836f4c7b039217463e13ce5c5220
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 5 Feb 2024 08:54:05 +0000 (17:54 +0900)]
[Tizen] Add precompiled shader names
Let we allow to use precompiled shader also use shader name
Change-Id: I701627ffc53b8450e286c31b8ac8e348e2a81cb0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 2 Feb 2024 10:25:18 +0000 (19:25 +0900)]
[Tizen] Add name of shader what we generate as default
Let we use the feature of shader name for our dali side default shaders.
Change-Id: Ic2b33c53192075e78cb68aef0eb1401069b65e13
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 1 Feb 2024 03:44:42 +0000 (12:44 +0900)]
[Tizen] Let we make WebView invisible if window is hide
Since we didn't check window visibility changed during webview is on scene
+
We don't check whether webview is on scene or not,
it could be make WebEngine keep rendering infinitly.
Let we make web engine visible only if we can assume that it is visible now.
TODO : We cannot check parent visibility changed for current system correctly,
without any overhead. Todo in future
Change-Id: I86ca4cf816eb718a45cc0b5146217eb82f373fa0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
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
Eunki Hong [Wed, 31 Jan 2024 09:30:51 +0000 (09:30 +0000)]
Merge "[Tizen] Fix editable text font size update issue" into tizen_8.0
Eunki, Hong [Tue, 30 Jan 2024 12:16:41 +0000 (21:16 +0900)]
[Tizen] Fix decorator cursor size didn't changed issue
Since dali don't change the size during Relayout callback working,
the cursor size was not applied at 'current' relayout result.
So there was some issue that the cursor size applied well after 1 event loop working.
To avoid this issue, let we 'add' some relayout required actor to container.
It will call Relayout internally, at this loop.
TODO : Is there any other actor to be changed during relayout?
Change-Id: I88f48c7b64e76644ea8738abce4245a584c83cc9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Bowon Ryu [Wed, 31 Jan 2024 04:44:10 +0000 (13:44 +0900)]
[Tizen] Fix editable text font size update issue
There is an issue that the font runs of the editable text area are separated
when the font size is updated.
If the editable text is an active state and the font size is updated,
the input font size should also be updated.
And due to the feature that changes the selected area's font size when the input font size is updated,
unintended font run separation and font size change occur if there is selected text when updating the font size.
This patch fixed so that the selection-related logic is not executed
when SetInputFontPointSize is called due to an update of the default font size.
Change-Id: I1a5f5190d00a25291a8cafc215f5bf0df2cd71f7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Eunki, Hong [Tue, 23 Jan 2024 03:44:52 +0000 (12:44 +0900)]
[Tizen] Call idle functions what we might be failed to add
Since AddIdle could be failed at ecore side, we need to call given callback
synchronously, or need to print some error logs for some cases.
Change-Id: Ie0afd1fd7ddb92d43e2fdc03592144c8dae711e2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 24 Jan 2024 07:30:56 +0000 (16:30 +0900)]
[Tizen] Make we use valid geometry if broken image was n-patch and reloaded
It is possible that we use broken image not matched with given visual,
and then Reload API call it, and successed.
For this case, we need to change to use valid geometry again.
Change-Id: I2df7fb8b6123361b515b8f9ac9c1fafc77f665b6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 24 Jan 2024 05:13:38 +0000 (05:13 +0000)]
Merge "[Tizen] Make method to get VisualUrl shorter." into tizen_8.0
Eunki, Hong [Tue, 23 Jan 2024 04:12:59 +0000 (13:12 +0900)]
[Tizen] (Scene3D) Guard cache impl will not be re-created at terminate case
Since LifecycleController could be called first before Model / ModelCache destroy,
re-create the image resource cache at terminate time was possible.
Since we don't check the validation of this item, it will make crash.
So let we ensure that we call those API under same thread with adaptor.
Change-Id: I995c509f070b56f99214689e5a9f3e66514d5f91
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 [Mon, 22 Jan 2024 08:03:06 +0000 (17:03 +0900)]
[Tizen] Make method to get VisualUrl shorter.
Let we allow to get only the last 20 character of URL name
when we don't need to print full URL.
Change-Id: Id7203bff84fdf61a7950cec1c79ebce48b1a9a43
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sat, 13 Jan 2024 00:28:27 +0000 (09:28 +0900)]
[Tizen] Remove cubemap cache temperary + Fix bug when Uploaded PixelData resue after Texture GC
If we create NewPixelDataWithReleaseAfterUpload and Upload to texture,
and if that texture reference count become 1 and GC,
the key of PixelData is not valid anymore.
To avoid this cases, Let we collect all PixelData container if some texture removed.
And also, since PixelData could be key of Texture cache, we should check the
reference count is less than 2.
+
Since current cubemap cache not works well reasonable, just remove it.
We will reopen it after we implement PixelDataList cache system again.
+
Print more log information if we need.
Change-Id: I6693ceab9b03cc20e1c6a42282ef39af38344e27
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 12 Jan 2024 06:25:03 +0000 (15:25 +0900)]
[Tizen] (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>