platform/core/uifw/dali-adaptor.git
10 months agoAdded direct injection of native draw command into DALi pipeline. 90/305990/7
Adam Bialogonski [Wed, 14 Feb 2024 14:36:15 +0000 (14:36 +0000)]
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

10 months agoMerge "Ignore glTexImage2D if we know given texture is already discarded" into devel...
Eunki Hong [Mon, 19 Feb 2024 02:50:50 +0000 (02:50 +0000)]
Merge "Ignore glTexImage2D if we know given texture is already discarded" into devel/master

10 months agoMerge "(gles-sync-pool.cpp) Fixed some SVACE errors" into devel/master
Adeel Kazmi [Fri, 16 Feb 2024 15:13:12 +0000 (15:13 +0000)]
Merge "(gles-sync-pool.cpp) Fixed some SVACE errors" into devel/master

10 months agoMerge "DALi Version 2.3.11" into devel/master
David Steele [Fri, 16 Feb 2024 11:13:07 +0000 (11:13 +0000)]
Merge "DALi Version 2.3.11" into devel/master

10 months agoDALi Version 2.3.11 62/306162/1 dali_2.3.11
Richard Huang [Fri, 16 Feb 2024 11:02:19 +0000 (11:02 +0000)]
DALi Version 2.3.11

Change-Id: I2d1201a38c7d16473ba47f70151aca38076df290

10 months ago(gles-sync-pool.cpp) Fixed some SVACE errors 59/306159/1
Adeel Kazmi [Fri, 16 Feb 2024 10:55:07 +0000 (10:55 +0000)]
(gles-sync-pool.cpp) Fixed some SVACE errors

Change-Id: Ib38d4ce2993f676894f70b70ce68336b7bc8b909

10 months agoMerge "Support to get shader language version" into devel/master
Eunki Hong [Fri, 16 Feb 2024 07:17:30 +0000 (07:17 +0000)]
Merge "Support to get shader language version" into devel/master

10 months agoIgnore glTexImage2D if we know given texture is already discarded 32/306032/1
Eunki, Hong [Thu, 15 Feb 2024 08:32:10 +0000 (17:32 +0900)]
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>
10 months agoChanged FBOs to use EglSync 55/305855/9
David Steele [Wed, 7 Feb 2024 11:46:13 +0000 (11:46 +0000)]
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).

Change-Id: I64eaf82c5203e6acb6e0fc76b0f0e36136defcdf

10 months agoMerge changes I784ba99d,Ieaaeab17 into devel/master
Eunki Hong [Wed, 14 Feb 2024 06:37:32 +0000 (06:37 +0000)]
Merge changes I784ba99d,Ieaaeab17 into devel/master

* changes:
  Add precompiled shader names
  Add program name and print it

10 months agoAdded DS-5 Streamline tracing support 38/305838/3
Adeel Kazmi [Thu, 8 Feb 2024 14:23:44 +0000 (14:23 +0000)]
Added DS-5 Streamline tracing support

Change-Id: I2086a5db94ba7baedf12a73e3c44d98a1c5b25c6

10 months agoDALi Version 2.3.10 43/305843/1 dali_2.3.10
Adeel Kazmi [Fri, 9 Feb 2024 10:11:46 +0000 (10:11 +0000)]
DALi Version 2.3.10

Change-Id: Ic0e497a28d45d3f59081e668bfdbcdfd6cabcee3

10 months agoFix SVACE errors in various files 68/305768/1
Adeel Kazmi [Wed, 7 Feb 2024 12:02:08 +0000 (12:02 +0000)]
Fix SVACE errors in various files

Change-Id: Id61fd85f7f03e4650fa3746f412b70d248618b80

10 months agoAdd precompiled shader names 05/305605/4
Eunki, Hong [Mon, 5 Feb 2024 09:05:11 +0000 (18:05 +0900)]
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>
10 months agoAdd program name and print it 12/305512/6
Eunki, Hong [Fri, 2 Feb 2024 10:14:19 +0000 (19:14 +0900)]
Add program name and print it

Change-Id: Ieaaeab17a008882ce922b98a7ac7cb6285381adc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
10 months agoSVACE fix in gles-graphics-program.cpp 96/305696/1
Adeel Kazmi [Tue, 6 Feb 2024 10:25:32 +0000 (10:25 +0000)]
SVACE fix in gles-graphics-program.cpp

Change-Id: Ib7def5a0dd0a5a59c33f49edaaa072ad20e80f92

10 months agoSupport to get shader language version 38/305638/2
Eunki, Hong [Mon, 5 Feb 2024 14:50:10 +0000 (23:50 +0900)]
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>
10 months agoMerge "SVACE fix in gles-graphics-texture.cpp" into devel/master
Adeel Kazmi [Mon, 5 Feb 2024 14:46:22 +0000 (14:46 +0000)]
Merge "SVACE fix in gles-graphics-texture.cpp" into devel/master

10 months agoSupport gles2.0 device also use BuildUniformBlockReflection() API 26/305626/2
Eunki, Hong [Mon, 5 Feb 2024 11:49:06 +0000 (20:49 +0900)]
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>
10 months agoSVACE fix in gles-graphics-texture.cpp 20/305620/1
Adeel Kazmi [Mon, 5 Feb 2024 10:46:48 +0000 (10:46 +0000)]
SVACE fix in gles-graphics-texture.cpp

Change-Id: I3d236da3346bb9413d2a0a096b2b2ea4eec21143

10 months agoRemoval of EglContextHelper 44/305444/2
David Steele [Thu, 1 Feb 2024 15:08:44 +0000 (15:08 +0000)]
Removal of EglContextHelper

Change-Id: I5a9408e2406bacf7327b9607c0aeacf6f9d21031

10 months agoMerge "Updates to remove old temporary graphics APIs" into devel/master
David Steele [Fri, 2 Feb 2024 16:42:44 +0000 (16:42 +0000)]
Merge "Updates to remove old temporary graphics APIs" into devel/master

10 months agoMerge "Cleaned up some of the circular dependency between GLES::Context & GLES::Graph...
Adeel Kazmi [Fri, 2 Feb 2024 14:53:32 +0000 (14:53 +0000)]
Merge "Cleaned up some of the circular dependency between GLES::Context & GLES::GraphicsController" into devel/master

10 months agoDALi Version 2.3.9 98/305498/1 dali_2.3.9
Adam Bialogonski [Fri, 2 Feb 2024 09:58:14 +0000 (09:58 +0000)]
DALi Version 2.3.9

Change-Id: I7de8868c4e81543bc99a3768915d5000164b59b3

10 months agoCleaned up some of the circular dependency between GLES::Context & GLES::GraphicsCont... 28/305428/4
Adeel Kazmi [Thu, 1 Feb 2024 11:51:11 +0000 (11:51 +0000)]
Cleaned up some of the circular dependency between GLES::Context & GLES::GraphicsController

Change-Id: I45284910682d4aad2abbbd3ba65b3c32e87eba8f

10 months agoUpdates to remove old temporary graphics APIs 57/305357/2
David Steele [Wed, 31 Jan 2024 19:01:49 +0000 (19:01 +0000)]
Updates to remove old temporary graphics APIs

Change-Id: I36a057e8eb4d5615a92394fb19c094c87b22c190

10 months agoMerge "[AT-SPI] Fix signature of ScrollStarted/ScrollFinished interface." into devel...
kim hosang [Thu, 1 Feb 2024 11:25:23 +0000 (11:25 +0000)]
Merge "[AT-SPI] Fix signature of ScrollStarted/ScrollFinished interface." into devel/master

10 months agoAdd null checking after getting mimetype 96/305396/2
Taehyub Kim [Thu, 1 Feb 2024 06:27:55 +0000 (15:27 +0900)]
Add null checking after getting mimetype

Change-Id: Iddaa129244b729741cdc9f3bcb895d0e239fd95e

10 months agoAllow to ignore Vsync rendering by environment 44/305144/3
Eunki, Hong [Mon, 29 Jan 2024 08:02:53 +0000 (17:02 +0900)]
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>
10 months agoDALi Version 2.3.8 93/305093/1 dali_2.3.8
David Steele [Fri, 26 Jan 2024 10:20:58 +0000 (10:20 +0000)]
DALi Version 2.3.8

Change-Id: I31a35015487573296af9a0d64b71751e169390c3

10 months agoMerge "Trace and print Timer tick signal" into devel/master
Eunki Hong [Wed, 24 Jan 2024 05:13:55 +0000 (05:13 +0000)]
Merge "Trace and print Timer tick signal" into devel/master

11 months agoMerge "Add trace marker for some EGL CONTROLLER Render case" into devel/master
David Steele [Tue, 23 Jan 2024 16:12:39 +0000 (16:12 +0000)]
Merge "Add trace marker for some EGL CONTROLLER Render case" into devel/master

11 months agoCall idle functions what we might be failed to add 64/304664/2
Eunki, Hong [Tue, 23 Jan 2024 03:42:36 +0000 (12:42 +0900)]
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>
11 months agoTrace and print Timer tick signal 18/304618/1
Eunki, Hong [Mon, 22 Jan 2024 05:27:34 +0000 (14:27 +0900)]
Trace and print Timer tick signal

Change-Id: Iaea503677af2499ca0c6dc479c58de51da856f8d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoAdd trace marker for some EGL CONTROLLER Render case 37/304437/4
Eunki, Hong [Wed, 17 Jan 2024 08:47:02 +0000 (17:47 +0900)]
Add trace marker for some EGL CONTROLLER Render case

Make trace don't wait sleep + Print more logs when we trace EGL

Change-Id: Id4894c99c2c525c82b716625e52fc5e29a5cf00a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoMerge "DALi Version 2.3.7" into devel/master
Adeel Kazmi [Fri, 19 Jan 2024 10:18:19 +0000 (10:18 +0000)]
Merge "DALi Version 2.3.7" into devel/master

11 months agoMerge "Prevents writing array uniforms with out-of-bound indices and accidental overw...
Adeel Kazmi [Fri, 19 Jan 2024 10:07:38 +0000 (10:07 +0000)]
Merge "Prevents writing array uniforms with out-of-bound indices and accidental overwrite of next uniform." into devel/master

11 months agoDALi Version 2.3.7 54/304554/1 dali_2.3.7
Adam Bialogonski [Fri, 19 Jan 2024 09:52:20 +0000 (09:52 +0000)]
DALi Version 2.3.7

Change-Id: Idd057b5aacfc97869f231d812374c65d713e0e9d

11 months agoMerge "[ATSPI] Introduce GetMatchesInMatches API" into devel/master
woochan lee [Fri, 19 Jan 2024 09:09:56 +0000 (09:09 +0000)]
Merge "[ATSPI] Introduce GetMatchesInMatches API" into devel/master

11 months agoPrevents writing array uniforms with out-of-bound indices and accidental overwrite... 79/304179/2
Adam Bialogonski [Thu, 11 Jan 2024 11:03:59 +0000 (11:03 +0000)]
Prevents writing array uniforms with out-of-bound indices and accidental overwrite of next uniform.

Change-Id: I3a90c54759159b7ac3a448a4694caa7047765c40

11 months agoMerge "Support YUV format desired size downsampling" into devel/master
Eunki Hong [Mon, 15 Jan 2024 07:23:02 +0000 (07:23 +0000)]
Merge "Support YUV format desired size downsampling" into devel/master

11 months agoSupport YUV format desired size downsampling 68/304268/1
Eunki, Hong [Mon, 15 Jan 2024 05:31:17 +0000 (14:31 +0900)]
Support YUV format desired size downsampling

Change-Id: I0dc982af4a18488b3f9da740e8c969034ebbf692
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoMerge "Optimize NativeImageSourceQueue rendering time" into devel/master
Eunki Hong [Mon, 15 Jan 2024 04:49:52 +0000 (04:49 +0000)]
Merge "Optimize NativeImageSourceQueue rendering time" into devel/master

11 months agoDALi Version 2.3.6 34/304234/1 dali_2.3.6
Richard Huang [Fri, 12 Jan 2024 11:16:36 +0000 (11:16 +0000)]
DALi Version 2.3.6

Change-Id: I3287f5263e9b672fae05d9d347455362a987dcae

11 months agoOptimize NativeImageSourceQueue rendering time 49/304149/2
Eunki, Hong [Wed, 10 Jan 2024 20:35:05 +0000 (05:35 +0900)]
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>
11 months ago[AT-SPI] Fix signature of ScrollStarted/ScrollFinished interface. 36/304136/1
Hosang Kim [Wed, 10 Jan 2024 12:02:44 +0000 (21:02 +0900)]
[AT-SPI] Fix signature of ScrollStarted/ScrollFinished interface.

AT-SPI event is only transmitted when the D-Bus signature is siiv (so) or siiva{sv}.
So fix signature of ScrollStarted and ScrollFinshed event.

Change-Id: I8e0a7107f86dfee3032fcce688eb687d4abab618

11 months agoFix svace issue 89/304089/1
jmm [Wed, 10 Jan 2024 03:44:29 +0000 (12:44 +0900)]
Fix svace issue

Change-Id: I86bf7507e4e2ddf7f360ac18856636466275ba05

11 months agoMerge "Fix svace issue when TJ_SUBSAMP is bigger than 7" into devel/master
Adeel Kazmi [Tue, 9 Jan 2024 15:03:36 +0000 (15:03 +0000)]
Merge "Fix svace issue when TJ_SUBSAMP is bigger than 7" into devel/master

11 months agoMerge "Make PixelData flag that we release buffer after texture upload" into devel...
Eunki Hong [Tue, 9 Jan 2024 03:32:23 +0000 (03:32 +0000)]
Merge "Make PixelData flag that we release buffer after texture upload" into devel/master

11 months agoMerge "[ATSPI] Introduce GetNodeInfo interface" into devel/master
woochan lee [Tue, 9 Jan 2024 01:14:50 +0000 (01:14 +0000)]
Merge "[ATSPI] Introduce GetNodeInfo interface" into devel/master

11 months agoFix svace issue when TJ_SUBSAMP is bigger than 7 43/303943/4
Eunki, Hong [Mon, 8 Jan 2024 08:31:17 +0000 (17:31 +0900)]
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>
11 months agoMake PixelData flag that we release buffer after texture upload 15/303915/2
Eunki, Hong [Mon, 8 Jan 2024 01:21:12 +0000 (10:21 +0900)]
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>
11 months agoFixing static analysis error 58/303958/1
David Steele [Mon, 8 Jan 2024 10:33:54 +0000 (10:33 +0000)]
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>
11 months agoMerge "Fix ellipsis cache issue" into devel/master
Bowon Ryu [Mon, 8 Jan 2024 09:03:13 +0000 (09:03 +0000)]
Merge "Fix ellipsis cache issue" into devel/master

11 months agoMerge "Add null check on GetStates" into devel/master
kim hosang [Mon, 8 Jan 2024 06:40:14 +0000 (06:40 +0000)]
Merge "Add null check on GetStates" into devel/master

11 months agoFix ellipsis cache issue 69/303469/3
Bowon Ryu [Thu, 28 Dec 2023 06:11:40 +0000 (15:11 +0900)]
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>
11 months agoFix miss implementation of hash salt 47/303847/1
Eunki Hong [Sun, 7 Jan 2024 00:50:10 +0000 (09:50 +0900)]
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>
11 months agoFixing non-ecore X11 build 42/303842/1
David Steele [Fri, 5 Jan 2024 11:42:04 +0000 (11:42 +0000)]
Fixing non-ecore X11 build

Change-Id: Ie2eadcc1b6937a29d82d401c06b47a770ea31303

11 months agoDALi Version 2.3.5 31/303831/1 dali_2.3.5
David Steele [Fri, 5 Jan 2024 10:42:45 +0000 (10:42 +0000)]
DALi Version 2.3.5

Change-Id: Id165da9811a030b4678fb022e6f10ad9a6aac283

11 months agoMerge "Add trace when we downscale and crop bitmap" into devel/master
Eunki Hong [Thu, 4 Jan 2024 12:50:42 +0000 (12:50 +0000)]
Merge "Add trace when we downscale and crop bitmap" into devel/master

11 months agoMerge "Optimize downscale scanline for RGBA format" into devel/master
Eunki Hong [Thu, 4 Jan 2024 11:14:11 +0000 (11:14 +0000)]
Merge "Optimize downscale scanline for RGBA format" into devel/master

11 months agoMerge "Create NativeImageQueue with the number of queue" into devel/master
Eunki Hong [Thu, 4 Jan 2024 10:11:46 +0000 (10:11 +0000)]
Merge "Create NativeImageQueue with the number of queue" into devel/master

11 months agoOptimize downscale scanline for RGBA format 51/303751/1
Eunki, Hong [Thu, 4 Jan 2024 08:27:36 +0000 (17:27 +0900)]
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>
11 months agoAdd trace when we downscale and crop bitmap 48/303748/3
Eunki, Hong [Thu, 4 Jan 2024 07:58:50 +0000 (16:58 +0900)]
Add trace when we downscale and crop bitmap

Change-Id: Ib79b3a277eefcb151c1cc445853f2198543f39c2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoIntersection logic has been modified to allow boundary of drop targets 22/303722/1
Taehyub Kim [Thu, 4 Jan 2024 01:17:36 +0000 (10:17 +0900)]
Intersection logic has been modified to allow boundary of drop targets

Change-Id: I40d8731cd564191db67f9fc36a9256416541f64c

11 months agoUpdated key handling for x11 adaptor 51/303151/2
David Steele [Wed, 20 Dec 2023 10:24:26 +0000 (10:24 +0000)]
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

11 months ago[AT-SPI] Emit fewer BoundsChanged events for Window 79/303579/2
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

11 months agoMerge "Prevent to decode png when the pixel buffer cannot be created" into devel...
Seungho BAEK [Tue, 2 Jan 2024 07:57:33 +0000 (07:57 +0000)]
Merge "Prevent to decode png when the pixel buffer cannot be created" into devel/master

11 months agoCreate NativeImageQueue with the number of queue 23/303523/4
Eunki Hong [Sat, 30 Dec 2023 14:31:47 +0000 (23:31 +0900)]
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>
11 months agoDo not trace during process 36/303536/1
Eunki, Hong [Tue, 2 Jan 2024 04:16:37 +0000 (13:16 +0900)]
Do not trace during process

Since we already print logs during some critical async task running, it was
some useless print logs. Let we remove it.

Change-Id: If4ab42c470d644fdb43e39c9b516c6c7ce338b02
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
11 months agoPrevent to decode png when the pixel buffer cannot be created 29/303529/3
seungho baek [Tue, 2 Jan 2024 01:48:58 +0000 (10:48 +0900)]
Prevent to decode png when the pixel buffer cannot be created

Change-Id: Ibf86d02ae4f55590d6f021ac9ebc27b0cfe516fc
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
11 months agoMerge "Fixed Cache for AnimatedVectorImageVisual" into devel/master
sunghyun kim [Fri, 29 Dec 2023 07:12:18 +0000 (07:12 +0000)]
Merge "Fixed Cache for AnimatedVectorImageVisual" into devel/master

11 months agoMerge "Add LocaleChangedSignal" into devel/master
Chihun Jeong [Fri, 29 Dec 2023 03:22:49 +0000 (03:22 +0000)]
Merge "Add LocaleChangedSignal" into devel/master

11 months agoFixed Cache for AnimatedVectorImageVisual 11/300511/4
seungho baek [Thu, 26 Oct 2023 09:16:32 +0000 (18:16 +0900)]
Fixed Cache for AnimatedVectorImageVisual

Change-Id: I75e21fae0ca9e2561dd08f66e05ff590d2c898fc
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
11 months agoMerge "Ensure to check whether task need to callback or not" into devel/master
Eunki Hong [Thu, 28 Dec 2023 05:56:32 +0000 (05:56 +0000)]
Merge "Ensure to check whether task need to callback or not" into devel/master

11 months agoEnsure to check whether task need to callback or not 58/303458/1
Eunki, Hong [Thu, 28 Dec 2023 04:37:15 +0000 (13:37 +0900)]
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>
11 months agoAdd LocaleChangedSignal 09/303109/11
ANZ1217 [Fri, 22 Dec 2023 05:38:29 +0000 (14:38 +0900)]
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

11 months agoUse trace macro with message generator function 22/303222/2
Eunki Hong [Thu, 21 Dec 2023 13:52:23 +0000 (22:52 +0900)]
Use trace macro with message generator function

Change-Id: I928e5214afd5506f378fd2dddfe0939c728076b5
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
11 months agoMerge "Add Get/Set native window id on SceneHoder and Window" into devel/master
joogab yun [Wed, 27 Dec 2023 01:19:01 +0000 (01:19 +0000)]
Merge "Add Get/Set native window id on SceneHoder and Window" into devel/master

11 months agoAdd Get/Set native window id on SceneHoder and Window 55/303055/8
joogab.yun [Tue, 19 Dec 2023 10:48:26 +0000 (19:48 +0900)]
Add Get/Set native window id on SceneHoder and Window

Change-Id: I355ef2207dcbb386ab29ee237d14bfc860a65791

12 months agoMerge "Increase percentage of scanline halves average optimization" into devel/master
Adeel Kazmi [Fri, 22 Dec 2023 12:47:13 +0000 (12:47 +0000)]
Merge "Increase percentage of scanline halves average optimization" into devel/master

12 months agoMerge "Change VAO hash value function" into devel/master
Adeel Kazmi [Fri, 22 Dec 2023 12:45:18 +0000 (12:45 +0000)]
Merge "Change VAO hash value function" into devel/master

12 months agoDALi Version 2.3.4 76/303276/1 dali_2.3.4
Adeel Kazmi [Fri, 22 Dec 2023 11:27:20 +0000 (11:27 +0000)]
DALi Version 2.3.4

Change-Id: Ibaa52b91b9a3bff2dce14e8534259764229bbcb7

12 months agoChange VAO hash value function 58/303158/2
Eunki Hong [Wed, 20 Dec 2023 22:56:35 +0000 (07:56 +0900)]
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>
12 months agoIncrease percentage of scanline halves average optimization 55/303155/1
Eunki Hong [Wed, 20 Dec 2023 13:52:54 +0000 (22:52 +0900)]
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>
12 months ago[ATSPI] Introduce GetMatchesInMatches API 19/302119/7
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

12 months agoPrint the name of AsyncTask when we execute it 24/303024/2
Eunki, Hong [Tue, 19 Dec 2023 03:16:29 +0000 (12:16 +0900)]
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>
12 months ago[ATSPI] Introduce GetNodeInfo interface 43/302043/2
Woochan Lee [Fri, 10 Nov 2023 07:12:43 +0000 (16:12 +0900)]
[ATSPI] Introduce GetNodeInfo interface

A new interface for delivering entire information with on dbus method call.

Change-Id: Ic0f7189565375ffa53e1061e584215266ac12eef

12 months agoDALi Version 2.3.3 14/302914/1 dali_2.3.3
Adeel Kazmi [Fri, 15 Dec 2023 10:22:57 +0000 (10:22 +0000)]
DALi Version 2.3.3

Change-Id: Iee7c08b6dd74d0216b41e9424d0c795d975e9572

12 months agoMerge "Discard deleted VAO at matched context" into devel/master
David Steele [Thu, 14 Dec 2023 14:21:36 +0000 (14:21 +0000)]
Merge "Discard deleted VAO at matched context" into devel/master

12 months agoFix rendering occured unlimited if window size changed multiple 79/302679/7
Eunki, Hong [Tue, 12 Dec 2023 04:20:11 +0000 (13:20 +0900)]
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>
12 months agoDiscard deleted VAO at matched context 80/302780/3
Eunki, Hong [Wed, 13 Dec 2023 10:30:28 +0000 (19:30 +0900)]
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>
12 months agoMerge "Updating non-ecore X window-system with new API" into devel/master
David Steele [Wed, 13 Dec 2023 15:15:20 +0000 (15:15 +0000)]
Merge "Updating non-ecore X window-system with new API" into devel/master

12 months agoUpdating non-ecore X window-system with new API 23/302723/1
David Steele [Tue, 12 Dec 2023 16:00:36 +0000 (16:00 +0000)]
Updating non-ecore X window-system with new API

Change-Id: I455f960b088ac0d99dcf2af9d3caff10cfb31688

12 months agoDragAndDrop : Allow to get mimetype for Enter and Move events 09/302709/1
Taehyub Kim [Tue, 12 Dec 2023 09:44:17 +0000 (18:44 +0900)]
DragAndDrop : Allow to get mimetype for Enter and Move events

Change-Id: Icad11ce8bcb4f49fe9cc83a8e9dfd543d1d7092a

12 months agoAdd null check on GetStates 03/297703/5
Hosang Kim [Wed, 23 Aug 2023 03:16:12 +0000 (12:16 +0900)]
Add null check on GetStates

Sometimes accessible parent is null, so add checking null.

Change-Id: I2b8edcc5fe8b5fae87ad9f813fa5f6922cbbd481

12 months agoMerge "Add SetGeometryHittestEnabled and IsGeometryHittestEnabled" into devel/master
joogab yun [Tue, 12 Dec 2023 01:05:16 +0000 (01:05 +0000)]
Merge "Add SetGeometryHittestEnabled and IsGeometryHittestEnabled" into devel/master

12 months agoMerge "Add the debugging log for window's event." into devel/master
Wonsik Jung [Mon, 11 Dec 2023 07:42:39 +0000 (07:42 +0000)]
Merge "Add the debugging log for window's event." into devel/master

12 months agoMerge "DALi Version 2.3.2" into devel/master
Adeel Kazmi [Fri, 8 Dec 2023 11:24:34 +0000 (11:24 +0000)]
Merge "DALi Version 2.3.2" into devel/master

12 months agoDALi Version 2.3.2 59/302559/1 dali_2.3.2
Adam Bialogonski [Fri, 8 Dec 2023 11:06:07 +0000 (11:06 +0000)]
DALi Version 2.3.2

Change-Id: Id7d327001d3dfcb1261ceba75b9eaf537a28dc78