Artur Świgoń [Thu, 4 Apr 2024 11:53:58 +0000 (13:53 +0200)]
[Tizen][AT-SPI] Track application lifecycle
This allows to postpone the initalization of most infrastructure until the
application is acutally running from the UX point of view.
Change-Id: I451b70fe90568f0df66f75b9b0a889b75849f0c4
Bowon Ryu [Tue, 23 Jul 2024 11:40:48 +0000 (20:40 +0900)]
[Tizen] Fix asterisk count mismatch in password mode
Until now, the number of asterisks '*' has been used based on the text length..
instead of the number of utf8 characters in password mode.
This caused an issue where the number of rendered asterisks did not match the number of asterisks delivered to the IME.
Now, when creating an asterisk string to deliver to the IME,
we use the number of utf8 characters.
Change-Id: I76324f2ed9326102196441d72c8a96d59fce792d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Seungho Baek [Wed, 10 Jul 2024 06:39:39 +0000 (15:39 +0900)]
[Tizen] Make mCore nullptr when the core is deleted.
Change-Id: I59c73650252c81ab70eedd4e5aec7dadf8d1a778
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Eunki, Hong [Fri, 14 Jun 2024 05:02:48 +0000 (14:02 +0900)]
[Tizen] Fix assert when callback cancel timer during execute callback
It is possible that user can call CancelTimer during timer callback execute.
If then, timerIter could be end. If this case, we should not move iterator
into spent container.
Change-Id: Ie28b9dfdddcc2a7ef300c783a9b50d5620761674
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Seungho BAEK [Tue, 11 Jun 2024 07:24:22 +0000 (07:24 +0000)]
Merge "[Tizen] Apply Premultiplied Alpha for ClearColor of 32bit window." into tizen_8.0
Bowon Ryu [Wed, 17 Apr 2024 09:18:43 +0000 (18:18 +0900)]
[Tizen] Implement multi-type copy support for the clipboard
For SetData, identical serials are considered the same source.
ecore_wl2_dnd_selection_set is invoked using the types requested by the user.
For GetData, only requests ecore_wl2_offer_receive once for the same offer and type.
And clipboard do not request multiple offer receives simultaneously but rather sequentially.
Change-Id: I6cd91026b22986ab51c21e94c073691065149a9e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Seungho Baek [Mon, 3 Jun 2024 08:18:32 +0000 (17:18 +0900)]
[Tizen] Apply Premultiplied Alpha for ClearColor of 32bit window.
Change-Id: I06a71c809d61063a353996374093220beda05c2b
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Youngsun Suh [Wed, 8 May 2024 04:33:58 +0000 (13:33 +0900)]
[Tizen] Emit WindowHidden event to atspi if window is invisible on accesbility enabled
Change-Id: I41539464d24a9b5a69476eb495c4c0115a1d8605
Bowon Ryu [Mon, 13 May 2024 09:45:26 +0000 (09:45 +0000)]
Merge "[Tizen] Add align api to InputMethodContext" into tizen_8.0
Bowon Ryu [Mon, 13 May 2024 02:42:37 +0000 (11:42 +0900)]
[Tizen] Add align api to InputMethodContext
Change-Id: I72f2fd7d22abcf8dd74a8f89ab194da1c918d0ad
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
joogab.yun [Wed, 8 May 2024 01:51:57 +0000 (10:51 +0900)]
[Tizen] Fixes bug where SetGeometryHittestEnabled does not update.
Change-Id: I16e492f9de5e13228f7b45e3d4a15bcd3261162c
Bowon Ryu [Thu, 18 Apr 2024 07:46:14 +0000 (16:46 +0900)]
[Tizen] Add HasType to Clipboard
Change-Id: Ifeeb380f8da7d24f2febdc5f271d10d7bdafd52a
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
joogab.yun [Thu, 25 Apr 2024 06:56:17 +0000 (15:56 +0900)]
Revert "[Tizen] Add VIRTUAL_REMOCON and VIRTUAL_MOUSE device types"
This reverts commit
099caf198c580d35dace1c7e59a5f086668e1cf9.
Change-Id: Iadbc40799c241ce7fdfbf6131cfb7940c997e47e
joogab.yun [Wed, 24 Apr 2024 06:51:35 +0000 (15:51 +0900)]
[Tizen] Add VIRTUAL_REMOCON and VIRTUAL_MOUSE device types
Change-Id: I79bb5456a5f9151fab30b2ff95dfb509b6af594a
Seungho BAEK [Wed, 24 Apr 2024 07:11:41 +0000 (07:11 +0000)]
Merge "[Tizen] Block to do not access mTasks from multiple threads" into tizen_8.0
Seungho Baek [Wed, 24 Apr 2024 05:20:09 +0000 (14:20 +0900)]
[Tizen] Block to do not access mTasks from multiple threads
- RoundRobinContainerView is not ThreadSafe.
- If 2 or more Thread call GetNext() method at the same time,
it can return cend().
- This patch blocks to do not access mTasks from multiple threads.
- Blocked code is works for only simple request with O(n).
Change-Id: I134a846cfa04935d4e492f4d3a92c65eaa169261
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Seungho Baek [Tue, 23 Apr 2024 02:17:16 +0000 (11:17 +0900)]
[Tizen] Let window emit signal when only adaptor is available
Change-Id: I5a86b9e6ac01e5c0e41756f818c439da9ca1b2b1
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
Eunki, Hong [Wed, 17 Apr 2024 05:55:58 +0000 (14:55 +0900)]
[Tizen] Fix mis-implement of ttrace for TV profile
Fixup patch of https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/308759
Change-Id: I1b431f0599056e64ac6f8bdc3e7785910ac322a2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 4 Apr 2024 06:49:14 +0000 (15:49 +0900)]
[Tizen] Fix coverity issue (Do not throw std::bad_weak_ptr exception at destructor)
Some internal code might throw that exception at ecore side.
Since we got some unknown crash issues from std::shared_ptr,
we'd better add some guard codes at destructor, what coverity system catched.
Change-Id: I357fd0314bb041b825b6965af3a44c3cb02bf161
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Taehyub Kim [Wed, 3 Apr 2024 04:49:00 +0000 (04:49 +0000)]
Merge "The intersection logic of window targets has been fixed when the device is rotated" into tizen_8.0
Eunki Hong [Sat, 30 Mar 2024 13:15:18 +0000 (22:15 +0900)]
[Tizen] Ignore ttrace for TV profile
Let we don't print trace log when we use TV profile.
ttrace log print at HWC level log, which should have less logs.
To avoid this log printing, let we just ignore ttrace only for TV profile.
Change-Id: I6919dd02b2f63f353e94d719a9d1cf4a8f857d66
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 12 Mar 2024 03:28:57 +0000 (12:28 +0900)]
[Tizen] Resolve build warning (compare between signed integer and unsigned integer)
Change-Id: Ib238ff567149648f598bb6a9418c0750950c5237
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Fri, 29 Mar 2024 13:30:40 +0000 (22:30 +0900)]
[Tizen] Set device class when mouse cancel
Let we add device and screen and etc informations at MouseCancel event.
It will be used when interrupt event sended to application side.
Change-Id: I29f88d49234b33840783f8297c8e605819f3085d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Taehyub Kim [Wed, 27 Mar 2024 06:50:36 +0000 (15:50 +0900)]
The intersection logic of window targets has been fixed when the device is rotated
Change-Id: Iff3b74739542d59e557d0fd937097660729c51a0
Artur Świgoń [Fri, 25 Nov 2022 10:13:41 +0000 (11:13 +0100)]
[Tizen] [AT-SPI] Associate default labels with windows
This patch is cherry-picked from
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/284764/
Change-Id: I575f9be4d518c7b03d8bfa2419a6d1961585d5d6
Eunki, Hong [Tue, 12 Mar 2024 07:05:14 +0000 (16:05 +0900)]
[Tizen] Let we make adaptor invalidate if adaptor stop
There was some issue when we try to destruct some singletone class
during application shutting down.
Since Adaptor still available, some singletone class try to access another
singletone class inside of it's destructor. It might make some problem.
To avoid it, let we check that adaptor is stopped at IsAvailable() API.
And also, Let we clean-up all registered processor at Stop timing,
to avoid unmatched behaviour after we change IsAvailable return false even
Core alive.
Change-Id: I039578613d5e79b80b091fef4d7993779a395dfb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 8 Mar 2024 05:27:41 +0000 (14:27 +0900)]
[Tizen] Make jpg loader scale-up decode allow.
There was some bug when we want to load jpg image as x2 scaled.
(Since 2/1 scale is tjGetScalingFactors()[0] value, and we were ignore 0 value until now.)
And also, scaling factor doesn't mean "downscale" anymore for now.
Let we remain some comments, and change some values
Minor fix about jpeg downscale under max texture size
Let we consider that two cases also downscale works well when
- Mark as we don't use jpeg scale factor, and double-scaled image size is less then max texture size.
(For this case, we were try to decode image as double-scaled. and then downscale as half)
- 1/8 scaled size of image is also less then max texture size
(For this case, we should try to downscale as much as we can. But we didn't)
Change-Id: Ib917dfad68da5fa05d61f6ce3e2a1c5b25dd612f
Eunki, Hong [Mon, 4 Mar 2024 01:43:17 +0000 (10:43 +0900)]
[Tizen] Fix svace phase 2 : Print error log when malloc failed
Let we print error log if malloc failed.
There was some codes that we assume malloc success always.
This is not safe. So we have to add some guard codes for malloc failed cases.
Change-Id: Ie2f3500258ba2c33a3df1adf492d56f3235048f1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 4 Mar 2024 00:53:50 +0000 (09:53 +0900)]
[Tizen] Fix svace phase 1 : Integer overflow cases resolve
gl-proxy : uint32_t * uint32_t is not enough. Sampler will be break if we call Acuumulate after 2^16 frames.
socket / cairo-renderer : Guard some negative value as unsigned int.
async-task-manager / font-client : Guard 0 to -1 operation.
Change-Id: Ie3addabf669b80153fc9a5d605628168293a53b3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
sunghyun kim [Mon, 5 Feb 2024 01:37:45 +0000 (10:37 +0900)]
[Tizen] Decoding webp using desired size
webp provides decoding option with provided size.
with this options, dali don't need to scaling buffer after decoding.
Change-Id: I63bb47ec29cb3950687b1814839674ca32c4cb62
Eunki, Hong [Mon, 26 Feb 2024 10:27:03 +0000 (19:27 +0900)]
[Tizen] Fix memory leak issue when we convert pixelData
If we convert buffer CPU side, we might not release sourceBuffer memory.
To avoid this kind of memory leak, let we change the logic of glTexImage2D.
Change-Id: Ib1725c5ca8e6653dd1605311e4e021b09be2d387
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adam Bialogonski [Wed, 14 Feb 2024 14:36:15 +0000 (14:36 +0000)]
[Tizen] Added direct injection of native draw command into DALi pipeline.
Needed by direct rendering feature. Now, it's possible to execute GL calls without creating additional context.
Change-Id: I7a21f82d57e2edbaecedcf7ff98c01471b0497a3
Eunki, Hong [Mon, 5 Feb 2024 14:50:10 +0000 (23:50 +0900)]
[Tizen] Support to get shader language version + Support gles2.0 device
This is a combination of 2 commits.
Support to get shader language version
Let we make shader language version getter as virtual function,
so some graphics config can use it.
Change-Id: I6752c21b105046b1872ba0e97df7a7ed2d453e8e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Support gles2.0 device also use BuildUniformBlockReflection() API
Since glGetActiveUniformsiv only implements on gles3.1 or over,
BuildUniformBLockReflection API doesn't work well on gles2.0 devices.
To support it, let we implement naive way of glGetActiveUniform, so
let we make it didn't break down at least.
Change-Id: I3f50f2e74763968d19712d5dc37377f283000383
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Thu, 8 Feb 2024 14:23:44 +0000 (14:23 +0000)]
[Tizen] Added DS-5 Streamline tracing support
Change-Id: I2086a5db94ba7baedf12a73e3c44d98a1c5b25c6
Taehyub Kim [Thu, 1 Feb 2024 06:27:55 +0000 (15:27 +0900)]
[Tizen] Add null checking after getting mimetype
Change-Id: Iddaa129244b729741cdc9f3bcb895d0e239fd95e
David Steele [Wed, 7 Feb 2024 11:46:13 +0000 (11:46 +0000)]
[Tizen] Changed FBOs to use EglSync
For texture dependencies between shared context and render surface
context (i.e. Window/Scene surface), e.g. when an offscreen is
rendered on-screen, have changed to use EglClientWaitSync with
timeout = FOREVER.
This blocks the CPU when sending draw calls to the GPU where
that draw call uses an offscreen texture. However, in testing
gaussian-blur-view.example, this lasts approx 10ms on some frames
and 16/17 ms on others, yielding an FPS of 41.
Changed egl-sync-implementation.cpp to have multiple versions
of the file for each platform, rather than old-style #ifdefs.
(Todo: could check if the offscreen was re-rendered this frame, as
there is no need to sync if it hasn't changed. But, client can use
RENDER_ONCE to force this behaviour).
+ Fixed some SVACE errors
Change-Id: I64eaf82c5203e6acb6e0fc76b0f0e36136defcdf
Adeel Kazmi [Thu, 1 Feb 2024 11:51:11 +0000 (11:51 +0000)]
[Tizen] GraphicsBackend clean up backport
This is a combination of 6 commits.
Cleaned up some of the circular dependency between GLES::Context & GLES::GraphicsController
Updates to remove old temporary graphics APIs
Removal of EglContextHelper
SVACE fix in gles-graphics-texture.cpp
SVACE fix in gles-graphics-program.cpp
Fix SVACE errors in various files
Change-Id: Icdf7f138077dac5f6fd527e8c65be9d1c5dd43ac
Adam Bialogonski [Thu, 11 Jan 2024 11:03:59 +0000 (11:03 +0000)]
[Tizen] Prevents writing array uniforms with out-of-bound indices and accidental overwrite of next uniform.
Change-Id: I3a90c54759159b7ac3a448a4694caa7047765c40
Eunki, Hong [Thu, 15 Feb 2024 08:32:10 +0000 (17:32 +0900)]
[Tizen] Ignore glTexImage2D if we know given texture is already discarded
Since glTexImage2D is heavy operation, and if we know that we don't use it,
we can ignore the texture upload operations.
Change-Id: If474919945d39d19f8870b06850db4e843d7ba11
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
seungho baek [Tue, 13 Feb 2024 05:01:48 +0000 (14:01 +0900)]
Add error log to check AsyncTaskManager::AddTask memory issue
Change-Id: Icdabe8e65d69f73f769602cc86bb4d7f4b5d78f7
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Wed, 7 Feb 2024 04:36:41 +0000 (13:36 +0900)]
[Tizen] Make some program log print always as debug level
Change-Id: Iaf945e63dc2f6982176c4436d484607a1b6c78ab
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 5 Feb 2024 09:05:11 +0000 (18:05 +0900)]
[Tizen] Add precompiled shader names
Let we allow to use precompiled shader also use shader name
Change-Id: I784ba99d1bbd3f769ffbae4b1d15d0a8e7bc7bd0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Fri, 2 Feb 2024 10:14:19 +0000 (19:14 +0900)]
[Tizen] Add program name and print it
Change-Id: Ieaaeab17a008882ce922b98a7ac7cb6285381adc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Tue, 6 Feb 2024 16:37:10 +0000 (01:37 +0900)]
[Tizen] Revert "[Tizen] Do not keep update when only FrameUpdateCallback execute for PROFILE_TV"
Change-Id: Id4fd5b0e9c2b28b1f32e44afdf6ae1e39b3e4e98
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
huayong.xu [Fri, 2 Feb 2024 06:51:49 +0000 (14:51 +0800)]
[Tizen] Add a WebView API for notifying orientation change.
Change-Id: I20ee245fb1f82beb5259a7fb3ec8c51d2ffab098
Eunki, Hong [Tue, 23 Jan 2024 03:42:36 +0000 (12:42 +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: Iea7268071c47e998b66a57154d81aead866d5db2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 29 Jan 2024 08:02:53 +0000 (17:02 +0900)]
[Tizen] Allow to ignore Vsync rendering by environment
Let we allow to ignore vsync waiting if user don't want, by environment.
Change-Id: I22d15594a145c32e633816f5f2c7560bd47d7934
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Hosang Kim [Thu, 30 Nov 2023 11:36:36 +0000 (20:36 +0900)]
[ATSPI] Introduce GetMatchesInMatches API
The GetMatchesInMatches API allows users to get a list of Accessible objects that match two different MatchRule parameters.
Change-Id: I2ac3dc502561b288a8d491e0392ecea8ef66e790
(cherry picked from commit
0fe284fc3ba14e071b32c69ab4fc7ce6e098e4bc)
Eunki, Hong [Mon, 22 Jan 2024 05:27:34 +0000 (14:27 +0900)]
[Tizen] Trace and print Timer tick signal
Change-Id: Iaea503677af2499ca0c6dc479c58de51da856f8d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 17 Jan 2024 08:47:02 +0000 (17:47 +0900)]
[Tizen] Add trace marker for some EGL CONTROLLER Render case
Change-Id: Id4894c99c2c525c82b716625e52fc5e29a5cf00a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 15 Jan 2024 05:31:17 +0000 (14:31 +0900)]
[Tizen] Support YUV format desired size downsampling
Change-Id: I0dc982af4a18488b3f9da740e8c969034ebbf692
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
jmm [Wed, 10 Jan 2024 03:44:29 +0000 (12:44 +0900)]
[Tizen] Fix svace issue
Change-Id: I86bf7507e4e2ddf7f360ac18856636466275ba05
Eunki, Hong [Mon, 8 Jan 2024 08:31:17 +0000 (17:31 +0900)]
[Tizen] Fix svace issue when TJ_SUBSAMP is bigger than 7
It is possible that TJ_SUBSAMPL could be greater than 7 in future.
This patch make ensure that it will works well even that value increased.
Change-Id: I3a7b1ce25cda3fb6717f3cb847bd0d4e744086e7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Mon, 15 Jan 2024 04:49:42 +0000 (04:49 +0000)]
Merge "[Tizen] Optimize NativeImageSourceQueue rendering time" into tizen_8.0
sunghyun kim [Fri, 12 Jan 2024 06:35:23 +0000 (15:35 +0900)]
[Tizen] Set ThreadName for AsyncTask
Set Threadname using GetTaskName()
it is useful for debug
Change-Id: I73ab292bc8c4c143648f5848b3b6a1d606e8aaf4
Eunki, Hong [Wed, 10 Jan 2024 20:35:05 +0000 (05:35 +0900)]
[Tizen] Optimize NativeImageSourceQueue rendering time
If NativeImageSourceQueue has a lots of queue, it might have some overhead
during rendering.
Let we remove some useless iteration for that case, so reduce overhead.
Change-Id: I43b57b61cf2434e659cd368d6166c65e2fbe9f39
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Mon, 8 Jan 2024 10:33:54 +0000 (10:33 +0000)]
[Tizen] Fixing static analysis error
The libturbojpeg library has been updated on the target, and there is
a new subsampling option available, which means the array we use for
testing is now too small.
Added an entry to this array for the new subsampling option. In
theory, this should just work, but as we don't set this variable,
there's nothing to test.
See
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/277590
for more details
Change-Id: I02bb90830d6d0969cafae635ceb6b1b6bc9c2e1a
Signed-off-by: David Steele <david.steele@samsung.com>
Bowon Ryu [Thu, 28 Dec 2023 06:11:40 +0000 (15:11 +0900)]
[Tizen] Fix ellipsis cache issue
If an ellipsis cache is not found in the mEllipsisCache,
the ellipsisCacheIndex value will always be zero.
This zero value is then stored in the item.index,
which is used to access the mEllipsisCache.
As a result, even if an ellipsis cache exists,
only the cache at index 0 is always used,
so an ellipsis glyph with a different font size from the actual font size may be rendered.
Change-Id: Iee15f1e320fd3f8ba73e035477ed13d7e49ee0ef
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Woochan Lee [Fri, 10 Nov 2023 07:12:43 +0000 (16:12 +0900)]
[Tizen][ATSPI] Introduce GetNodeInfo interface
A new interface for delivering entire information with on dbus method call.
Change-Id: Ic0f7189565375ffa53e1061e584215266ac12eef
Eunki, Hong [Mon, 8 Jan 2024 01:21:12 +0000 (10:21 +0900)]
[Tizen] Make PixelData flag that we release buffer after texture upload
Let we support to release pixel data memory automatically after upload finished.
And also, let we make new PixelBuffer::Convert API with this flag.
Change-Id: I9537da4d10a59bdb4c6cd12ea3d62463455399a3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 9 Jan 2024 03:38:26 +0000 (12:38 +0900)]
[Tizen] Fix build error for PROFILE_TV
Change-Id: I438f8f22361fd731b1e1b3fdc60cf9e6ba15b9e1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 9 Jan 2024 02:29:26 +0000 (11:29 +0900)]
[Tizen] Change PROFILE_TV to DALI_PROFILE_TV
Change-Id: I89fb191d79248a5d263c9f2bd6d3892d3ef7d8ae
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 8 Jan 2024 11:02:39 +0000 (20:02 +0900)]
[Tizen] Do not keep update when only FrameUpdateCallback execute for PROFILE_TV
For TV usecase, FrameUpdateCallback don't have any effort since NUI didn't bind it.
But there was some rendering issue during app paused.
To resolve it. let we don't run update/render thread only if FrameUpdateCallback
Executed case.
Change-Id: If35eb139fb629d8b67f64374aab535b83d510e77
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sun, 7 Jan 2024 00:50:10 +0000 (09:50 +0900)]
[Tizen] Fix miss implementation of hash salt
sizeof(T) return as byte. But previous hash function use it like bit.
Change-Id: Ia4378a0bb40aca4928a127be4e2adc6db1b84e7f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Hosang Kim [Wed, 23 Aug 2023 03:16:12 +0000 (12:16 +0900)]
[Tizen] Add null check on GetStates
Sometimes accessible parent is null, so add checking null.
Change-Id: I2b8edcc5fe8b5fae87ad9f813fa5f6922cbbd481
David Steele [Fri, 5 Jan 2024 11:42:04 +0000 (11:42 +0000)]
[Tizen] Fixing non-ecore X11 build
Change-Id: Ie2eadcc1b6937a29d82d401c06b47a770ea31303
Eunki, Hong [Thu, 4 Jan 2024 07:58:50 +0000 (16:58 +0900)]
[Tizen] Add trace when we downscale and crop bitmap
Change-Id: Ib79b3a277eefcb151c1cc445853f2198543f39c2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 4 Jan 2024 08:27:36 +0000 (17:27 +0900)]
[Tizen] Optimize downscale scanline for RGBA format
Each components of RGBA channel has uint8_t type. So we can
parallaly calculate each components of RGBA. It will increase
the speed of operation.
Change-Id: I3b738926b8a5d706844550a63cbc7256a7c3122f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Taehyub Kim [Thu, 4 Jan 2024 01:17:36 +0000 (10:17 +0900)]
[Tizen] Intersection logic has been modified to allow boundary of drop targets
Change-Id: I40d8731cd564191db67f9fc36a9256416541f64c
David Steele [Wed, 20 Dec 2023 10:24:26 +0000 (10:24 +0000)]
[Tizen] Updated key handling for x11 adaptor
Fixed build error with latest key handling
Fixed keyboard modifiers to work consistently with other profiles
Change-Id: Ic21876922beed25847a89e1332e36d6aced3aafc
Artur Świgoń [Tue, 2 Jan 2024 09:57:57 +0000 (10:57 +0100)]
[AT-SPI] Emit fewer BoundsChanged events for Window
1. Check whether the window geometry has really changed before emitting events.
2. Also check Accessibility::IsUp() beforehand. This condition is also checked
internally by EmitBoundsChanged(), but too much of the Accessibility D-Bus
infrastructure will have to be initialized before reaching that point in the
code, and this initialization is not always needed, e.g. during early
application initialization.
Change-Id: I9c3898812380a4d98a0adcbe56445e6af31bf465
(cherry picked from commit
0f54ce22bb81adbcb55c4b2e07f546d80d8c8e22)
seungho baek [Thu, 26 Oct 2023 09:16:32 +0000 (18:16 +0900)]
[Tizen] Fixed Cache for AnimatedVectorImageVisual
Change-Id: I75e21fae0ca9e2561dd08f66e05ff590d2c898fc
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
ANZ1217 [Fri, 22 Dec 2023 05:38:29 +0000 (14:38 +0900)]
[Tizen] Add LocaleChangedSignal
LocaleChangedSignal is a signal that works when the system locale is changed.
To solve the problem that the default font does not change when changing the system language, clear the cache of fontClient and emit LocaleChangedSignal.
Change-Id: Ic543b9fc250ccf88cd460fe08da6b5fd2c008987
Eunki Hong [Thu, 21 Dec 2023 13:52:23 +0000 (22:52 +0900)]
[Tizen] Use trace macro with message generator function
Change-Id: I928e5214afd5506f378fd2dddfe0939c728076b5
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sat, 30 Dec 2023 14:31:47 +0000 (23:31 +0900)]
[Tizen] Create NativeImageQueue with the number of queue
Add new API that user can control the tbm_queue queue count.
It will be useful when we don't want to create 3 size of tbm_queue.
Change-Id: I4e1e5cbcb303411da5e45ffc5b1f42d26df90275
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
seungho baek [Tue, 2 Jan 2024 01:48:58 +0000 (10:48 +0900)]
[Tizen] Prevent to decode png when the pixel buffer cannot be created
Change-Id: Ibf86d02ae4f55590d6f021ac9ebc27b0cfe516fc
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Eunki, Hong [Thu, 28 Dec 2023 05:27:01 +0000 (14:27 +0900)]
[Tizen] Remove guard codes for memory corruption
Change-Id: Ib40b615996b7a970dcc08ea9d06b698a5586a7e9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 28 Dec 2023 04:37:15 +0000 (13:37 +0900)]
[Tizen] Ensure to check whether task need to callback or not
There was short-term to unlock the mRunningTasksMutex.
If main thread Remove the running task (mean, cancel) during
that mutex unlocked, we just keep know that
this task need to execute callback.
So, we need to check for notify or not only for lottie cases,
and check main thread callback required one more time for main thread cases.
Change-Id: I8e6bdcdf4b8bf290a23b5b8e3fdb1821db26d393
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
joogab.yun [Tue, 19 Dec 2023 10:48:26 +0000 (19:48 +0900)]
[Tizen] Add Get/Set native window id on SceneHoder and Window
Change-Id: I355ef2207dcbb386ab29ee237d14bfc860a65791
Eunki, Hong [Wed, 27 Dec 2023 00:38:27 +0000 (09:38 +0900)]
[Tizen] Do not skip rendering if update required keep rendering
Change-Id: I50e52c76bf32da6246eed081e6cc94b5d8ecb2a2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 20 Dec 2023 13:52:54 +0000 (22:52 +0900)]
[Tizen] Increase percentage of scanline halves average optimization
Add more logs why we reinterpret_cast only if pointer address is matched.
And also, allow uin32_t cases, not only for uint64_t, to increase portential
of optimized works.
And also, let we calculate padding components, so we don't see SIGBUG error
and also increase percentage of multi-step average.
Change-Id: Ib8cfc1a75aa588ebc02521ed645f6a74174a8bde
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki Hong [Wed, 20 Dec 2023 22:56:35 +0000 (07:56 +0900)]
[Tizen] Change VAO hash value function
Since std::hash<uint32_t>{}(i); just return itself,
we need to make some other method to calculate hash of location.
For example, 0 location doesn't have any mean.
and location with 1, 3 will collision as location 2.
To avoid this hash collision, let we change some hash generate method.
v = i + 1;
hash += v << 24;
v *= v;
v ^= i;
hash += v << 16;
v *= v;
hash += v;
Note that if we skip v ^= i; operation, collision occured when location is
near 13.
Change-Id: Ie081d9a5e8895988ca7183dfc860176b69c4e337
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 20 Dec 2023 08:23:51 +0000 (17:23 +0900)]
[Tizen] Add some logs for SVG rasterize task for debug
Change-Id: Ifb10ff1ae75a086393e6ad9e3c90abe51797d8e5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 19 Dec 2023 03:16:29 +0000 (12:16 +0900)]
[Tizen] Print the name of AsyncTask when we execute it
Get the name of AsyncTask what we are processing now, for debug.
Change-Id: Ibffb92e281ce4c94f8e7bf4f5a1bf4a6d7481d14
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Wed, 13 Dec 2023 10:30:28 +0000 (19:30 +0900)]
[Tizen] Discard deleted VAO at matched context
Since InvalidateCachedPipeline() can be called not for currented context,
we should not call gl.DeleteVertexArrays() that timming.
Instead, let we keep discarded VAO items, and then delete them immediately,
if we call BindProgramVAO, where we can assume that the context is current.
Change-Id: Iac417a862e68bc5503e843a0c27cae98cebee5b0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 12 Dec 2023 04:20:11 +0000 (13:20 +0900)]
[Tizen] Fix rendering occured unlimited if window size changed multiple
To support multi window cases, dali-adaptor count how many times
the window resize event occured.
But in dali-core scene has only bool flag.
So if scene changed multiple times during 1 render time,
surface resized count never be reduced as zero.
So it will keep rendering unlimited.
This patch make we return the number of surface rect changed,
so dali-adaptor can control the scene changed count well.
Change-Id: Ic19ede6ba5095af74ae2db33d37403285cf28a19
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
David Steele [Tue, 12 Dec 2023 16:00:36 +0000 (16:00 +0000)]
[Tizen] Updating non-ecore X window-system with new API
Change-Id: I455f960b088ac0d99dcf2af9d3caff10cfb31688
Taehyub Kim [Tue, 12 Dec 2023 09:44:17 +0000 (18:44 +0900)]
[Tizen] DragAndDrop : Allow to get mimetype for Enter and Move events
Change-Id: Icad11ce8bcb4f49fe9cc83a8e9dfd543d1d7092a
joogab.yun [Wed, 15 Nov 2023 06:27:54 +0000 (15:27 +0900)]
[Tizen] Add SetGeometryHittestEnabled and IsGeometryHittestEnabled
This API sets the propagation way for touch and hover events.
If set to true, touch and hover are propagated in a geometry way
Change-Id: I0fd1402f7d533cdaa5d2e5586668243fd53caf43
Wonsik Jung [Fri, 8 Dec 2023 06:17:53 +0000 (15:17 +0900)]
[Tizen] Add the debugging log for window's event.
Add the debugging log for window's event who is from ECore.
It is for Tizen platform world.
Change-Id: I600e75fd951824a13c219331386c4d1d362c0b49
Eunki, Hong [Wed, 6 Dec 2023 07:49:34 +0000 (16:49 +0900)]
[Tizen] Do not running same tasks at multiple threads.
Let we make to do not execute same tasks at multiple threads
at the same timing.
It will make sure that we can control AsyncTask::Process API works
more thread-safety.
Change-Id: I5986c4a683a61ba03b2737d201fc5e7d602fc9de
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Thu, 7 Dec 2023 06:23:02 +0000 (15:23 +0900)]
[Tizen] Allow to add idler even if adaptor paused
Let we install idler function even if Adaptor is paused.
Since the Adaptor pause state depend on by Windows visibility, not app state,
Application::AddIdle() API usage make some confused.
For example, We cannot call AddIdle() at Application::OnResume callback
because the Window::OnIconifyChanged signal still not comed.
To avoid it, let we just allow Idler function add even Adator is paused.
Change-Id: I943ef76d4e759e282675fbcbc06f0a87d95e9fea
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Tue, 5 Dec 2023 16:36:39 +0000 (16:36 +0000)]
[Tizen] Fixed SVACE errors
Change-Id: Idf920c3e39dceca7b34d2eedd8a875f9330739a9
Eunki, Hong [Fri, 1 Dec 2023 02:34:51 +0000 (11:34 +0900)]
[Tizen] Allow to use LifecycleController for OffscreenApplication
Some OffscreenApplication have some usage for LifecycleController signal.
But previously, we didn't attach this signal for app lifecycle correctly.
Now let we connect it so we can know the app's lifecycle
Change-Id: I75a2757ea17fcf6e21041302923b83b5964a3a83
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 27 Nov 2023 06:14:03 +0000 (15:14 +0900)]
[Tizen] Unified the way to load wbmp file
Let we print same error log if we try to load wbmp file header, or file itself.
Change-Id: I59f3c42f2d7f99e4146511042bdd98ab9b48fd1d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Tue, 28 Nov 2023 02:44:48 +0000 (11:44 +0900)]
[Tizen] Print warning message when download size is zero
Change-Id: If65c03869d5cf841682af60d8a3c3cd9024b3656
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
sunghyun kim [Thu, 21 Sep 2023 05:59:54 +0000 (14:59 +0900)]
[Tizen] Apply Precompile shader
Change-Id: I76880c50206efe8d63c8fa94b51e98c48018a71b
Eunki, Hong [Tue, 21 Nov 2023 06:28:04 +0000 (15:28 +0900)]
[Tizen] Ensure to check GLES::ShaderImpl when we found GLES:ProgramImpl
Previously, We only consider 1 Graphis::Shader per 1 shader codes.
But for now, we allow to use multiple Graphics::Shader per 1 shader code,
by cache GLES::ShaderImpl system.
But we check Graphics::Shader pointer when we found cached ProgramImpl for now.
It will make some unneccessary glLinkProgram call when Graphics::Shader cache
miss occured.
To resolve it, let we cache GLES::Shader wrapper instead of Graphics::Shader.
And compare with the pointer of GLES::ShaderImpl.
Change-Id: I0681cb96448c75a7d6841011c49803329ed3116d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki, Hong [Mon, 27 Nov 2023 05:07:23 +0000 (14:07 +0900)]
[Tizen] Fix typo error when we print curl error message
Change-Id: I1581a2d33dab63754c71f805e44b4d306d65a7b2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
ANZ1217 [Wed, 22 Nov 2023 07:22:00 +0000 (16:22 +0900)]
[Tizen] Add RemoveSystemInformation to remove callback
Change-Id: Ic213788d60d14906d865e750333e5c9b57df8bf9