Adeel Kazmi [Fri, 23 Aug 2024 09:46:58 +0000 (09:46 +0000)]
Merge "DALi Version 2.3.38" into devel/master
Richard Huang [Fri, 23 Aug 2024 09:45:04 +0000 (10:45 +0100)]
DALi Version 2.3.38
Change-Id: I45f80b745b844a36f1e9ca769b499a52820d1e51
Youngsun Suh [Thu, 22 Aug 2024 22:39:40 +0000 (22:39 +0000)]
Merge "Remove passing this to lambda to fix coverity issue" into devel/master
Richard Huang [Thu, 22 Aug 2024 13:21:56 +0000 (14:21 +0100)]
Fix build error when NETWORK_LOGGING is enabled
Change-Id: Ib728321cab4ee546cc9dd28db67f0cb0b5f906e1
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
joogab yun [Thu, 22 Aug 2024 04:10:11 +0000 (04:10 +0000)]
Merge "Add RelativeMotionGrab and RelativeMotionUnGrab api" into devel/master
joogab yun [Thu, 22 Aug 2024 04:10:02 +0000 (04:10 +0000)]
Merge "Added trim paths props" into devel/master
joogab.yun [Mon, 22 Jul 2024 01:22:56 +0000 (10:22 +0900)]
Add RelativeMotionGrab and RelativeMotionUnGrab api
Change-Id: I97c2b1b26b2939c31f9178c68701a32a5aac649b
Wonsik Jung [Wed, 21 Aug 2024 08:12:05 +0000 (08:12 +0000)]
Merge "Remove internal legacy." into devel/master
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
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
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>
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
Youngsun Suh [Mon, 19 Aug 2024 08:13:38 +0000 (17:13 +0900)]
Add ActionInfo & SCROLL_TO_CHILD ActionType
Change-Id: If8d3284150bfda5097bafeb41bddab2d809d3c64
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>
Youngsun Suh [Mon, 19 Aug 2024 22:59:32 +0000 (22:59 +0000)]
Merge "Update a11y::GetAttribute to return value text" into devel/master
Eunki Hong [Mon, 19 Aug 2024 11:41:22 +0000 (11:41 +0000)]
Merge "Support NativeImageSourceQueue::ColorFormat::RGB~~ really works" into devel/master
Youngsun Suh [Mon, 19 Aug 2024 08:12:46 +0000 (17:12 +0900)]
Update a11y::GetAttribute to return value text
Change-Id: I811df8091be1b9865c6d479ee6b08c000218a3b2
joogab.yun [Wed, 14 Aug 2024 06:30:47 +0000 (15:30 +0900)]
Added trim paths props
Change-Id: I821b6047ce23683bff682c0d501784d23052f9c8
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
David Steele [Mon, 12 Aug 2024 15:22:26 +0000 (16:22 +0100)]
Fixing end of frame fence sync crash
Change-Id: I20e07369298a1ee10339c72d28fca5fea278ee45
David Steele [Tue, 6 Aug 2024 17:03:42 +0000 (18:03 +0100)]
Vulkan Buffers & Memory
Implemented Buffer and Memory objects
Change-Id: I161218a8bcfee218840aef261de0d2c341ecc2f9
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>
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>
Adeel Kazmi [Fri, 16 Aug 2024 08:35:08 +0000 (08:35 +0000)]
Merge "DALi Version 2.3.37" into devel/master
Adam Bialogonski [Fri, 16 Aug 2024 07:42:42 +0000 (08:42 +0100)]
DALi Version 2.3.37
Change-Id: I039bcd46e9ad4e400468960c613a5e15b8302ce2
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
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>
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
Youngsun Suh [Fri, 16 Aug 2024 04:46:35 +0000 (04:46 +0000)]
Merge "Add Accessibility::ActionType" into devel/master
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>
David Steele [Wed, 14 Aug 2024 15:30:24 +0000 (16:30 +0100)]
Logged Vulkan version information on startup
Change-Id: I23634f86e9988f8760c079425898e97e82613502
Bowon Ryu [Wed, 14 Aug 2024 10:03:21 +0000 (10:03 +0000)]
Merge "Async text feature" into devel/master
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>
Youngsun Suh [Wed, 14 Aug 2024 02:23:33 +0000 (11:23 +0900)]
Add Accessibility::ActionType
Change-Id: I946b1459467eb62154150e5b6fcb91fff210b0f5
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>
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>
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
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
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
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>
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
Youngsun Suh [Mon, 12 Aug 2024 05:19:18 +0000 (14:19 +0900)]
Add support for AccessibilityValue property
Change-Id: I283af7f92c2a7296e4f320ac6b65ba9387f0dc35
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
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>
David Steele [Fri, 9 Aug 2024 11:09:27 +0000 (12:09 +0100)]
DALi Version 2.3.36
Change-Id: I0206843e28c1d301b0e07987f0ce9b5170083583
Eunki Hong [Mon, 5 Aug 2024 07:38:44 +0000 (07:38 +0000)]
Merge "Add more logs when we precompile shader" into devel/master
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>
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
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
Seungho BAEK [Mon, 5 Aug 2024 05:13:33 +0000 (05:13 +0000)]
Merge "InheritedVisibilityChangedCallback with window Visibility" 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
Adeel Kazmi [Fri, 2 Aug 2024 06:27:14 +0000 (07:27 +0100)]
DALi Version 2.3.35
Change-Id: I8e6474acc46f3ceac73fdc7e26f6504934c0636e
joogab yun [Fri, 2 Aug 2024 02:11:08 +0000 (02:11 +0000)]
Merge "Add GetLastPanGestureState" into devel/master
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>
joogab.yun [Thu, 1 Aug 2024 03:41:34 +0000 (12:41 +0900)]
Add GetLastPanGestureState
Change-Id: Iead50eff64d6da91762da339d50c7f684116458e
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>
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>
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
Richard Huang [Fri, 26 Jul 2024 10:47:03 +0000 (11:47 +0100)]
DALi Version 2.3.34
Change-Id: I981b8927abede55d3034e84f737741082b7d84ce
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
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
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
Taehyub Kim [Thu, 25 Jul 2024 06:29:51 +0000 (06:29 +0000)]
Merge "DragAndDrop : refactoring the codes" into devel/master
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>
Taehyub Kim [Tue, 23 Jul 2024 08:45:05 +0000 (17:45 +0900)]
DragAndDrop : refactoring the codes
Change-Id: Idb1695b8bec77fd75561ef20778a03d38999dfd2
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>
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>
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>
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>
Adeel Kazmi [Fri, 19 Jul 2024 09:59:41 +0000 (09:59 +0000)]
Merge "DALi Version 2.3.33" 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
Adam Bialogonski [Fri, 19 Jul 2024 06:54:33 +0000 (07:54 +0100)]
DALi Version 2.3.33
Change-Id: I046e5c48245723b3390e0425a214edbd79537e1c
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
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
Adam Bialogonski [Tue, 16 Jul 2024 15:30:03 +0000 (16:30 +0100)]
Vulkan GLSLang library dependency for Vulkan build
Change-Id: I84aae51cdd286544c7c308ccabb10e104c2bc464
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
David Steele [Mon, 15 Jul 2024 13:19:43 +0000 (13:19 +0000)]
Merge "Fixups following EGL refactor for Vulkan" into devel/master
Adeel Kazmi [Mon, 15 Jul 2024 09:47:37 +0000 (10:47 +0100)]
(TestApplication) Fix SVACE issue
Change-Id: I0740166d732b863a56ffe378d5ae030ad01b6c3e
David Steele [Fri, 12 Jul 2024 15:35:44 +0000 (16:35 +0100)]
Fixups following EGL refactor for Vulkan
Change-Id: I55df40743f5599b2462889d03c4688bf0328ff5b
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
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
Adeel Kazmi [Fri, 12 Jul 2024 10:14:03 +0000 (10:14 +0000)]
Merge "DALi Version 2.3.32" into devel/master
David Steele [Fri, 12 Jul 2024 10:12:10 +0000 (11:12 +0100)]
DALi Version 2.3.32
Change-Id: Ia53513a95c467c0498ee45b514f4208436c387f1
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>
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>
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>
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>
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>
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>
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
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>
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
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
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
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
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>
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
Adeel Kazmi [Fri, 5 Jul 2024 10:27:17 +0000 (10:27 +0000)]
Merge "DALi Version 2.3.31" into devel/master
Adeel Kazmi [Fri, 5 Jul 2024 10:02:07 +0000 (10:02 +0000)]
Merge "Shader processor" into devel/master