platform/core/uifw/dali-adaptor.git
5 weeks agoRemove passing this to lambda to fix coverity issue 83/316483/2
Youngsun Suh [Thu, 22 Aug 2024 05:41:36 +0000 (14:41 +0900)]
Remove passing this to lambda to fix coverity issue

Change-Id: Ie1bd24d808a8cc8f06ab56e40c1dcd4dd009f76d

5 weeks agoMerge "Remove internal legacy." into devel/master
Wonsik Jung [Wed, 21 Aug 2024 08:12:05 +0000 (08:12 +0000)]
Merge "Remove internal legacy." into devel/master

5 weeks agoRemove internal legacy. 54/315754/3
Wonsik Jung [Wed, 7 Aug 2024 07:26:46 +0000 (16:26 +0900)]
Remove internal legacy.

Remove internal legacy code in window system.
ecore-wl is previous tizen window system backend.
It is not used any more.

Change-Id: Ib4da6469bcfaed6789f65fb63a11357e1e4044ab

5 weeks agoMerge "Resolve Doxygen 1.9.8 error + Fix gcc-14 warning" into devel/master
Eunki Hong [Wed, 21 Aug 2024 03:38:54 +0000 (03:38 +0000)]
Merge "Resolve Doxygen 1.9.8 error + Fix gcc-14 warning" into devel/master

5 weeks agoResolve Doxygen 1.9.8 error + Fix gcc-14 warning 88/316388/2
Eunkiki Hong [Tue, 20 Aug 2024 16:00:11 +0000 (01:00 +0900)]
Resolve Doxygen 1.9.8 error + Fix gcc-14 warning

Since doxygen version 1.9.8 is not stable, there are some bugs
when we use copydoc for template class.

To reduce the fail case minize, let we just remove some inline copydoc keywords.

+

Remove warning that find_if return value doesn't be used.

Change-Id: Ib6eaec6f3ad0462f4e6882402a372bb6361b86e7
Signed-off-by: Eunkiki Hong <eunkiki.hong@samsung.com>
5 weeks agoMerge "Support TBM_FORMAT_ABGR8888 and simliar friends support alpha" into devel...
David Steele [Tue, 20 Aug 2024 15:59:16 +0000 (15:59 +0000)]
Merge "Support TBM_FORMAT_ABGR8888 and simliar friends support alpha" into devel/master

5 weeks agoAdd ActionInfo & SCROLL_TO_CHILD ActionType 41/316341/1
Youngsun Suh [Mon, 19 Aug 2024 08:13:38 +0000 (17:13 +0900)]
Add ActionInfo & SCROLL_TO_CHILD ActionType

Change-Id: If8d3284150bfda5097bafeb41bddab2d809d3c64

5 weeks agoSupport TBM_FORMAT_ABGR8888 and simliar friends support alpha 34/316234/3
Eunki, Hong [Fri, 16 Aug 2024 05:47:50 +0000 (14:47 +0900)]
Support TBM_FORMAT_ABGR8888 and simliar friends support alpha

Until now, we only consider TBM_FORMAT_ARGB8888 Format as NativeImageSurface and NativeRenderSurface.
(Since it was default, and only surported format at DALi until now)

Their is no reason to non-support TBM_FORMAT_ABGR8888 format what user created
outside of DALi engine.

Change-Id: If08ccbdb7fe43a6b90c05169405a6e1bc24db093
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 weeks agoMerge "Update a11y::GetAttribute to return value text" into devel/master
Youngsun Suh [Mon, 19 Aug 2024 22:59:32 +0000 (22:59 +0000)]
Merge "Update a11y::GetAttribute to return value text" into devel/master

5 weeks agoMerge "Support NativeImageSourceQueue::ColorFormat::RGB~~ really works" into devel...
Eunki Hong [Mon, 19 Aug 2024 11:41:22 +0000 (11:41 +0000)]
Merge "Support NativeImageSourceQueue::ColorFormat::RGB~~ really works" into devel/master

5 weeks agoUpdate a11y::GetAttribute to return value text 23/316323/1
Youngsun Suh [Mon, 19 Aug 2024 08:12:46 +0000 (17:12 +0900)]
Update a11y::GetAttribute to return value text

Change-Id: I811df8091be1b9865c6d479ee6b08c000218a3b2

5 weeks agoMerge changes I20e07369,I161218a8,I8646cc86 into devel/master
Adeel Kazmi [Fri, 16 Aug 2024 14:06:43 +0000 (14:06 +0000)]
Merge changes I20e07369,I161218a8,I8646cc86 into devel/master

* changes:
  Fixing end of frame fence sync crash
  Vulkan Buffers & Memory
  Added dali-vk-graphics test module

5 weeks agoFixing end of frame fence sync crash 37/316037/4
David Steele [Mon, 12 Aug 2024 15:22:26 +0000 (16:22 +0100)]
Fixing end of frame fence sync crash

Change-Id: I20e07369298a1ee10339c72d28fca5fea278ee45

5 weeks agoVulkan Buffers & Memory 13/315713/6
David Steele [Tue, 6 Aug 2024 17:03:42 +0000 (18:03 +0100)]
Vulkan Buffers & Memory

Implemented Buffer and Memory objects

Change-Id: I161218a8bcfee218840aef261de0d2c341ecc2f9

5 weeks agoAdded dali-vk-graphics test module 12/315712/4
David Steele [Tue, 23 Jul 2024 17:15:45 +0000 (18:15 +0100)]
Added dali-vk-graphics test module

Added a new test module to build test suite with actual
vulkan backend; but with a stubbed vulkan driver. (TBD)

Change-Id: I8646cc861ae2ac4c010917300eb4cab7b481efe2
Signed-off-by: David Steele <david.steele@samsung.com>
5 weeks agoFix profile cmake files about devel_api_egl_src_files 77/316177/8
Seungho Baek [Wed, 14 Aug 2024 10:16:31 +0000 (19:16 +0900)]
Fix profile cmake files about devel_api_egl_src_files

Change-Id: I41ac31ecd72670c9e3c26cfe6df7945085048bb6
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
5 weeks agoMerge "DALi Version 2.3.37" into devel/master
Adeel Kazmi [Fri, 16 Aug 2024 08:35:08 +0000 (08:35 +0000)]
Merge "DALi Version 2.3.37" into devel/master

5 weeks agoDALi Version 2.3.37 41/316241/1 dali_2.3.37
Adam Bialogonski [Fri, 16 Aug 2024 07:42:42 +0000 (08:42 +0100)]
DALi Version 2.3.37

Change-Id: I039bcd46e9ad4e400468960c613a5e15b8302ce2

5 weeks agoMerge "Make we use Dali::EnvironmentVariable instead of getenv/setenv directly."...
Eunki Hong [Fri, 16 Aug 2024 05:52:16 +0000 (05:52 +0000)]
Merge "Make we use Dali::EnvironmentVariable instead of getenv/setenv directly." into devel/master

5 weeks agoSupport NativeImageSourceQueue::ColorFormat::RGB~~ really works 25/316225/2
Eunki, Hong [Fri, 16 Aug 2024 05:04:14 +0000 (14:04 +0900)]
Support NativeImageSourceQueue::ColorFormat::RGB~~ really works

Until now, we use BGRA format as RGBA at tbm_queue_h implements.

It might give confuse in future. So we just make new enum as BGRA.

Now RGBA enum looks seperated well until now. So let we change the
real behavior at TBM side.

Change-Id: I322bffe365a60bdc100d98126f965f2c5c17696a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 weeks agoMerge "Ensure destroy and re-create adaptor builder after application terminated...
Eunki Hong [Fri, 16 Aug 2024 04:50:34 +0000 (04:50 +0000)]
Merge "Ensure destroy and re-create adaptor builder after application terminated" into devel/master

5 weeks agoMerge "Add Accessibility::ActionType" into devel/master
Youngsun Suh [Fri, 16 Aug 2024 04:46:35 +0000 (04:46 +0000)]
Merge "Add Accessibility::ActionType" into devel/master

6 weeks agoEnsure destroy and re-create adaptor builder after application terminated 62/316162/3
Eunki, Hong [Wed, 14 Aug 2024 08:15:23 +0000 (17:15 +0900)]
Ensure destroy and re-create adaptor builder after application terminated

Since we can destroy and re-create adaptor, We need to release whole items ensurely
after terminate application.

To support this system,
 - Let we keep environment options for OffscreenApplication
 - Make static API to terminate adaptor builder (Allow to recreate adaptor builder by options)
 - Terminate adaptor builder after initalize adaptor done.

Change-Id: Ie9dadd29f6d9894db73ef01bdb42e09299fcea57
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks 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

6 weeks 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

6 weeks agoMake we use Dali::EnvironmentVariable instead of getenv/setenv directly. 48/316148/3
Eunki, Hong [Wed, 14 Aug 2024 04:22:14 +0000 (13:22 +0900)]
Make we use Dali::EnvironmentVariable instead of getenv/setenv directly.

Their might something be changed the way of environment value control
per each platform backend.
To prepare this, let we use unified way to control the env value.

Change-Id: I3674033e803c29723d7cf70ef6ee9a70257200ed
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 weeks agoAdd Accessibility::ActionType 28/316128/1
Youngsun Suh [Wed, 14 Aug 2024 02:23:33 +0000 (11:23 +0900)]
Add Accessibility::ActionType

Change-Id: I946b1459467eb62154150e5b6fcb91fff210b0f5

6 weeks 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>
6 weeks 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>
6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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>
6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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>
6 weeks 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

7 weeks 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

7 weeks 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>
7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

8 weeks 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

8 weeks 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>
8 weeks agoAdd GetLastPanGestureState 45/315445/3
joogab.yun [Thu, 1 Aug 2024 03:41:34 +0000 (12:41 +0900)]
Add GetLastPanGestureState

Change-Id: Iead50eff64d6da91762da339d50c7f684116458e

8 weeks 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>
8 weeks 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>
2 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

2 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

2 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

2 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

2 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

2 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

2 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>
2 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

2 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>
2 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>
2 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>
2 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>
2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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

2 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>
2 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

2 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

2 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

2 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

2 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>
2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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