platform/core/uifw/dali-adaptor.git
4 months agoLogged Vulkan version information on startup 91/316191/2
David Steele [Wed, 14 Aug 2024 15:30:24 +0000 (16:30 +0100)]
Logged Vulkan version information on startup

Change-Id: I23634f86e9988f8760c079425898e97e82613502

4 months agoMerge "Async text feature" into devel/master
Bowon Ryu [Wed, 14 Aug 2024 10:03:21 +0000 (10:03 +0000)]
Merge "Async text feature" into devel/master

4 months agoEnsure strncmp compare include null-terminate char 86/316086/4
Eunki, Hong [Tue, 13 Aug 2024 10:48:34 +0000 (19:48 +0900)]
Ensure strncmp compare include null-terminate char

If we use n-paramater of strncmp as strlen, it will check only
Prefix of string.

For example,
char a[] = "asdf";
char b[] = "as";

then, strncmp(a, b, strlen(b)) will return 0, even if a and b is not equal.

To avoid this kind of problem, let we ensurely check end of comparitor is
delim or not.

Change-Id: I681cded5a85252f4b882ec480d1c4bc961d2c9a2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoAsync text feature 60/315160/5
Bowon Ryu [Fri, 26 Jul 2024 00:55:14 +0000 (09:55 +0900)]
Async text feature

Please refer to devel/async_text for detailed history/logs of each patch.

[Related patches]
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/315140/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/315818/

Change-Id: I99c056c1233fd1a019f9aa94292ad39bce073403
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months agoMerge "Print more detail logs if image load failed" into devel/master
Eunki Hong [Tue, 13 Aug 2024 06:11:38 +0000 (06:11 +0000)]
Merge "Print more detail logs if image load failed" into devel/master

4 months agoMerge "Ensure render once after we set surface full swap" into devel/master
Eunki Hong [Tue, 13 Aug 2024 03:56:35 +0000 (03:56 +0000)]
Merge "Ensure render once after we set surface full swap" into devel/master

4 months agoMerge "Fix the memory leak for native render surface." into devel/master
Wonsik Jung [Tue, 13 Aug 2024 02:50:31 +0000 (02:50 +0000)]
Merge "Fix the memory leak for native render surface." into devel/master

4 months agoEnsure render once after we set surface full swap 53/316053/1
Eunki, Hong [Tue, 13 Aug 2024 02:36:34 +0000 (11:36 +0900)]
Ensure render once after we set surface full swap

It is possible if event thread running too slow, the surface's full swap infomatin
might not be applied to update render thread.

For example : When OnIconifyChanged come, mAdaptor->Resume() called so
combined update render thread wake up.
But it is possible that window render surface's SetFullSwapNextFrame() not be called
until the end of render loop.
If then, the full scene rendering might be skiped after Adaptor resume finished.

To avoid this kind of issue, let we request update once when
SetFullSwapNextFrame() called after ProcessCoreEvents().

Change-Id: I40e738f6a7d56f1abd3e6d0dec37ad0de5a57994
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoFix the memory leak for native render surface. 19/316019/2
Wonsik Jung [Mon, 12 Aug 2024 11:48:20 +0000 (20:48 +0900)]
Fix the memory leak for native render surface.

Fix the memory leak for native render surface ecore-wl.
The eglContext is not free when native render surface is freed.

Change-Id: Icf1306baf46eb4bed2927545e909181eb92d6135

4 months agoAdd support for AccessibilityValue property 72/315972/1
Youngsun Suh [Mon, 12 Aug 2024 05:19:18 +0000 (14:19 +0900)]
Add support for AccessibilityValue property

Change-Id: I283af7f92c2a7296e4f320ac6b65ba9387f0dc35

4 months agoMerge "Adds the relation video player and window's scene." into devel/master
Wonsik Jung [Mon, 12 Aug 2024 04:39:12 +0000 (04:39 +0000)]
Merge "Adds the relation video player and window's scene." into devel/master

4 months agoPrint more detail logs if image load failed 96/315696/2
Eunki, Hong [Tue, 6 Aug 2024 09:27:51 +0000 (18:27 +0900)]
Print more detail logs if image load failed

- Do not assert if download buffer size is zero
- Print log if FileDescription is NULL
- Print log if fseek / ftell failed
- Print log if download failed, or download data size is 0

Change-Id: I0f69e12baa44d04a9a26b03cf2c7f1bd9e087bf1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoDALi Version 2.3.36 23/315923/1 dali_2.3.36
David Steele [Fri, 9 Aug 2024 11:09:27 +0000 (12:09 +0100)]
DALi Version 2.3.36

Change-Id: I0206843e28c1d301b0e07987f0ce9b5170083583

4 months agoMerge "Add more logs when we precompile shader" into devel/master
Eunki Hong [Mon, 5 Aug 2024 07:38:44 +0000 (07:38 +0000)]
Merge "Add more logs when we precompile shader" into devel/master

4 months agoAdd more logs when we precompile shader 96/315596/1
Eunki, Hong [Mon, 5 Aug 2024 05:55:57 +0000 (14:55 +0900)]
Add more logs when we precompile shader

Change-Id: I998f7085df004127fa6d6f756fcae0a3e83ade2d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoAdds the relation video player and window's scene. 95/315595/2
Wonsik Jung [Mon, 5 Aug 2024 05:48:28 +0000 (14:48 +0900)]
Adds the relation video player and window's scene.

Adds the relation video player and window's scene.
When video view is connected/disconnected to window's scene,
the related funciton of video player will be called.

Change-Id: I045007b44345b4298f6b19df2bf5648f2c7d8fd1

4 months agoSupports to get window native buffer handle. 64/311464/4
Wonsik Jung [Tue, 21 May 2024 10:53:52 +0000 (19:53 +0900)]
Supports to get window native buffer handle.

Supports to get window native buffer.
It is for synchronization between window buffer and external buffer.
In addition, add the connection of scene in video player.

Change-Id: Id8986d1aa723ce11b21221a9a5a2a435f1a93baa

4 months agoMerge "InheritedVisibilityChangedCallback with window Visibility" into devel/master
Seungho BAEK [Mon, 5 Aug 2024 05:13:33 +0000 (05:13 +0000)]
Merge "InheritedVisibilityChangedCallback with window Visibility" into devel/master

4 months agoMerge "DALi Version 2.3.35" into devel/master
Adeel Kazmi [Fri, 2 Aug 2024 08:34:13 +0000 (08:34 +0000)]
Merge "DALi Version 2.3.35" into devel/master

4 months agoDALi Version 2.3.35 37/315537/1 dali_2.3.35
Adeel Kazmi [Fri, 2 Aug 2024 06:27:14 +0000 (07:27 +0100)]
DALi Version 2.3.35

Change-Id: I8e6474acc46f3ceac73fdc7e26f6504934c0636e

4 months agoMerge "Add GetLastPanGestureState" into devel/master
joogab yun [Fri, 2 Aug 2024 02:11:08 +0000 (02:11 +0000)]
Merge "Add GetLastPanGestureState" into devel/master

4 months agoPrint error code if we meet unknown error code from gl and egl 66/315466/1
Eunki, Hong [Thu, 1 Aug 2024 08:02:53 +0000 (17:02 +0900)]
Print error code if we meet unknown error code from gl and egl

Let we print the error code for user, so we don't consume that information

Change-Id: I76b33250c6fb594a72f541e2586b8ae06e54f8da
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoAdd GetLastPanGestureState 45/315445/3
joogab.yun [Thu, 1 Aug 2024 03:41:34 +0000 (12:41 +0900)]
Add GetLastPanGestureState

Change-Id: Iead50eff64d6da91762da339d50c7f684116458e

4 months agoInheritedVisibilityChangedCallback with window Visibility 83/315183/7
Seungho Baek [Fri, 26 Jul 2024 06:52:07 +0000 (15:52 +0900)]
InheritedVisibilityChangedCallback with window Visibility

Change-Id: Ia2d9e3a9b990b2bff8cbcd7965d5353f694b4ad6
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
4 months agoAdd SetExclusive Option for Capture 00/314900/7
Seungho Baek [Tue, 23 Jul 2024 05:28:23 +0000 (14:28 +0900)]
Add SetExclusive Option for Capture

Change-Id: Ie789f71f8f2657c0a8320d4e3ace18b874f034da
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
4 months agoMerge changes from topic "a11y-embed-90" into devel/master
Lukasz Oleksak [Fri, 26 Jul 2024 13:11:55 +0000 (13:11 +0000)]
Merge changes from topic "a11y-embed-90" into devel/master

* changes:
  [AT-SPI] Unify widget bus names
  [AT-SPI] Track widget lifecycle
  [AT-SPI] Track application lifecycle

4 months agoDALi Version 2.3.34 13/315213/1 dali_2.3.34
Richard Huang [Fri, 26 Jul 2024 10:47:03 +0000 (11:47 +0100)]
DALi Version 2.3.34

Change-Id: I981b8927abede55d3034e84f737741082b7d84ce

4 months ago[AT-SPI] Unify widget bus names 61/313761/2
Artur Świgoń [Fri, 12 Jul 2024 10:09:37 +0000 (12:09 +0200)]
[AT-SPI] Unify widget bus names

This enables cross-toolkit embedding (e.g. an EFL widget inside NUI app).

Change-Id: If0efe85d37a6da9805819e287d6a8a73e0b76119

4 months ago[AT-SPI] Track widget lifecycle 37/315137/1
Artur Świgoń [Thu, 4 Jul 2024 09:12:52 +0000 (11:12 +0200)]
[AT-SPI] Track widget lifecycle

This is a follow-up on the patch "Track application lifecycle"
(Change-Id: I451b70fe90568f0df66f75b9b0a889b75849f0c4) which didn't
handle widgets and thus left the bridge in a disabled state.

Change-Id: I168b5df2149d6e59e1d9265aabe317f2ff0b4d84

4 months ago[AT-SPI] Track application lifecycle 95/309095/2
Artur Świgoń [Thu, 4 Apr 2024 11:53:58 +0000 (13:53 +0200)]
[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

4 months agoMerge "DragAndDrop : refactoring the codes" into devel/master
Taehyub Kim [Thu, 25 Jul 2024 06:29:51 +0000 (06:29 +0000)]
Merge "DragAndDrop : refactoring the codes" into devel/master

4 months agoFix crash issue when surface deleted before initialized 58/315058/1
Eunki, Hong [Wed, 24 Jul 2024 06:55:37 +0000 (15:55 +0900)]
Fix crash issue when surface deleted before initialized

It is possible that delete WindowRenderSurface before call
WindowRenderSurface::InitializeGraphics().

If then, mGraphics is nullptr.

To avoid this case, let we check mGraphics validation before call
mGraphics->DeleteSurface()

Change-Id: Ie58d40754b6d935dfcbf2366f05c819666d5f028
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoDragAndDrop : refactoring the codes 29/314929/7
Taehyub Kim [Tue, 23 Jul 2024 08:45:05 +0000 (17:45 +0900)]
DragAndDrop : refactoring the codes

Change-Id: Idb1695b8bec77fd75561ef20778a03d38999dfd2

4 months agoCheck SceneHolder validation if we call GetWindowIdFromActor 62/314962/3
Eunki, Hong [Wed, 24 Jul 2024 01:22:09 +0000 (10:22 +0900)]
Check SceneHolder validation if we call GetWindowIdFromActor

Since SceneHolder destructor doesn't change child's SceneOn state directly,
It might be possible that SceneHolder is destroyed but Scene is alive.

To avoid this case, let we check the SceneHolder validation one more time.

Change-Id: If442cfe725198d13b52a4a470134a83d51573326
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoFix asterisk count mismatch in password mode 46/314946/2
Bowon Ryu [Tue, 23 Jul 2024 11:40:48 +0000 (20:40 +0900)]
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>
5 months agoSync harness for platform abstraction UTC 43/314343/2
Eunki, Hong [Wed, 10 Jul 2024 08:53:17 +0000 (17:53 +0900)]
Sync harness for platform abstraction UTC

Change-Id: If10cc44e27ee3cdbba265221a598ab7e40d970e3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoHandling clipboard failure case 80/314880/2
Bowon Ryu [Thu, 18 Jul 2024 11:18:01 +0000 (20:18 +0900)]
Handling clipboard failure case

When calling the clipboard's GetData,
it checks the offer's MIME type and then requests an offer to receive.

But if the offer is changed to be invalid before receiving the callback,
user will receive null data from the event.
In this case, a fail signal is emitted.

Change-Id: Ia51ec2a823a050bfab72a348899e54ae3626e924
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 months agoMerge "DALi Version 2.3.33" into devel/master
Adeel Kazmi [Fri, 19 Jul 2024 09:59:41 +0000 (09:59 +0000)]
Merge "DALi Version 2.3.33" into devel/master

5 months agoMerge "Implementing basic render pass through graphics API" into devel/master
David Steele [Fri, 19 Jul 2024 09:31:36 +0000 (09:31 +0000)]
Merge "Implementing basic render pass through graphics API" into devel/master

5 months agoDALi Version 2.3.33 83/314783/1 dali_2.3.33
Adam Bialogonski [Fri, 19 Jul 2024 06:54:33 +0000 (07:54 +0100)]
DALi Version 2.3.33

Change-Id: I046e5c48245723b3390e0425a214edbd79537e1c

5 months agoimprove the rotation logic to cover various window position case 41/314741/2
Taehyub Kim [Thu, 18 Jul 2024 08:22:09 +0000 (17:22 +0900)]
improve the rotation logic to cover various window position case

Change-Id: I751937777f8686d62242495d8aaade920ca318c6

5 months agoImplementing basic render pass through graphics API 04/314704/1
David Steele [Tue, 9 Jul 2024 18:02:55 +0000 (19:02 +0100)]
Implementing basic render pass through graphics API

Rather than relying on test code in PresentRenderTarget, this instead
sets up basic command buffers properly, and expects Begin,
BeginRenderPass, EndRenderPass, End commands,
Controller::SubmitCommandBuffers and ::PresentRenderTarget to work in
the right way.

Suggested test code is to create an empty app with a single
actor/renderer pair that has a RenderCallback attached.

Change-Id: I828f37aa704bacd18487d9c0a516051b91f6e5fd

5 months agoVulkan GLSLang library dependency for Vulkan build 71/314571/6
Adam Bialogonski [Tue, 16 Jul 2024 15:30:03 +0000 (16:30 +0100)]
Vulkan GLSLang library dependency for Vulkan build

Change-Id: I84aae51cdd286544c7c308ccabb10e104c2bc464

5 months agoAdds Graphics CommandBuffer::Begin/End to backend 75/314575/1
David Steele [Mon, 15 Jul 2024 17:29:38 +0000 (18:29 +0100)]
Adds Graphics CommandBuffer::Begin/End to backend

Also removes automated-tests/CMakeLists.txt, as it is now installed
via the main build, so is no longer a source file.

Change-Id: If98a76dd63dbe8efdf3918fa7507294abd3c116c

5 months agoMerge "Fixups following EGL refactor for Vulkan" into devel/master
David Steele [Mon, 15 Jul 2024 13:19:43 +0000 (13:19 +0000)]
Merge "Fixups following EGL refactor for Vulkan" into devel/master

5 months ago(TestApplication) Fix SVACE issue 62/314562/1
Adeel Kazmi [Mon, 15 Jul 2024 09:47:37 +0000 (10:47 +0100)]
(TestApplication) Fix SVACE issue

Change-Id: I0740166d732b863a56ffe378d5ae030ad01b6c3e

5 months agoFixups following EGL refactor for Vulkan 15/314515/2
David Steele [Fri, 12 Jul 2024 15:35:44 +0000 (16:35 +0100)]
Fixups following EGL refactor for Vulkan

Change-Id: I55df40743f5599b2462889d03c4688bf0328ff5b

5 months agoMerge changes I886d41de,Id00dd7c0,Ifa37ab49,I5326fdd9,I53c44d15, ... into devel/master
David Steele [Fri, 12 Jul 2024 15:44:49 +0000 (15:44 +0000)]
Merge changes I886d41de,Id00dd7c0,Ifa37ab49,I5326fdd9,I53c44d15, ... into devel/master

* changes:
  Making test-render-surface.cpp/h common across repos
  Changed test harness to work with Vulkan build
  Refactoring framebuffer and renderpass objects
  Initial drop of vulkan code
  Refactored Graphics interfaces
  Removed EGL keyword from WindowBase method names
  Refactored DisplayConnection to remove graphics dependency
  EGL Cleanup

5 months agoParser changes for Vulkan (need to add UNIFORM outside of UNIFORM_BLOCK scope 13/314513/1
Adam Bialogonski [Fri, 12 Jul 2024 13:45:09 +0000 (14:45 +0100)]
Parser changes for Vulkan (need to add UNIFORM outside of UNIFORM_BLOCK scope

Change-Id: I301343fd08812d325994c9c3e656496c35326cad

5 months agoMerge "DALi Version 2.3.32" into devel/master
Adeel Kazmi [Fri, 12 Jul 2024 10:14:03 +0000 (10:14 +0000)]
Merge "DALi Version 2.3.32" into devel/master

5 months agoDALi Version 2.3.32 96/314496/1 dali_2.3.32
David Steele [Fri, 12 Jul 2024 10:12:10 +0000 (11:12 +0100)]
DALi Version 2.3.32

Change-Id: Ia53513a95c467c0498ee45b514f4208436c387f1

5 months agoFix compile error at gcc-13 - include cstdint at shader-parser.h 42/314442/1
Eunki Hong [Thu, 11 Jul 2024 15:18:44 +0000 (00:18 +0900)]
Fix compile error at gcc-13 - include cstdint at shader-parser.h

Change-Id: I7c44ec597fbdc02fd2f52ac49dc97aa57e528234
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months agoCalculate hash by std::string, instaed of raw-c-pointer 18/314418/1
Eunki, Hong [Thu, 11 Jul 2024 10:32:39 +0000 (19:32 +0900)]
Calculate hash by std::string, instaed of raw-c-pointer

Change-Id: Iad590af258beb164af135ce4ba1dd976f107addd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoAdd EOL for some log 37/314337/1
Eunki, Hong [Wed, 10 Jul 2024 08:21:07 +0000 (17:21 +0900)]
Add EOL for some log

Some logs at application initialized timing doesn't print '\n'.

Change-Id: I7fa778e5e66a890b33d60fe6a40f89a61e54403f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoRemove list of egl context what egl hold 15/314315/1
Eunki, Hong [Wed, 10 Jul 2024 05:18:19 +0000 (14:18 +0900)]
Remove list of egl context what egl hold

Since there was no way to remove mEglWindowContext, let we remove it
when render-surface-interface call it.

Note : The only user who don't call DestroyContext is native-render-surface-ecore-wl.cpp,
and drawable-view-native-renderer.cpp

We need to check the best way to detroy context for it now.
But here, we should remove them, for the general cases

Change-Id: I0329d50b2a75ea7b9c645673feb81e4aeca6523a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoTrace during several egl relative API not called every frames 03/314303/2
Eunki, Hong [Wed, 10 Jul 2024 04:34:17 +0000 (13:34 +0900)]
Trace during several egl relative API not called every frames

Let we print before and after trace for several egl API that will not
be called every frames.

eglCreateContext / eglDestroyContext
eglCreateSurface / eglDestroySurface
eglInitialize / eglTerminate
eglGetDisplay
eglBindAPI
eglChooseConfig

Note : API like eglMakeCurrent called every frames, but we already check
it's duration now.

Change-Id: I9f9dfb34ce5596682e9dba1603d2ab28a56ba006
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoPrint some log when we Add/Remove task completed callback 00/314300/1
Eunki, Hong [Wed, 10 Jul 2024 03:41:44 +0000 (12:41 +0900)]
Print some log when we Add/Remove task completed callback

Print more informations when we use TaskCompletedCallback

 - The number of tasks what we are tracing
 - The number of tasks when we cancel tracing
 - Whehter the task completed or not.

Change-Id: If58837266fbe26666794401789cadece9bb053e9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoMaking test-render-surface.cpp/h common across repos 53/313553/8
David Steele [Thu, 27 Jun 2024 17:13:14 +0000 (18:13 +0100)]
Making test-render-surface.cpp/h common across repos

Change-Id: I886d41ded42036c10c5f614bed2ff6fe09a086a9

5 months agoChanged test harness to work with Vulkan build 45/313545/8
David Steele [Thu, 27 Jun 2024 13:54:58 +0000 (14:54 +0100)]
Changed test harness to work with Vulkan build

Renamed dali-graphics module to dali-egl-graphics

If the main build is Vulkan, then some of the test modules
won't build, nor will some of the tests in particular modules.

Added a configure option to the main build to configure the
top level test harness CMakeLists.txt with the ENABLE_VULKAN option.

Added handling to the scripts to use CMake cache to figure
out list of source files for a given module rather than using
AWK on CMakeLists.txt. This enables conditional source inclusion
based on whether Vulkan is enabled or not in the main build.
(tct-<module>-core.h is generated in source tree by these scripts)

Changed the build script to ignore dali-egl-graphics module
if VULKAN is enabled.

Changed the execute script to use only the built folders, not the
source folders to determine what to run.

Change-Id: Id00dd7c00d011af7d40c6b4b1b138e0ac0a58fa6
Signed-off-by: David Steele <david.steele@samsung.com>
5 months agoRefactoring framebuffer and renderpass objects 86/313486/8
David Steele [Tue, 25 Jun 2024 17:40:09 +0000 (18:40 +0100)]
Refactoring framebuffer and renderpass objects

Moved framebuffer creation from Vulkan::Device into
FramebufferImpl::New.

Added implementations for render pass.

TODO: Sort out timing of swapchain creation so that the render passes
created by scene-graph-scene.cpp can be utilized for swapchain
generation, rather than using CreateCompatibleRenderPass.

Change-Id: Ifa37ab490a0566e62c888aa17314a19162572676

5 months agoInitial drop of vulkan code 85/313485/8
David Steele [Thu, 13 Jun 2024 17:03:16 +0000 (18:03 +0100)]
Initial drop of vulkan code

Added code drop from github.com/dalihub/dali-adaptor, modern-vulkan
branch.

Slightly modified to bring in line with refactored GraphicsInterface.

Renamed graphics-implementation.h/cpp to vulkan-graphics-impl.h/cpp to
bring it into line with other files.

Change-Id: I5326fdd9c6106d62b4a6e7e65105759f224cd5e7

5 months agoRefactored Graphics interfaces 84/313484/8
David Steele [Thu, 13 Jun 2024 18:02:19 +0000 (19:02 +0100)]
Refactored Graphics interfaces

Moved RenderSurfaceInterface to Dali::Integration namespace
Moved ColorDepth from egl-graphics.h to graphics-interface.h
Moved GraphicsInterface to Dali::Graphics namespace
Changed GraphicsInterface::CreateSurface to take more parameters

Added DestroySurface and ReplaceSurface to GraphicsInterface
Added CreateSurface, DestroySurface and ReplaceSurface to EglGraphics
Added MakeContextCurrent, GetBufferAge, SetDamageRegion, SwapBuffers to
  GraphicsInterface and EglGraphics.

Updated WindowRenderSurface to use new graphics interface methods, and remove
all traces of EGL code from it.

Change-Id: I53c44d15547deb0d1917a74165ac31ccd8b0ec2b

5 months agoRemoved EGL keyword from WindowBase method names 08/308208/6
David Steele [Tue, 19 Mar 2024 11:08:53 +0000 (11:08 +0000)]
Removed EGL keyword from WindowBase method names

Changed CreateEGLWindow to CreateWindow, and return
the egl window in a Dali::Any wrapper - ensures that the
window-base.h and derived class headers do not have any egl dependencies.

Change-Id: I539ebe4d67344b1ad8b94e4e7352ea35d4038158

5 months agoRefactored DisplayConnection to remove graphics dependency 60/307960/7
David Steele [Thu, 14 Mar 2024 19:26:27 +0000 (19:26 +0000)]
Refactored DisplayConnection to remove graphics dependency

Changed graphics initialization to depend on DisplayConnection
instead; as it needs a Display in order to initialize.

Change-Id: I9c025dd446f9f394ae49ab52fcb5029b91f9cf98
Signed-off-by: David Steele <david.steele@samsung.com>
5 months agoEGL Cleanup 58/307958/7
David Steele [Wed, 13 Mar 2024 09:36:59 +0000 (09:36 +0000)]
EGL Cleanup

Removes unused egl headers
Expand EGL interface to be more useful.
 (With an eye to creating an equivalent Vulkan interface)
Minor fixup for GLES interface vs abstraction

Change-Id: I42bbef2d94c62b3be58a0d06e648b837ec27659a

5 months agoMerge "DALi Version 2.3.31" into devel/master
Adeel Kazmi [Fri, 5 Jul 2024 10:27:17 +0000 (10:27 +0000)]
Merge "DALi Version 2.3.31" into devel/master

5 months agoMerge "Shader processor" into devel/master
Adeel Kazmi [Fri, 5 Jul 2024 10:02:07 +0000 (10:02 +0000)]
Merge "Shader processor" into devel/master

5 months agoMerge "(Capture) Remove compilation warning for unused variable" into devel/master
Adeel Kazmi [Fri, 5 Jul 2024 09:58:54 +0000 (09:58 +0000)]
Merge "(Capture) Remove compilation warning for unused variable" into devel/master

5 months agoDALi Version 2.3.31 20/314120/1 dali_2.3.31
Adam Bialogonski [Fri, 5 Jul 2024 09:08:09 +0000 (10:08 +0100)]
DALi Version 2.3.31

Change-Id: I87dfb29b82dbbd819348afd666968ed962d642e8

5 months ago(Capture) Remove compilation warning for unused variable 68/314068/2
Adeel Kazmi [Thu, 4 Jul 2024 15:31:21 +0000 (16:31 +0100)]
(Capture) Remove compilation warning for unused variable

Change-Id: I1d7655747d518ee5aa8b6f9a62efc23d4d82dac9

5 months ago(Android) Add functionality to stream assets 59/313359/5
Adeel Kazmi [Thu, 13 Jun 2024 14:50:31 +0000 (15:50 +0100)]
(Android) Add functionality to stream assets

Change-Id: Ib766dd420845aeb3ca854902dac9f4b508e305dd

5 months agoShader processor 63/313763/3
Adam Bialogonski [Wed, 3 Jul 2024 13:44:09 +0000 (14:44 +0100)]
Shader processor

Shader process that uses DALi own shader syntax and
translates it into GLES2, GLES3 or Vulkan compatible
shaders.

Change-Id: I83f7370e5ced6f85f50fa3937f196f10ecdb3323

5 months agoMerge "GLES reflection supports array element stride for UBO members." into devel...
David Steele [Fri, 28 Jun 2024 14:36:22 +0000 (14:36 +0000)]
Merge "GLES reflection supports array element stride for UBO members." into devel/master

5 months agoMerge "DALi Version 2.3.30" into devel/master
Adeel Kazmi [Fri, 28 Jun 2024 10:14:48 +0000 (10:14 +0000)]
Merge "DALi Version 2.3.30" into devel/master

5 months agoDALi Version 2.3.30 25/313625/1 dali_2.3.30
Richard Huang [Fri, 28 Jun 2024 10:10:29 +0000 (11:10 +0100)]
DALi Version 2.3.30

Change-Id: Ia81c7bc4b01d72ca59342ed6f7e6230b5f951446

5 months agoGLES reflection supports array element stride for UBO members. 04/313404/4
Adam Bialogonski [Tue, 25 Jun 2024 11:29:06 +0000 (12:29 +0100)]
GLES reflection supports array element stride for UBO members.

Change-Id: Ic703df5c5909d7b56de3d5870fb18b3b2adda3f4

5 months agoSupports window modality and always top functions 55/313355/6
Wonsik Jung [Mon, 24 Jun 2024 12:02:17 +0000 (21:02 +0900)]
Supports window modality and always top functions

Supports window modality and always top functions for specific commercial case.

Change-Id: Idce7f2750c683b37df83d320b9491f611a356215

6 months agoMerge "DALi Version 2.3.29" into devel/master
Adeel Kazmi [Fri, 21 Jun 2024 12:23:29 +0000 (12:23 +0000)]
Merge "DALi Version 2.3.29" into devel/master

6 months agoDALi Version 2.3.29 85/313285/1 dali_2.3.29
David Steele [Fri, 21 Jun 2024 11:28:07 +0000 (12:28 +0100)]
DALi Version 2.3.29

Change-Id: I66dd1cfb34c3619b465e0b32404716aef036631f

6 months agoCheck validity of accessible obj when accessed from coalescableMessage timer 01/313201/2
Youngsun Suh [Thu, 20 Jun 2024 05:09:11 +0000 (14:09 +0900)]
Check validity of accessible obj when accessed from coalescableMessage timer

Change-Id: Ic2a5d567eb8fa09d32d2c00236b2c138efec9e43

6 months agoMerge "Make sure invalid default label is removed before searching the list" into...
Youngsun Suh [Thu, 20 Jun 2024 03:36:48 +0000 (03:36 +0000)]
Merge "Make sure invalid default label is removed before searching the list" into devel/master

6 months agoFor Frame Event 05/311805/18
joogab.yun [Tue, 28 May 2024 07:12:46 +0000 (16:12 +0900)]
For Frame Event

When processing multiple multi-touches, they are grouped and processed.
Group multi-touch events and process them when a frame event occurs.

Change-Id: I1e3ac2a0026f3f95910b53521f3ddd8c6108de3c

6 months agoMake sure invalid default label is removed before searching the list 65/312765/4
Youngsun Suh [Fri, 14 Jun 2024 04:21:01 +0000 (13:21 +0900)]
Make sure invalid default label is removed before searching the list

Change-Id: I36a639e05b73f6cda82d0f770f47651ff60328cc

6 months agoMerge "DALi Version 2.3.28" into devel/master
Adeel Kazmi [Fri, 14 Jun 2024 10:38:07 +0000 (10:38 +0000)]
Merge "DALi Version 2.3.28" into devel/master

6 months agoDALi Version 2.3.28 02/312802/1 dali_2.3.28
Adam Bialogonski [Fri, 14 Jun 2024 08:32:30 +0000 (09:32 +0100)]
DALi Version 2.3.28

Change-Id: Ie22010aa68d81c6608255caafad0f7a4919241f3

6 months agoFix assert when callback cancel timer during execute callback 69/312769/3
Eunki, Hong [Fri, 14 Jun 2024 05:02:48 +0000 (14:02 +0900)]
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>
6 months agoMake some program log print always as debug level 94/312594/1
Eunki, Hong [Wed, 12 Jun 2024 04:52:16 +0000 (13:52 +0900)]
Make some program log print always as debug level

Change-Id: I958f661bd5ae5b8c155e729c4c1fa0e0cbbf5304
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoConsider calloc failed cases 79/312579/1
Eunki, Hong [Wed, 12 Jun 2024 01:36:42 +0000 (10:36 +0900)]
Consider calloc failed cases

Similar with malloc failed case, it is possible that calloc return nullptr.

To ensure that cases, let we print error log
and control if it is nullptr.

Change-Id: Ifeaf7dab2846bd14127ca7710271c3b9bb8deeb5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoFix coverity issue at framework-tizen 67/312567/1
Eunki, Hong [Tue, 11 Jun 2024 11:58:45 +0000 (20:58 +0900)]
Fix coverity issue at framework-tizen

Change-Id: Ib80dd7cedcaa8eb9e962714b2ba635368148572a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoFix coverity issue at clipboard 66/312566/1
Eunki, Hong [Tue, 11 Jun 2024 11:50:13 +0000 (20:50 +0900)]
Fix coverity issue at clipboard

Change-Id: I58bd3a78304f737701268e1086249314ca9c7580
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoMerge "Implement multi-type copy support for the clipboard" into devel/master
Bowon Ryu [Tue, 11 Jun 2024 01:21:45 +0000 (01:21 +0000)]
Merge "Implement multi-type copy support for the clipboard" into devel/master

6 months agoDALi Version 2.3.27 80/312380/1 dali_2.3.27
Adeel Kazmi [Fri, 7 Jun 2024 17:26:07 +0000 (18:26 +0100)]
DALi Version 2.3.27

Change-Id: Iaf5daf5b6986e0901c10a09056d007f993faef84

6 months agoImplement multi-type copy support for the clipboard 30/311230/3
Bowon Ryu [Wed, 17 Apr 2024 09:18:43 +0000 (18:18 +0900)]
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>
6 months agoMake Window::SetBackground works well if transparency changed 24/312224/1
Eunki, Hong [Wed, 5 Jun 2024 07:21:00 +0000 (16:21 +0900)]
Make Window::SetBackground works well if transparency changed

Change-Id: Id682bbd86989077ed5a5d1bbc3ecf008f0613960
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoCheck every egl functions duration 57/312057/3
Eunki, Hong [Mon, 3 Jun 2024 09:04:34 +0000 (18:04 +0900)]
Check every egl functions duration

Let we check all egl functions duration check include eglInitialize.

It will be check times only if log enabled

Change-Id: I732b4a8d1f741b072fd18a5562b0d70ab64eaddc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoMerge "Apply Premultiplied Alpha for ClearColor of 32bit window." into devel/master
Seungho BAEK [Wed, 5 Jun 2024 04:19:07 +0000 (04:19 +0000)]
Merge "Apply Premultiplied Alpha for ClearColor of 32bit window." into devel/master

6 months agoFix svace issue 75/312075/4
huiyu.eun [Tue, 4 Jun 2024 04:11:48 +0000 (13:11 +0900)]
Fix svace issue

https://analysishub.sec.samsung.net/service/analyses/3010653#defects

Change-Id: I3316c6a9a20721f37c17c9ffa51c1f0887f81870
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 months agoRevert "Fix svace issue"
huiyu.eun [Tue, 4 Jun 2024 04:14:45 +0000 (13:14 +0900)]
Revert "Fix svace issue"

This reverts commit 4ea8e8cddf48aaace987014948a1e9b694413938.

6 months agoFix svace issue
huiyu.eun [Tue, 4 Jun 2024 04:11:48 +0000 (13:11 +0900)]
Fix svace issue

https://analysishub.sec.samsung.net/service/analyses/3010653#defects

Change-Id: I48e5347c037c0e9a72f8f69cd33ae6a2ff1ee0cd
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 months agoApply Premultiplied Alpha for ClearColor of 32bit window. 53/312053/5
Seungho Baek [Mon, 3 Jun 2024 08:18:32 +0000 (17:18 +0900)]
Apply Premultiplied Alpha for ClearColor of 32bit window.

Change-Id: I06a71c809d61063a353996374093220beda05c2b
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>