platform/core/uifw/dali-adaptor.git
2 months agoPrevent crash when a11y bridge is disabled 99/319099/3
Youngsun Suh [Tue, 15 Oct 2024 01:58:28 +0000 (10:58 +0900)]
Prevent crash when a11y bridge is disabled

Change-Id: Iba2bd83d2623ead9e907cd1a6d0ffe4f9e4548db

2 months agoFix crash on destroying static bridge obj 97/319097/1
Youngsun Suh [Tue, 15 Oct 2024 07:16:40 +0000 (16:16 +0900)]
Fix crash on destroying static bridge obj

Change-Id: I3f7ab0fcf280dca3ddae9a7c553c82885d2a1299

2 months agoDALi Version 2.3.45 68/318968/1 dali_2.3.45
Richard Huang [Fri, 11 Oct 2024 09:43:15 +0000 (10:43 +0100)]
DALi Version 2.3.45

Change-Id: I87b1e7df8b32d9518c30f317deb7ddef00ca979e

2 months agoMerge "(RenderSurface/Graphics) Added Resize method to manage different GLES & Vulkan...
Adeel Kazmi [Thu, 10 Oct 2024 10:58:06 +0000 (10:58 +0000)]
Merge "(RenderSurface/Graphics) Added Resize method to manage different GLES & Vulkan behaviour" into devel/master

2 months agoMerge "Fix wrong variable name for window target" into devel/master
Taehyub Kim [Thu, 10 Oct 2024 09:26:37 +0000 (09:26 +0000)]
Merge "Fix wrong variable name for window target" into devel/master

2 months ago(RenderSurface/Graphics) Added Resize method to manage different GLES & Vulkan behaviour 37/318837/3
Adeel Kazmi [Wed, 9 Oct 2024 21:24:56 +0000 (22:24 +0100)]
(RenderSurface/Graphics) Added Resize method to manage different GLES & Vulkan behaviour

Change-Id: I08d44294d303a487cc0d2306910d080f5582fb91

2 months agoMerge "Changed vulkan startup order" into devel/master
Adeel Kazmi [Thu, 10 Oct 2024 08:42:40 +0000 (08:42 +0000)]
Merge "Changed vulkan startup order" into devel/master

2 months agoFix wrong variable name for window target 66/318866/1
Taehyub Kim [Thu, 10 Oct 2024 06:47:09 +0000 (15:47 +0900)]
Fix wrong variable name for window target

Change-Id: I54a74ef5effb473b83e7175041234335ab578876

2 months agoEnsure we don't touch shutdowned EglGraphicsController 79/318579/7
Eunki, Hong [Wed, 2 Oct 2024 11:13:00 +0000 (20:13 +0900)]
Ensure we don't touch shutdowned EglGraphicsController

Let we make IsShuttingDown() API as static,
so we can ask it without raw pointer of graphics controller.

Most of API in GLES::Resource hold the eglController as l-value.
So if someone try to get graphics controller after shutting down,
it might make some crash.

To avoid these kind of issue, let we ensure to call DiscardResource
only if graphics controller is not in shutting down.

TODO : native image should be called DiscardResource() even if it is shutting
downed. How can we ensure it?

Change-Id: I87ec5d96d8c12c054f00db346564f7bae8d5d3bb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoChanged vulkan startup order 35/318835/1
David Steele [Wed, 9 Oct 2024 17:23:26 +0000 (18:23 +0100)]
Changed vulkan startup order

Instead of creating a physical device, then creating a surface
and asserting if that device can't support the surface,
creates the vulkan surface, and checks against each device to see
if that surface can be presented.

Change-Id: I25c22c6068b2e91f3f7e49cd509c52adcf7cef12
Signed-off-by: David Steele <david.steele@samsung.com>
2 months ago(Build) Remove EGL/GLES library check if Vulkan is enabled 27/318727/2
Adeel Kazmi [Mon, 7 Oct 2024 11:28:52 +0000 (12:28 +0100)]
(Build) Remove EGL/GLES library check if Vulkan is enabled

Change-Id: Id4a3e108b0b4ac76d5336159bcbfa121ee1a55c5

2 months agoDALi Version 2.3.44 40/318640/1 dali_2.3.44
David Steele [Fri, 4 Oct 2024 08:53:15 +0000 (09:53 +0100)]
DALi Version 2.3.44

Change-Id: I495122c5270aac65be7c0ce7b254f612f5f40278

2 months agoMerge changes I16ce7eff,Ic103c573,I651ed4d0 into devel/master
David Steele [Wed, 2 Oct 2024 13:13:54 +0000 (13:13 +0000)]
Merge changes I16ce7eff,Ic103c573,I651ed4d0 into devel/master

* changes:
  Changed vulkan-fence to use unique_ptr
  Vulkan render pass uses ref counted handle
  Vulkan resource lifecycle management

2 months agoMerge "Add WebAuthDisplayQR, Response and MediaPermission" into devel/master
dongsug song [Wed, 2 Oct 2024 11:31:17 +0000 (11:31 +0000)]
Merge "Add WebAuthDisplayQR, Response and MediaPermission" into devel/master

2 months agoChanged vulkan-fence to use unique_ptr 03/318503/2
David Steele [Mon, 30 Sep 2024 15:27:39 +0000 (16:27 +0100)]
Changed vulkan-fence to use unique_ptr

Change-Id: I16ce7eff8ed73ab3395c1521d516a9edb3449b8f

2 months agoVulkan render pass uses ref counted handle 07/318307/4
David Steele [Thu, 26 Sep 2024 18:06:21 +0000 (19:06 +0100)]
Vulkan render pass uses ref counted handle

As we are now sharing render pass between framebuffers
of a swapchain, using a ref-counted handle will ensure
that we can clean this up safely.

Change-Id: Ic103c57314c39c2141883d688175664c8d30939d

2 months agoVulkan resource lifecycle management 68/316868/7
David Steele [Wed, 28 Aug 2024 16:18:56 +0000 (17:18 +0100)]
Vulkan resource lifecycle management

For Vulkan implementation of graphics resources:
  Added discard queue, that's cleaned down during Flush().

Added ResourceWithDeleter as a secondary interface on top of ResourceBase, to allow
Program/Pipeline to inherit solely from ResourceBase, and not have to utilize the
same resource deleters that the main graphics objects require.

Removed VkResource inheritance completely from Impl classes.
Kept VkResource as VkSharedResource, as we may still use this on RenderPassImpl

All Impl classes now have a public Destroy method which is called from their
destructor, but may also be called earlier if needed. Note, CommandBuffers should
not be deleted directly, but instead returned to the command pool for re-use.

Implemented owned containers for some Impl objects using
std::unique_ptr. Framebuffer owns it's attachments, Swapchain owns
it's framebuffers.

Change-Id: I651ed4d041cd2fb3e7698304eeede66625031945

2 months agoMake ShaderPrecompiler move shader list + Store shader prefix list as string instead... 36/318236/4
Eunki, Hong [Thu, 26 Sep 2024 01:49:46 +0000 (10:49 +0900)]
Make ShaderPrecompiler move shader list + Store shader prefix list as string instead string_view

Until now, Precompiler hold only string_view.
It mean, the lifecycle of shader code is not depend on that object.

To make sure that we could control the lifecycle of source code string,
let we keep it as std::string, instead of std::string_view.

And also, make we use std::move instead of copy them.
It will make less performance overhead.

Change-Id: I2b5949b5a408865b5879448630c65a6d3682ecee
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoMerge "Prevent revisiting nodes in GetMatches*" into devel/master
Youngsun Suh [Mon, 30 Sep 2024 02:23:12 +0000 (02:23 +0000)]
Merge "Prevent revisiting nodes in GetMatches*" into devel/master

2 months agoPrevent revisiting nodes in GetMatches* 79/318379/4
Youngsun Suh [Fri, 27 Sep 2024 08:20:19 +0000 (17:20 +0900)]
Prevent revisiting nodes in GetMatches*

Change-Id: I55c93244b1c4e1804c7e00baaca4fcf44d404718

2 months agoMerge "Added an option to select the web engine type in the WebView constructor"...
dongsug song [Fri, 27 Sep 2024 09:10:59 +0000 (09:10 +0000)]
Merge "Added an option to select the web engine type in the WebView constructor" into devel/master

2 months agoAdd WebAuthDisplayQR, Response and MediaPermission 91/318391/1
dongsug.song [Thu, 5 Sep 2024 12:23:00 +0000 (21:23 +0900)]
Add WebAuthDisplayQR, Response and MediaPermission

Change-Id: Ia034489abd004c0080d772e84e0c797f5b30e985

2 months agoDALi Version 2.3.43 43/318343/1 dali_2.3.43
Adeel Kazmi [Fri, 27 Sep 2024 05:52:46 +0000 (06:52 +0100)]
DALi Version 2.3.43

Change-Id: I56fa73fb16275720c3717e6c30b5dd692720e3b3

2 months agoAdded an option to select the web engine type in the WebView constructor 39/318339/2
dongsug.song [Thu, 19 Sep 2024 07:08:39 +0000 (16:08 +0900)]
Added an option to select the web engine type in the WebView constructor

- Previously, the web engine was fixed and selected for all DALi/NUI APPs in dali.sh, but now it can be chosen in the constructor.

Change-Id: I481e5ee48553c29141ecf3ef78ce7cd30f743267

2 months agoMerge changes Id84cca07,Ia7f4771e,I6c53e369,I99d8d3a1 into devel/master
David Steele [Thu, 26 Sep 2024 10:26:30 +0000 (10:26 +0000)]
Merge changes Id84cca07,Ia7f4771e,I6c53e369,I99d8d3a1 into devel/master

* changes:
  Vulkan rendering tweaks
  Remove swapchain renderpass duping
  Fixing up Vulkan validation errors
  Updating and binding descriptor sets

2 months agoMerge "Keep offset of removal prefix of shader code, and use it at cache comparision...
Eunki Hong [Thu, 26 Sep 2024 01:04:44 +0000 (01:04 +0000)]
Merge "Keep offset of removal prefix of shader code, and use it at cache comparision" into devel/master

2 months agoMerge "Make Precompile shader make same prefix with general shader of toolkit" into...
Eunki Hong [Thu, 26 Sep 2024 01:04:36 +0000 (01:04 +0000)]
Merge "Make Precompile shader make same prefix with general shader of toolkit" into devel/master

2 months agoVulkan rendering tweaks 73/317873/6
David Steele [Thu, 19 Sep 2024 17:59:12 +0000 (18:59 +0100)]
Vulkan rendering tweaks

Adds a clip space transform matrix to convert from GL clip space to
Vulkan clip space.

Ensures we can get the current framebuffer during recording cmd
buffers from the render target.

Ensure that the color write mask is set to write RGBA bits

DALi is now rendering using Vulkan! (Still a way to go, though)

Change-Id: Id84cca07dbd61a0cf6fdff6672cd410cf365d956

2 months agoRemove swapchain renderpass duping 20/317220/5
David Steele [Thu, 5 Sep 2024 17:37:15 +0000 (18:37 +0100)]
Remove swapchain renderpass duping

Change the swapchain framebuffer creation to utilize only
1 render pass.

Change-Id: Ia7f4771ee420997b7bc070e6b7685084ecd38acd

2 months agoFixing up Vulkan validation errors 70/317870/4
David Steele [Thu, 19 Sep 2024 09:56:27 +0000 (10:56 +0100)]
Fixing up Vulkan validation errors

Changed BindVertexBuffers to use single instance
 (To work around GLES impl using 0)

Changed command submission to use PipelineStage: eFragmentShader

Added DeviceWaitIdle() to SwapBuffers() (now called from PostRender)
Ensured SwapBuffers() is called to change swapchain index.

Change-Id: I6c53e369c60969fb920d097bece73dea4b7da0f1

2 months agoUpdating and binding descriptor sets 73/317773/5
David Steele [Mon, 16 Sep 2024 17:45:01 +0000 (18:45 +0100)]
Updating and binding descriptor sets

Binding uniform buffer and sampler descriptor sets
prior to draw command.

Necessitates looking up the binding points for the samplers
from the reflection, as the Graphics API defines it as
texture unit in GLES (No such thing in Vk)

Also transitioned the image layouts to shader read only after
direct memory copy.

Change-Id: I99d8d3a1592a70c75d740f9d24ac242093141528

2 months agoKeep offset of removal prefix of shader code, and use it at cache comparision 20/318220/1
Eunki Hong [Wed, 25 Sep 2024 16:53:31 +0000 (01:53 +0900)]
Keep offset of removal prefix of shader code, and use it at cache comparision

Since source code after ShaderImpl::StripLegacyCodeIfNeeded might be changed,
shader code comparision not works well.

To fix this issue, let we store the offset of code what we removed,
and compare with inputed shader code, only after that offset.

Change-Id: I699125fa2c471473e85ad6104b200d609fdd92e4
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 months agoFix crash at terminate case when we use precompile option 05/318205/1
Eunki, Hong [Wed, 25 Sep 2024 11:30:41 +0000 (20:30 +0900)]
Fix crash at terminate case when we use precompile option

Let we clear pre compiled programs before shutdown graphics.

Change-Id: I58f7a0dee07853cb9bb8992e80eb696e7511367b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoMake Precompile shader make same prefix with general shader of toolkit 91/318191/2
Eunki, Hong [Wed, 25 Sep 2024 10:18:34 +0000 (19:18 +0900)]
Make Precompile shader make same prefix with general shader of toolkit

Let we make pre compiled shader also use GenerateTaggedShaderPrefix()

Change-Id: I85299cb212a3130ed6c37a37bf866fe20dab8ea5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoSupport Lanczos algorithm for RGB888 35/318135/3
jmm [Wed, 25 Sep 2024 02:23:03 +0000 (11:23 +0900)]
Support Lanczos algorithm for RGB888

Change-Id: I498ddcf33643ed69c26ef8795249f8f7c02ae6c0

2 months agoMerge "Support SamplingMode::LANCZOS and SamplingMode::BOX_THEN_LANCZOS" into devel...
Eunki Hong [Wed, 25 Sep 2024 04:17:34 +0000 (04:17 +0000)]
Merge "Support SamplingMode::LANCZOS and SamplingMode::BOX_THEN_LANCZOS" into devel/master

2 months agoMerge "Modify API name and the description of window APIs." into devel/master
Wonsik Jung [Wed, 25 Sep 2024 02:45:50 +0000 (02:45 +0000)]
Merge "Modify API name and the description of window APIs." into devel/master

2 months agoMerge "Remove WindowAccessible on accessible detroyed" into devel/master
Youngsun Suh [Wed, 25 Sep 2024 01:52:47 +0000 (01:52 +0000)]
Merge "Remove WindowAccessible on accessible detroyed" into devel/master

2 months agoModify API name and the description of window APIs. 18/318118/4
Wonsik Jung [Wed, 25 Sep 2024 00:24:02 +0000 (09:24 +0900)]
Modify API name and the description of window APIs.

Modify API name as Bottom mode and the description fo window API AlwaysOnTop and fix the white space.

Change-Id: Idf1773519d4b1df220b5a32438cecdbd5a6128d1

2 months agoSupport SamplingMode::LANCZOS and SamplingMode::BOX_THEN_LANCZOS 93/317993/3
Eunki, Hong [Mon, 23 Sep 2024 07:27:27 +0000 (16:27 +0900)]
Support SamplingMode::LANCZOS and SamplingMode::BOX_THEN_LANCZOS

TODO : LanczosSample support only for 1BPP and 4BPP.
Until support it with various pixel format, just use LinearSample instead.

Change-Id: I7c42859987964397fa7dfd2d2ee565e16cd61832
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months agoSupports to change the window layer to the bottom 68/317868/3
Wonsik Jung [Thu, 19 Sep 2024 13:02:19 +0000 (22:02 +0900)]
Supports to change the window layer to the bottom

Supports to change the window layer to the bottom.
It is only efffected with same notification layer.

Change-Id: Ib336a9d9b725b076045a225316900ab193711686

2 months agoAdd "KP_ENTER" to DALI Key enum. 47/318047/1
ANZ1217 [Tue, 24 Sep 2024 04:24:19 +0000 (13:24 +0900)]
Add "KP_ENTER" to DALI Key enum.

KP_ENTER is "Enter" key on Numeric Keypad.
keyname: KP_ENTER
keycode: 104

Change-Id: I517102603ea3c79cf6138d0cab57a616a9b8e89f

2 months agoFix desired deimension mismatch issue 59/317759/3
Eunki Hong [Sun, 15 Sep 2024 02:54:07 +0000 (11:54 +0900)]
Fix desired deimension mismatch issue

Change-Id: I3a3b8bdf037f27ae166b8552ed2e89ed05959751
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 months agoDALi Version 2.3.42 01/317901/1 dali_2.3.42
Richard Huang [Fri, 20 Sep 2024 09:47:25 +0000 (10:47 +0100)]
DALi Version 2.3.42

Change-Id: Ie2af0bef886509e9648e1c6b2587662baa58f82c

3 months agoMerge "Add the window behind blur." into devel/master
Wonsik Jung [Thu, 19 Sep 2024 01:37:03 +0000 (01:37 +0000)]
Merge "Add the window behind blur." into devel/master

3 months agoFixed current index of the pool 51/317751/2
Adam Bialogonski [Fri, 13 Sep 2024 12:42:18 +0000 (13:42 +0100)]
Fixed current index of the pool

Change-Id: Id490c3261ecec7a9ac21a761cfdb9d295465f415

3 months agoAdded descriptor sets allocation 60/317560/3
Adam Bialogonski [Wed, 11 Sep 2024 16:05:03 +0000 (17:05 +0100)]
Added descriptor sets allocation

Change-Id: I763677d68a092cb70b7716064daa6c6bdd4db95b

3 months agoAdding render pass to secondary command buffer 43/317643/3
David Steele [Thu, 12 Sep 2024 18:22:12 +0000 (19:22 +0100)]
Adding render pass to secondary command buffer

Need to retrieve the actual render pass from the current
framebuffer, so the begin info needs the render target.

Change-Id: I17c65e6b010177091fa0bc2233b0e44455df2569

3 months agoAdding command buffer implementations 09/317309/7
David Steele [Fri, 6 Sep 2024 17:33:09 +0000 (18:33 +0100)]
Adding command buffer implementations

Implementations or binding buffers and textures,
drawing, setting stencil & viewport.

Note, we require further changes to implement texture
binding, as this requires the sampler descriptor sets
for the assoc program.

Changed default buffer memory type to be host coherent - this
ensures that the validation layers don't complain on flush,
but may slow down the system. Consider using staging buffers
to transfer memory to GPU.

Change-Id: I50d56f886dca80a65ba03f9f8b3261b1cca75236

3 months agoMerge "DALi Version 2.3.41" into devel/master
David Steele [Fri, 13 Sep 2024 11:02:23 +0000 (11:02 +0000)]
Merge "DALi Version 2.3.41" into devel/master

3 months agoMerge "Optimize EmitStateChanged to reduce dbus call" into devel/master
Youngsun Suh [Fri, 13 Sep 2024 06:47:07 +0000 (06:47 +0000)]
Merge "Optimize EmitStateChanged to reduce dbus call" into devel/master

3 months agoDALi Version 2.3.41 10/317710/1 dali_2.3.41
Adam Bialogonski [Fri, 13 Sep 2024 06:42:47 +0000 (07:42 +0100)]
DALi Version 2.3.41

Change-Id: Ic8fb63befcce8f20c8348677691d22acf5c57c2c

3 months agoAdd the window behind blur. 04/317504/2
Wonsik Jung [Wed, 11 Sep 2024 05:39:06 +0000 (14:39 +0900)]
Add the window behind blur.

Add the window behind blur. It is the other type.
In addtion, one internal value is changed with correct name.

Change-Id: I630fb495094b8f2a2a605cccb30189ad22e02478

3 months agoRemove WindowAccessible on accessible detroyed 95/317695/2
Youngsun Suh [Thu, 12 Sep 2024 01:40:28 +0000 (10:40 +0900)]
Remove WindowAccessible on accessible detroyed

Change-Id: I272ee43a819a5f6df85d90a08f50b3338875ff19

3 months agoMerge "Consider custom shader in precompile" into devel/master
sunghyun kim [Fri, 13 Sep 2024 04:59:13 +0000 (04:59 +0000)]
Merge "Consider custom shader in precompile" into devel/master

3 months agoCall CancelPreCompile() when CombinedUpdateRenderController start 66/316966/2
sunghyun kim [Mon, 2 Sep 2024 04:15:53 +0000 (13:15 +0900)]
Call CancelPreCompile() when CombinedUpdateRenderController start

Modify cancelPrecompile() so that it can be called at a more appropriate time.

Change-Id: Ia495520c67240597812baeecf7616f0173c75f2b

3 months agoOptimize EmitStateChanged to reduce dbus call 82/317682/1
Youngsun Suh [Fri, 13 Sep 2024 00:47:07 +0000 (09:47 +0900)]
Optimize EmitStateChanged to reduce dbus call

Change-Id: I316cec6b797ebf7a8b63f8051658738d9aef2e9a

3 months agoMerge "Print trace log as INFO only for TV" into devel/master
Eunki Hong [Fri, 13 Sep 2024 01:17:23 +0000 (01:17 +0000)]
Merge "Print trace log as INFO only for TV" into devel/master

3 months agoResolve memory leak when discard Graphics::CommandBuffer 32/317632/2
Eunki, Hong [Thu, 12 Sep 2024 11:06:57 +0000 (20:06 +0900)]
Resolve memory leak when discard Graphics::CommandBuffer

Change-Id: I17c23505bfc79b2239e316420ffbd48fda0892f9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoPrint trace log as INFO only for TV 14/317614/1
Eunki, Hong [Thu, 12 Sep 2024 08:17:01 +0000 (17:17 +0900)]
Print trace log as INFO only for TV

Change-Id: I32457913efad83f0217d5b6d5db96649ded28bd0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoMerge "Add IncludeHidden interface" into devel/master
Wonsik Jung [Thu, 12 Sep 2024 04:21:15 +0000 (04:21 +0000)]
Merge "Add IncludeHidden interface" into devel/master

3 months agoMerge "Allow duplicate showing event for modal and window" into devel/master
Youngsun Suh [Wed, 11 Sep 2024 07:11:53 +0000 (07:11 +0000)]
Merge "Allow duplicate showing event for modal and window" into devel/master

3 months agoAdd IncludeHidden interface 06/317506/2
Youngsun Suh [Tue, 10 Sep 2024 00:54:35 +0000 (09:54 +0900)]
Add IncludeHidden interface

Related patch: https://review.tizen.org/gerrit/c/platform/upstream/at-spi2-core/+/317423

Change-Id: I343aac98de201ecdfb58a649e8560abe788fe37e

3 months agoMerge "Add multi-mimetype feature for Drag and Drop Contents - Allow to set multi...
Taehyub Kim [Wed, 11 Sep 2024 02:44:22 +0000 (02:44 +0000)]
Merge "Add multi-mimetype feature for Drag and Drop Contents - Allow to set multi-mimetypes for source client (use DragInfo) - Target client receive source's mimetypes from source client when Enter, Move, Leave - Target client can set mimetype to receive - Refactoring code for readability" into devel/master

3 months agoMerge "Update the bridge to own accessible objects" into devel/master
Youngsun Suh [Wed, 11 Sep 2024 02:11:49 +0000 (02:11 +0000)]
Merge "Update the bridge to own accessible objects" into devel/master

3 months agoAllow duplicate showing event for modal and window 82/317482/1
Youngsun Suh [Wed, 11 Sep 2024 01:42:12 +0000 (10:42 +0900)]
Allow duplicate showing event for modal and window

Change-Id: I3ef31de266ebebe6188327922372da096b450c0b

3 months agoAdd multi-mimetype feature for Drag and Drop 07/316807/4
Taehyub Kim [Wed, 28 Aug 2024 10:48:29 +0000 (19:48 +0900)]
Add multi-mimetype feature for Drag and Drop
Contents
- Allow to set multi-mimetypes for source client (use DragInfo)
- Target client receive source's mimetypes from source client when Enter, Move, Leave
- Target client can set mimetype to receive
- Refactoring code for readability

Change-Id: Ida5f4c2b35a0a85fd5acaab6d4dc25449b88b159

3 months agoFix memory leak when ReadFile failed 04/317404/2
Eunki, Hong [Tue, 10 Sep 2024 03:56:20 +0000 (12:56 +0900)]
Fix memory leak when ReadFile failed

Change-Id: Ia5e78159176170ae594ae702c42a8d5a4b4acb67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoUpdate the bridge to own accessible objects 32/317332/2
Youngsun Suh [Mon, 9 Sep 2024 01:51:02 +0000 (10:51 +0900)]
Update the bridge to own accessible objects

ActorAccessible implements BaseObjectObserver to track BaseObject destruction.
On BaseObject destruction, RemoveAccessible is called to make the bridge releases the accessible object.

Change-Id: I7b1a0563215eee6e03b2df347bd47727d5e60b83

3 months agoUse flat keyword for gles 3.0 28/317228/2
Eunki, Hong [Fri, 6 Sep 2024 04:24:57 +0000 (13:24 +0900)]
Use flat keyword for gles 3.0

Change-Id: If5e2103caea2341265908832ca39ca315c599afb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoShader parser - attribute location fix 08/317308/1
Adam Bialogonski [Fri, 6 Sep 2024 15:34:03 +0000 (16:34 +0100)]
Shader parser - attribute location fix

Attribute location wasn't incrementing for SPIRV-GLSL output. This patch fixes it.

Change-Id: If3f0adf770d0951855ac8413e29b50b40729d1e1

3 months agoVulkan pipeline #2 17/317217/2
Adam Bialogonski [Thu, 5 Sep 2024 15:48:15 +0000 (16:48 +0100)]
Vulkan pipeline #2

- Pipeline created with RenderTarget (requires core patch)
- Command buffer binds pipeline

Change-Id: Ibc9835b9191aa20aa4ac198d81557eef56bbbf86

3 months agoVulkan pipeline 07/317007/10
Adam Bialogonski [Mon, 2 Sep 2024 09:59:13 +0000 (10:59 +0100)]
Vulkan pipeline

Base implementation. All states are added but there are TODOs:
- Setting compatible renderpass (via command buffer)
- Setting relevant dynamic states (not sure yet which ones we'll use)
- MSAA state is set default, may not work for rendering
- BlendColor supports only single attachments due to DALi gfx api limitation (we support single state, too)
- No caching in use but the code making a copy of create states is still there.

Change-Id: Ide0ef9f6d3fd0ea81fe2646507c65d7eda4d3753

3 months agoDALi Version 2.3.40 64/317264/1 dali_2.3.40
David Steele [Fri, 6 Sep 2024 10:00:24 +0000 (11:00 +0100)]
DALi Version 2.3.40

Change-Id: Ib630a5a05a4b9f71219ce10160e1a9d4b72289ea

3 months agoMerge "Removed C++ opts from C build" into devel/master
David Steele [Tue, 3 Sep 2024 09:43:20 +0000 (09:43 +0000)]
Merge "Removed C++ opts from C build" into devel/master

3 months agoMerge "Revert "Update the bridge to own accessible objects"" into devel/master
Youngsun Suh [Tue, 3 Sep 2024 08:34:02 +0000 (08:34 +0000)]
Merge "Revert "Update the bridge to own accessible objects"" into devel/master

3 months agoRevert "Update the bridge to own accessible objects" 27/317027/1
Youngsun Suh [Tue, 3 Sep 2024 05:08:23 +0000 (05:08 +0000)]
Revert "Update the bridge to own accessible objects"

This reverts commit f3e3fe4ef108677e995b978c102047089ab7e593.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I38546607971bc020f2a7642f25613e7982a7222b

3 months agoMerge "Resolve compile warning - pessimizing-move" into devel/master
Eunki Hong [Mon, 2 Sep 2024 04:09:51 +0000 (04:09 +0000)]
Merge "Resolve compile warning - pessimizing-move" into devel/master

3 months agoMerge "Update the bridge to own accessible objects" into devel/master
Youngsun Suh [Sun, 1 Sep 2024 23:07:35 +0000 (23:07 +0000)]
Merge "Update the bridge to own accessible objects" into devel/master

3 months agoRemoved C++ opts from C build 49/316949/1
David Steele [Fri, 30 Aug 2024 15:49:10 +0000 (16:49 +0100)]
Removed C++ opts from C build

Change-Id: I86125f1f353cb4a8239e16a6a88ccb47daf9046c

3 months agoResolve compile warning - pessimizing-move 43/316943/1
Eunki Hong [Fri, 30 Aug 2024 12:46:35 +0000 (21:46 +0900)]
Resolve compile warning - pessimizing-move

warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
   59 |   return std::move(fullName.str());

Change-Id: I8a4a07e928c5c14fd8f101f951cd2dec2791858d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 months agoMerge "DALi Version 2.3.39" into devel/master
Adeel Kazmi [Fri, 30 Aug 2024 09:51:05 +0000 (09:51 +0000)]
Merge "DALi Version 2.3.39" into devel/master

3 months agoDALi Version 2.3.39 03/316903/1 dali_2.3.39
Adeel Kazmi [Fri, 30 Aug 2024 08:12:59 +0000 (09:12 +0100)]
DALi Version 2.3.39

Change-Id: I856ffc40394e4461ede26552eb2cc02adb080783

3 months agoUpdate the bridge to own accessible objects 79/316879/2
Youngsun Suh [Fri, 30 Aug 2024 02:24:45 +0000 (11:24 +0900)]
Update the bridge to own accessible objects

Change-Id: I6a4311ed6d94f73af885e7963fa08d9f21aa4044

3 months agoMerge "Update WebView related modifications at once" into devel/master
dongsug song [Fri, 30 Aug 2024 02:15:35 +0000 (02:15 +0000)]
Merge "Update WebView related modifications at once" into devel/master

3 months agoMerge "Vulkan Texture & Image" into devel/master
David Steele [Thu, 29 Aug 2024 10:41:52 +0000 (10:41 +0000)]
Merge "Vulkan Texture & Image" into devel/master

3 months agoVulkan Texture & Image 09/316109/9
David Steele [Tue, 13 Aug 2024 10:56:26 +0000 (11:56 +0100)]
Vulkan Texture & Image

Refactored vulkan-api-texture -> vulkan-texture
Refactored sampler/image/image-view

Renamed Fence to FenceImpl
Added FenceImpl::New

Migrated UpdateTextures to graphics controller
Copied PixelData image type handling from EGL

Implemented PixelBarrier, CopyBuffer/CopyImage in CommandBufferImpl.

Change-Id: Ic408552b4a5b07378d17bbda99f11e64ea4fb37f

3 months agoMerge "Emit StateChanged event only when the value is updated" into devel/master
Youngsun Suh [Wed, 28 Aug 2024 03:47:36 +0000 (03:47 +0000)]
Merge "Emit StateChanged event only when the value is updated" into devel/master

3 months agoEmit StateChanged event only when the value is updated 07/316707/2
Youngsun Suh [Tue, 27 Aug 2024 06:31:36 +0000 (15:31 +0900)]
Emit StateChanged event only when the value is updated

Change-Id: I3d386365f3cfccfd1d7cdcb7c4e6724ad6ccd3dd

3 months agoMerge "Reset vertex buffer changed flag after bind buffer finished" into devel/master
David Steele [Tue, 27 Aug 2024 09:54:49 +0000 (09:54 +0000)]
Merge "Reset vertex buffer changed flag after bind buffer finished" into devel/master

3 months agoSupports window background blur interface. 53/315753/11
Wonsik Jung [Wed, 7 Aug 2024 07:08:34 +0000 (16:08 +0900)]
Supports window background blur interface.

Supports window background blur interface.
This new APIs is to request window blur to window manager.

Change-Id: I42bc1de6986bc1d7a70d4b337044be0d847861c3

3 months agoReset vertex buffer changed flag after bind buffer finished 90/316690/1
Eunki, Hong [Tue, 27 Aug 2024 04:00:46 +0000 (13:00 +0900)]
Reset vertex buffer changed flag after bind buffer finished

We don't need to bind vertex buffer multiple times per each draw call.

Change-Id: I1e2bc251c204e1f1739d70d89ebc71316d8abe60
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoMerge changes I4e319559,Ibdba1b5f into devel/master
Eunki Hong [Mon, 26 Aug 2024 05:37:30 +0000 (05:37 +0000)]
Merge changes I4e319559,Ibdba1b5f into devel/master

* changes:
  (Offscreen) Temperal fix to Call DestroyContext() at DestroySurface()
  (OffscreenWindow) Acquire buffer forcibly if we cannot enqueue buffer

3 months agoUpdate WebView related modifications at once 07/316607/2
Jiyun Yang [Wed, 21 Aug 2024 04:20:34 +0000 (13:20 +0900)]
Update WebView related modifications at once

the following is the list of squashed 5 patches

Update WebView terminate crash

This reverts commit e0644c70f9bce7ab9607efc87fade71cdb853cfc.

Change-Id: Ief63e170d6fef044ccca3e699209282b29066e92

Add WebView APIs for fullscreen, text found, etc.

This reverts commit 3a578b0648fc670bb3a9015738b36e2200d44497.

Change-Id: I83ab644b87974c1722b9476033fd5951699eaa1e

Add a WebView API for notifying orientation change

This reverts commit 33ce126fccbe472a453a2ee7f730dde279a38ee5.

Change-Id: Iee0fec2f067aed40864d697b829f64ca88ae5ed4

Add WebView Certificate policy decision error get and suspend

Change-Id: Iaa65e099a1d81331edea3f1483a87ee0525fb33b

Add WebView's JavascriptMessageHandler callback

- JavascriptMessageHandler callback which has two arguments of msg name and body

Change-Id: I4aadc9645fcab77124f1620c98e9475f3cdeca22

3 months agoMerge "Fix coverity issue : shader nullptr check + invalid iterator for release mode...
Eunki Hong [Mon, 26 Aug 2024 04:23:09 +0000 (04:23 +0000)]
Merge "Fix coverity issue : shader nullptr check + invalid iterator for release mode" into devel/master

3 months ago(Offscreen) Temperal fix to Call DestroyContext() at DestroySurface() 28/316628/1
Eunki, Hong [Mon, 26 Aug 2024 02:25:59 +0000 (11:25 +0900)]
(Offscreen) Temperal fix to Call DestroyContext() at DestroySurface()

Since it could be call DestroyContext when graphics are terminated,

Let we call DestroyContext at DestroySurface() API.

TODO : Let we call this API more clear way

Change-Id: I4e3195597d3d456df2281de21882bf7d446f9697
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago(OffscreenWindow) Acquire buffer forcibly if we cannot enqueue buffer 72/316572/3
Eunkiki Hong [Fri, 23 Aug 2024 08:38:23 +0000 (17:38 +0900)]
(OffscreenWindow) Acquire buffer forcibly if we cannot enqueue buffer

Since DDK don't cancel the enqueue buffer automatically, we should acquire tbm buffer by ourside manually.

Let we call acquire forcibly at PreRender time before render scene

Change-Id: Ibdba1b5fec5eac1e05b3feda26741e568ec8c6a0
Signed-off-by: Eunkiki Hong <eunkiki.hong@samsung.com>
3 months agoConsider custom shader in precompile 58/316058/2
sunghyun kim [Tue, 13 Aug 2024 03:55:40 +0000 (12:55 +0900)]
Consider custom shader in precompile

i added patch for consider custom shader in precompile
plus, add some logs

Change-Id: I0a0c5487e7e9b745e67d8eed052cb7717e8f9e77

3 months agoGraphics reflection for SPIRV 03/316003/17
Adam Bialogonski [Tue, 20 Aug 2024 15:29:00 +0000 (16:29 +0100)]
Graphics reflection for SPIRV

Current state:
- Using SPIRV Reflect
- All Graphics::Reflection APIs supported as in GLES
- Preparation done for creating Vulkan descriptor set layouts

Change-Id: I7c4869ff6584759868d360df990b060148912e3c

3 months agoAdded glslang support for Vulkan 86/316386/4
Adam Bialogonski [Fri, 23 Aug 2024 11:28:30 +0000 (12:28 +0100)]
Added glslang support for Vulkan

Shaders can compile to SPIRV in runtime.

Ubuntu glslang dev package is broken so added workaround to deps-check.cmake.

Change-Id: Id6102c743f61ddd324d26dcfa42564ae43977819