platform/core/uifw/dali-adaptor.git
2 weeks ago[Tizen] Replace the exception case in tizen backend. 81/324881/1 accepted/tizen_9.0_unified accepted/tizen/9.0/unified/20250611.103228
Wonsik Jung [Wed, 28 May 2025 07:35:30 +0000 (16:35 +0900)]
[Tizen] Replace the exception case in tizen backend.

Replace the excepption case in tizen backend when display server does not work.
When display server does not work, then ecore_wl2_display_connect() does not work and crash occurs in application size.
To handle the failure case where the display server does not work in the Tizen backend, you can modify the ecore_wl2_display_connect() function to avoid crashing the application.
Specifically, replace the exit() call with a more graceful error handling mechanism.

Change-Id: I25cb6cdaf8a4a9a64bb36ecdeef08a1505082c2e

5 weeks ago[Tizen] Hover events should also be interrupted when reset. 66/323866/1
joogab.yun [Thu, 8 May 2025 06:05:52 +0000 (15:05 +0900)]
[Tizen] Hover events should also be interrupted when reset.

Change-Id: I4fbccfaa358afe41255b3c41934e92d319336537

2 months ago[Tizen] Fix UNSAFE DirectRendering flush EndRenderPass well 27/321427/1 accepted/tizen/9.0/unified/20250410.163729
Eunki, Hong [Fri, 21 Mar 2025 06:15:03 +0000 (15:15 +0900)]
[Tizen] Fix UNSAFE DirectRendering flush EndRenderPass well

Since Context::ResetGLESState() reset current renderpass and render target info,
it might not worsk well for EndRenderPass stage.

Change-Id: If3223d784fa865565c457986acdfc1fdb40b92fb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 months ago[Tizen] Fix ISOLATE DirectRenderingGlView didn't show texture 03/321403/1
Eunki, Hong [Thu, 20 Mar 2025 08:35:32 +0000 (17:35 +0900)]
[Tizen] Fix ISOLATE DirectRenderingGlView didn't show texture

We didn't use native renderer's context even we use ISOLATE mode.

It just breakdown normal dali pipeline codes and textures

Change-Id: I8d3c2f7e9f88a186a8f24c6beaccc4d1a42a21ed
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Let we make multiple native render surface has seperated display 53/320953/1 accepted/tizen/9.0/unified/20250313.163507
Eunki, Hong [Fri, 7 Mar 2025 06:49:38 +0000 (15:49 +0900)]
[Tizen] Let we make multiple native render surface has seperated display

Until now, we make native render surface use single unique dummy buffer.
But if we try to use multiple displays at the same time,
it might use same EGLDisplay, so might have invalid dummy display.

To guard this case, let we keep dummy display staci for it.

Change-Id: If3fdcc9fb4d64a7bb8067452b61fbc18138e3205
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Fix typo error of native texture dependency checker 03/320303/1 accepted/tizen/9.0/unified/20250310.161040
Eunki, Hong [Wed, 26 Feb 2025 08:45:48 +0000 (17:45 +0900)]
[Tizen] Fix typo error of native texture dependency checker

Change-Id: Ifd5ea0273a1ccd5516a1ae56e80ff20172389462
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Fix rarely crash if NativeImage discarded after draw occured 96/320296/1
Eunki, Hong [Wed, 26 Feb 2025 07:36:50 +0000 (16:36 +0900)]
[Tizen] Fix rarely crash if NativeImage discarded after draw occured

It is possible s.t. DiscardNativeImage called before EndRenderPass called.

Until now, we remove the container directly. If this case,
the count of native texture dependency might be zero, so EndRenderPass logic
might be skipped!

To avoid this case, let we don't touch the contianer itself, and just mark
it as synced.

Change-Id: I3171493c0d72ccd58b7bdcacac47876ea32ed1d9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Reset vertex buffer cache at the end of flush 50/320150/4 accepted/tizen/9.0/unified/20250226.133030
Eunki, Hong [Mon, 24 Feb 2025 13:55:45 +0000 (22:55 +0900)]
[Tizen] Reset vertex buffer cache at the end of flush

We only check the internal value of VertexBufferBindingDescriptor.

But if the size of mImpl->mCurrentVertexBufferBindings changed, or cleared,
the vertex buffer's pointer might be same as previos old items.
In this case, we might miss vertex attribute, or VAO relative actions.

To avoid this case, let we clear current binded vertex
whenever if the size of mImpl->mCurrentVertexBufferBindings changed.

Change-Id: I8a4081d9ead39ea9927572876e1a6fe50bef376e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Do not call glInvalidateFramebuffer for DEPTH only TV profile 45/320145/2
Eunki, Hong [Mon, 24 Feb 2025 11:20:49 +0000 (20:20 +0900)]
[Tizen] Do not call glInvalidateFramebuffer for DEPTH only TV profile

Change-Id: Id7acc34b8b7339c2cf9580c2960a2f475c8da1f7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Do not call glInvalidateFramebuffer for STENCIL only TV profile 26/320126/1
Eunki, Hong [Mon, 24 Feb 2025 08:38:47 +0000 (17:38 +0900)]
[Tizen] Do not call glInvalidateFramebuffer for STENCIL only TV profile

Since TV graphic driver might have some issue, it print
some useless gles_error logs when we call glInvalidateFramebuffer with GL_STENCIL.

This log show only for TV case. So let we just ignore them, so reduce GPU
overhead.

Change-Id: If3f10acdc345dfc5c20b7a156dc92d4a2d341e2a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months ago[Tizen] Add early return condition when there is no fontconfig handle 90/320090/1 accepted/tizen/9.0/unified/20250224.171731
Bowon Ryu [Thu, 20 Feb 2025 06:13:13 +0000 (15:13 +0900)]
[Tizen] Add early return condition when there is no fontconfig handle

Change-Id: I4270e9d08185dc5e4c0016bb6b9d5d46f43cbcb5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months ago[Tizen] Fix fontclient coverity issue 89/320089/1
Bowon Ryu [Thu, 20 Feb 2025 03:19:31 +0000 (12:19 +0900)]
[Tizen] Fix fontclient coverity issue

Change-Id: Ib2c0bfb1f863c49f978a0836e305e9cedddc3824
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months ago[Tizen] Separate FontConfig handle 88/320088/1
Bowon Ryu [Wed, 19 Feb 2025 11:06:54 +0000 (20:06 +0900)]
[Tizen] Separate FontConfig handle

This patch changes FontClient to create and use a handle to FontConfig.
Previously we always used FontConfig globally.
There was no problem because DALi had already recognized and developed this internally.

However, since FontConfig is a library open to the system,
FontConfig may be used by other libs that dali does not know about in the same process,
which may cause Thread safe problems.

Change-Id: Ie603016f08376f9c5ca389069b6c8da7a345d7a2
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months ago[Tizen] Add locale api to text abstraction 87/320087/1
Bowon Ryu [Wed, 19 Feb 2025 02:28:46 +0000 (11:28 +0900)]
[Tizen] Add locale api to text abstraction

Prevents the setlocale system call from being called repeatedly.

Change-Id: Ibd00d7e0f8145a4a6aa305a3ba4997c351acbd18
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months ago[Tizen] Add DumpTree api 38/319738/1 accepted/tizen/9.0/unified/20250220.165936
Youngsun Suh [Mon, 11 Nov 2024 01:30:42 +0000 (10:30 +0900)]
[Tizen] Add DumpTree api

Change-Id: I997178022d5ad97a632aed580fb01704ca1665d8

3 months ago[Tizen] Add SetVideoHole() for EFL window 98/319698/1
dongsug.song [Sat, 15 Feb 2025 08:54:05 +0000 (17:54 +0900)]
[Tizen] Add SetVideoHole() for EFL window

Change-Id: Icd64c94992711a4e4d9468f562c1ef617a19f32c

3 months ago[Tizen] (Webp) Do not load file again if we know size and frame count 57/319657/1
Eunki, Hong [Fri, 14 Feb 2025 07:19:53 +0000 (16:19 +0900)]
[Tizen] (Webp) Do not load file again if we know size and frame count

For single webp case, we release the buffer data after load finished.
But user can request the GetImageSize() and GetImageCount().
In this case, we re-load the webp buffer again, and
fail to release the buffers until loader desturcted.

Change-Id: I04817b9e8c589937b36f821e7653b0257c54e067
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoFontconfig: Replace FcInitReinitialize with FcInitLoadConfigAndFonts 52/319652/1
ANZ1217 [Wed, 12 Feb 2025 05:33:17 +0000 (14:33 +0900)]
Fontconfig: Replace FcInitReinitialize with FcInitLoadConfigAndFonts

FcInitReinitialize() causes global font cache and config reload.
which may lead to race conditions and crashes.
Replaced it with FcInitLoadConfigAndFonts() to safely reload config within the current process without affecting others.

Change-Id: I5b4538eb1a309736fe1a862047aa660a7143da47

4 months ago[Tizen] Add Combining Diacritical Marks to text script 83/319383/1 accepted/tizen/9.0/unified/20250212.171241
Bowon Ryu [Fri, 7 Feb 2025 06:24:59 +0000 (15:24 +0900)]
[Tizen] Add Combining Diacritical Marks to text script

Combining Diacritical Marks is an inherited script.
This is not used alone; it basically follows the previous script.
On the dali side, this is handled as a COMMON script.

Change-Id: Ib373ada7e46caccf025660e9bbc3aa2acc4e12f5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 months ago[Tizen] Fix coverity issue : Convert uint32_t to float first, then minus operate 80/319280/1 accepted/tizen/9.0/unified/20250210.170331
Eunki, Hong [Thu, 6 Feb 2025 05:59:42 +0000 (14:59 +0900)]
[Tizen] Fix coverity issue : Convert uint32_t to float first, then minus operate

Since it is possible that widthIn is zero, we should consider
the code with negavie cases.

Change-Id: I0c71d6336b2b415bc2af731ff738e79ac5fef9db
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Fix coverity : need to call bundle_free what we created by bundle_decode 79/319279/1
Eunki, Hong [Tue, 14 Jan 2025 03:06:28 +0000 (12:06 +0900)]
[Tizen] Fix coverity : need to call bundle_free what we created by bundle_decode

Change-Id: I2435bfcaa468a1e51605ebb9e38f717a212ccee4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] Collect strerror_r relative error log printing logs 24/319224/1
Eunki Hong [Mon, 3 Feb 2025 07:14:00 +0000 (16:14 +0900)]
[Tizen] Collect strerror_r relative error log printing logs

Let we collect all cases to file description error cases.

Until now, we use strerror_r return type value to print error logs.
But it will not works at XSI base kernel.
And also, strerror_r need a lots of parameters so the line of codes increased
wherever we want to print errno value.

So we can control both GNU and XSI case,
and easly check the error occured point.

Change-Id: Ice950acacf7cefc1e3dc3c1427342b91cfa66b5b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months ago[Tizen] The range of touch coordinates is [0:width - 1] and [0:height - 1] 76/319076/2 accepted/tizen/9.0/unified/20250206.165035
joogab.yun [Mon, 3 Feb 2025 06:46:48 +0000 (15:46 +0900)]
[Tizen] The range of touch coordinates is [0:width - 1] and [0:height - 1]

So, modify coordinate calculation when rotating.

Change-Id: I1ce7788a098104e1a729e2c78a7cf3fb49b7e31a

4 months ago[Tizen] Fix potential memory leak in bidirectional support. 55/318655/1 accepted/tizen/9.0/unified/20250123.015624
ANZ1217 [Thu, 16 Jan 2025 07:46:57 +0000 (16:46 +0900)]
[Tizen] Fix potential memory leak in bidirectional support.

the leak occurs when DestroyInfo() called more than once with same index.

Change-Id: I477bd9c979ee78904e644d7a40bb3d370d13e293

4 months ago[Tizen] Fix Unicode Byte Order Mark was misinterpreted as arabic character. 54/318654/1
ANZ1217 [Fri, 17 Jan 2025 08:59:14 +0000 (17:59 +0900)]
[Tizen] Fix Unicode Byte Order Mark was misinterpreted as arabic character.

/ufeff is Unicode BOM character.

Change-Id: I1cc2a17e5cf9578de15747cef0b7a531a67a8cfa

4 months ago[Tizen] Fix moving a reference with std::move in LRUCacheContainer 80/318380/1 accepted/tizen/9.0/unified/20250117.022457
ANZ1217 [Thu, 16 Jan 2025 06:47:33 +0000 (15:47 +0900)]
[Tizen] Fix moving a reference with std::move in LRUCacheContainer

Change-Id: I2ffe44ab4d75bc64fc7903a303d60ed00e4f3db5

4 months ago[Tizen] Prepare NativeTexture only once per each frames 37/318237/1
Eunki, Hong [Tue, 14 Jan 2025 10:49:28 +0000 (19:49 +0900)]
[Tizen] Prepare NativeTexture only once per each frames

Let we make ensure that GLES::Texture::Prepare() called
only 1 times per each frames.

It will guard to update native texture target multiple times
so EGLImage confused.

Change-Id: Ia243e378a0305e94df3ec444cdbdf22e25dfed7e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Update emoji variation sequences to Version 16.0 11/317911/1
ANZ1217 [Tue, 7 Jan 2025 08:41:24 +0000 (17:41 +0900)]
[Tizen] Update emoji variation sequences to Version 16.0

Change-Id: I86f91ac9fb539187e148580232cc25bab8f2c459

5 months ago[Tizen] Print infomation if we create eglSurface from Native if need 17/317617/1 accepted/tizen/9.0/unified/20250106.164718
Eunki Hong [Thu, 2 Jan 2025 15:01:56 +0000 (00:01 +0900)]
[Tizen] Print infomation if we create eglSurface from Native if need

Change-Id: I8c45c8e228b8ba9afdf3e4606a012309081db8a4
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Fix compile error when debug enabled 95/317495/2
Eunki Hong [Thu, 2 Jan 2025 16:29:46 +0000 (01:29 +0900)]
[Tizen] Fix compile error when debug enabled

Change-Id: Ifa1308f71dbffcb1d4ba3441d7959d47e1b0ff22
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Do not call RequestUpdateOnce, instead Deiconify 45/317345/1 accepted/tizen/9.0/unified/20250102.114440
Eunki, Hong [Mon, 30 Dec 2024 11:14:10 +0000 (20:14 +0900)]
[Tizen] Do not call RequestUpdateOnce, instead Deiconify

We can only assume that Deiconify signal can assume that window is valid.
Other API is just kind of request to window server, so we could not send
rendering forcibly.

Change-Id: I6d6b9348d4661efb241cb6aa24209346d908f5de
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Skip Rendering if native texture not prepared 20/317120/1
Eunki Hong [Tue, 24 Dec 2024 11:27:50 +0000 (20:27 +0900)]
[Tizen] Skip Rendering if native texture not prepared

We should not render the program if texture was not prepared.
Also, if CreateResource failed, mEglImageExtensions might be nullptr.
So we need to make a nullptr check if CreateResource failed, and try to
call other API, like PrepareTexture().

Change-Id: Ic22ba6500faec496f94e6cc2f0cfdcd502bf3999
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Add WebView DeviceListGet,SetDefaultAudio 09/317009/1
dongsug.song [Mon, 23 Dec 2024 05:28:37 +0000 (14:28 +0900)]
[Tizen] Add WebView DeviceListGet,SetDefaultAudio

Change-Id: I0ee23a2f46dce52651e3f33b3a7ac1c4132e0da7

5 months ago[Tizen] Support CURLOPT_MAXREDIRS as environment + Print downloaded buffer if image... 43/316843/1 accepted/tizen/9.0/unified/20241223.115338
Eunki, Hong [Wed, 18 Dec 2024 08:38:12 +0000 (17:38 +0900)]
[Tizen] Support CURLOPT_MAXREDIRS as environment + Print downloaded buffer if image load failed

Change-Id: I5053ff539da684357d0c5e73d7d57c36423aa976
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Call glFlush after create sync 30/316630/1
Eunki, Hong [Mon, 16 Dec 2024 07:53:33 +0000 (16:53 +0900)]
[Tizen] Call glFlush after create sync

It was mendentary job after call glFlush, or similar job between
create sync, and wait.

Let we call glFlush directly after create sync object.

Change-Id: Ia50a80929b6e6d33bfc299993f6513074460cfe1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] (TV only) Create NativeTexture sync after eglSwapBuffer 27/316627/1
Eunki, Hong [Fri, 13 Dec 2024 03:21:23 +0000 (12:21 +0900)]
[Tizen] (TV only) Create NativeTexture sync after eglSwapBuffer

Since eglCreateSyncKHR try to allocate full buffer scene at GPU side,
it will increase GPU memory.

It might not a common sense but, let we make eglCreateSyncKHR called
after eglSwapBuffer or glFlush called.

Additionary, let we call glFlush after create sync object.
Since we cannot assume that eglSwapBuffer will be called after now.

Note : This logic only be used for TV profile.
Is it required for common platform?

Change-Id: Ieb8d5c62e9e86fc95c3cc79310e26bcaeea2eb25
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Print error logs before execute callback 15/316615/1 accepted/tizen/9.0/unified/20241216.142729
Eunki Hong [Sat, 14 Dec 2024 05:59:55 +0000 (14:59 +0900)]
[Tizen] Print error logs before execute callback

Since we throw assert at callback if FD_ERROR occured,
we should print error logs before execute callback.

Change-Id: I8f498b020e0f9da505b6ca8847c953b0d2e7d280
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months ago[Tizen] Add WebView FeedMouseWheel as hidden api 91/316591/1
dongsug.song [Sat, 14 Dec 2024 06:55:04 +0000 (15:55 +0900)]
[Tizen] Add WebView FeedMouseWheel as hidden api

Change-Id: I94d7aeec07226f9af4b468febf89627b6371be39

6 months agoMerge "[Tizen] Print log for application and tizen frameworks" into tizen_9.0
Eunki Hong [Fri, 13 Dec 2024 02:12:13 +0000 (02:12 +0000)]
Merge "[Tizen] Print log for application and tizen frameworks" into tizen_9.0

6 months ago[Tizen] Add debug log if eventfd trigger, or triggered 25/316325/2
Eunki, Hong [Thu, 12 Dec 2024 09:06:03 +0000 (18:06 +0900)]
[Tizen] Add debug log if eventfd trigger, or triggered

Change-Id: If2933b1bbae34b30cabac2e9849b9bbcf12c2bf5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Let TV profile print debug level logs as INFO level also 24/316324/1
Eunki, Hong [Thu, 12 Dec 2024 08:23:35 +0000 (17:23 +0900)]
[Tizen] Let TV profile print debug level logs as INFO level also

Change-Id: I46750e96ade246bf9c080ae9986cfb8e8cd52f1e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Print log for application and tizen frameworks 26/316226/2
Eunki, Hong [Thu, 12 Dec 2024 01:55:57 +0000 (10:55 +0900)]
[Tizen] Print log for application and tizen frameworks

Change-Id: I9835e2b5d2d6e67dd5becd15d517fcd3eefcef72
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Ensure to destroy eglSyncObject at the same context of creation 92/316092/1 accepted/tizen/9.0/unified/20241211.021251
Eunki, Hong [Wed, 4 Dec 2024 07:22:08 +0000 (16:22 +0900)]
[Tizen] Ensure to destroy eglSyncObject at the same context of creation

To make ensure the eglSyncObject destroy at the same context of write,
let we collect discarded objects per each GLES::Context, and release them
when the context be current, after PostRender().

Furthermore, Let we destroy the sync objects before
content be destroyed.

And also, let we make TextureDependency use SyncObjectId
instead of AgingSyncObject* directly.
So, we don't need to notify context invalidated to
TextureDependency class. If some sync object deleted due to
context destruction, SyncObjectId will return nullptr from
SyncPool. So we only need to notify pool only.

Change-Id: I8fed7d3fecad7f9e11d4db686ae2271106f588d3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Revert "[Tizen] Block NativeTexture dependency codes" 10/315910/1 accepted/tizen/9.0/unified/20241207.044223
Eunki, Hong [Fri, 6 Dec 2024 04:26:45 +0000 (13:26 +0900)]
[Tizen] Revert "[Tizen] Block NativeTexture dependency codes"

This reverts commit 13e5a3e8248ac6f0e4562456278210c8f11835d4.

Change-Id: I8fdf158a9986a46b964da3c2ab08484d124d0e01

6 months ago[Tizen] Block NativeTexture dependency codes 96/315896/1
Eunki, Hong [Fri, 6 Dec 2024 01:32:07 +0000 (10:32 +0900)]
[Tizen] Block NativeTexture dependency codes

This Patch only for VD TRUNK-2025 Branch. We should not release it as public

Change-Id: I9c893f368f3c735ab1c870b843e3e5525dfdbcef
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoMerge "Make sure Emit* is only enabled for ActorAccessible" into tizen_9.0
Eunki Hong [Fri, 6 Dec 2024 01:00:49 +0000 (01:00 +0000)]
Merge "Make sure Emit* is only enabled for ActorAccessible" into tizen_9.0

6 months ago[Tizen] Remove null-terminate character as size of shader code 64/315864/1
Eunki, Hong [Thu, 5 Dec 2024 00:35:47 +0000 (09:35 +0900)]
[Tizen] Remove null-terminate character as size of shader code

Follow by glShaderSource spec, we should not include null-terminate
character as size value.

Change-Id: I6773cd5f9c65c456c9aa44bafb3bedf44769386d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Make NativeDisplay keep as global static value 63/315863/1
Eunki, Hong [Wed, 4 Dec 2024 23:56:57 +0000 (08:56 +0900)]
[Tizen] Make NativeDisplay keep as global static value

Let we keep native display as static variable.
So it will return same pointer even if we Terminate & Restart
OffscreenWindow

More detail, Follow by eglSpec, eglGetDipslay() creates new EGLDisplay per each input paramater,
and never be deleted until process terminated. But we can re-create DisplayConnecter multiple times
when we are using OffscreenApplication.

So, we need to keep dummy NativeDisplay pointer to avoid creating multiple EGLDisplay creation leak.

Change-Id: I5d5ff5638c3da0d9a3c94a22b27e35d07b09bb45
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoMake sure Emit* is only enabled for ActorAccessible 59/315859/1
Youngsun Suh [Wed, 4 Dec 2024 08:03:21 +0000 (17:03 +0900)]
Make sure Emit* is only enabled for ActorAccessible

Change-Id: Ia6b3525f9a93aa1d7e4a5361890ee7e62ea1bb11

6 months ago[Tizen] Do not append \0 if we already add \0 93/315693/1
Eunki, Hong [Wed, 4 Dec 2024 05:01:46 +0000 (14:01 +0900)]
[Tizen] Do not append \0 if we already add \0

Tizen emulator driver don't support string with end by \0\0.
Let we avoid this case.

Change-Id: Ie5285c3917ba6ef71dcb108f7c2d29f1b18e4d62
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Free sync object immediately if current context is same as created context 91/315691/1
Eunki, Hong [Wed, 4 Dec 2024 02:46:50 +0000 (11:46 +0900)]
[Tizen] Free sync object immediately if current context is same as created context

Until now, we usually destroy sync object at surfaceless context
at the end of rendering.

But it might have some context switching overhead occured for some driver.

To avoid it, let we try to free sync object if read context is
same as write context, and it is already synced.

Change-Id: Ibec3cb40379ad341ff757362ee6cb529806153a3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Keep rendered buffer in framebuffer 73/315573/1
Seungho Baek [Fri, 15 Nov 2024 06:55:04 +0000 (15:55 +0900)]
[Tizen] Keep rendered buffer in framebuffer

Change-Id: I20d7bdb2541a41eae1a440e25ad96c88e216923d
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
6 months ago[Tizen] Fix gcc-14 compile error : gles-texture-dependency-checker.h 42/315442/1
Eunki Hong [Thu, 28 Nov 2024 12:49:03 +0000 (21:49 +0900)]
[Tizen] Fix gcc-14 compile error : gles-texture-dependency-checker.h

Change-Id: Ifd57c3ded4b5deed50be63bb5d0265d005c4bff0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Add KeyEventMonitorSignal 92/321092/1 accepted/tizen/9.0/unified/20241201.053513
joogab.yun [Tue, 26 Nov 2024 06:34:02 +0000 (15:34 +0900)]
[Tizen] Add KeyEventMonitorSignal

Change-Id: If898a915deeb74a827ea868d3eca91ddc57144a3

6 months ago[Tizen] Fix for UserMediaPermissionRequest object to be maintained by user
dongsug.song [Mon, 21 Oct 2024 10:55:54 +0000 (19:55 +0900)]
[Tizen] Fix for UserMediaPermissionRequest object to be maintained by user

Change-Id: If24971f3e1f1e7871b16a4be0bb78dd51f243d03

6 months ago[Tizen] Add APIs for setting IME position, cursor theme name.
Bowon Ryu [Tue, 26 Nov 2024 08:01:56 +0000 (17:01 +0900)]
[Tizen] Add APIs for setting IME position, cursor theme name.

This reverts commit 1da379ecb0dc07bb02d4e8a86cc444c01058b9a4.

6 months ago[Tizen] Make GetTexture() method
Bowon Ryu [Tue, 26 Nov 2024 08:01:48 +0000 (17:01 +0900)]
[Tizen] Make GetTexture() method

This reverts commit b0b105225f0ee9689d58b3f299dde66a5cee2c90.

6 months ago[Tizen] Revert "Use Texture for not file save case"
Bowon Ryu [Tue, 26 Nov 2024 08:01:38 +0000 (17:01 +0900)]
[Tizen] Revert "Use Texture for not file save case"

This reverts commit 53cccb90ef41dd9ee7239a33d8f2be9494dda509.

6 months ago[Tizen] Support asan build option
Bowon Ryu [Tue, 26 Nov 2024 08:01:31 +0000 (17:01 +0900)]
[Tizen] Support asan build option

This reverts commit 127a543a188d480cb75ad0ea3cc911a0f30bee3f.

6 months agoMerge branch 'devel/master' into tizen_9.0
Bowon Ryu [Tue, 26 Nov 2024 08:00:39 +0000 (17:00 +0900)]
Merge branch 'devel/master' into tizen_9.0

Change-Id: I2a63a52e91d7264715cc8cb45f0d09e51ce7fc06

6 months agoRevert "[Tizen] Support asan build option"
Bowon Ryu [Tue, 26 Nov 2024 08:00:22 +0000 (17:00 +0900)]
Revert "[Tizen] Support asan build option"

This reverts commit 3a638e3898253732bf3821c87d0bf1bdba70f06a.

6 months agoRevert "[Tizen] Revert "Use Texture for not file save case"
Bowon Ryu [Tue, 26 Nov 2024 08:00:16 +0000 (17:00 +0900)]
Revert "[Tizen] Revert "Use Texture for not file save case"

This reverts commit e4ecdc4014db308b2635f1ca123998ad0d27f6d3.

6 months agoRevert "[Tizen] Make GetTexture() method"
Bowon Ryu [Tue, 26 Nov 2024 08:00:12 +0000 (17:00 +0900)]
Revert "[Tizen] Make GetTexture() method"

This reverts commit e49a62eb436dbc6bdf613bb301bff3fe0d262567.

6 months agoRevert "[Tizen] Add APIs for setting IME position, cursor theme name."
Bowon Ryu [Tue, 26 Nov 2024 08:00:07 +0000 (17:00 +0900)]
Revert "[Tizen] Add APIs for setting IME position, cursor theme name."

This reverts commit bfd33e785630715e53e48ab9c2187e55a5cb8fff.

6 months agoRevert "[Tizen] Fix eldbus methods creating MessagePtr to deallocate Eldbus_Message"
Bowon Ryu [Tue, 26 Nov 2024 07:59:25 +0000 (16:59 +0900)]
Revert "[Tizen] Fix eldbus methods creating MessagePtr to deallocate Eldbus_Message"

This reverts commit fe351b18ca630523264104933c464984c3f9ab7c.

6 months agoMerge "Fix eldbus methods creating MessagePtr to deallocate Eldbus_Message" into...
Jaehyun Cho [Tue, 26 Nov 2024 03:38:59 +0000 (03:38 +0000)]
Merge "Fix eldbus methods creating MessagePtr to deallocate Eldbus_Message" into tizen_9.0

6 months agoMerge "Fix eldbus methods creating MessagePtr to deallocate Eldbus_Message" into...
Jaehyun Cho [Tue, 26 Nov 2024 03:38:53 +0000 (03:38 +0000)]
Merge "Fix eldbus methods creating MessagePtr to deallocate Eldbus_Message" into devel/master

6 months ago[Tizen] Fix memory leak of A11y 26/312826/2
Hosang Kim [Fri, 14 Jun 2024 07:38:05 +0000 (16:38 +0900)]
[Tizen] Fix memory leak of A11y

Fix issue where StringStorage is not cleared when A11y is forced down

Change-Id: Ic999a473850ee1c0f1f60e4343b4ca37e81fbcb5

6 months ago[Tizen] Add APIs for setting IME position, cursor theme name. 19/320719/2
huayong.xu [Thu, 21 Nov 2024 09:27:12 +0000 (17:27 +0800)]
[Tizen] Add APIs for setting IME position, cursor theme name.

Change-Id: I1ea94ca6221609a4759f96aaa280ebee251cd172

6 months agoMerge "Use Dali::Integration::TimeChecker feature instead duplicate macro (phase...
Eunki Hong [Tue, 26 Nov 2024 01:18:44 +0000 (01:18 +0000)]
Merge "Use Dali::Integration::TimeChecker feature instead duplicate macro (phase 2)" into devel/master

6 months agoMerge "Use Dali::Integration::TimeChecker feature instead duplicate macro (phase...
Eunki Hong [Tue, 26 Nov 2024 01:18:04 +0000 (01:18 +0000)]
Merge "Use Dali::Integration::TimeChecker feature instead duplicate macro (phase 1)" into devel/master

6 months agoMerge changes I5068bdac,I45974dc1 into devel/master
Eunki Hong [Tue, 26 Nov 2024 01:17:55 +0000 (01:17 +0000)]
Merge changes I5068bdac,I45974dc1 into devel/master

* changes:
  Let we add self-depenedency check for native texture
  Print log for extension and sync case + Use OrderedSet for EglSyncObject

6 months agoMerge "Print some logs for initialize UpdateRenderThread + Revert TV profile trace...
Eunki Hong [Mon, 25 Nov 2024 14:43:34 +0000 (14:43 +0000)]
Merge "Print some logs for initialize UpdateRenderThread + Revert TV profile trace block" into devel/master

6 months agoMerge "(CanvasRenderer) Let we use CanvasRenderer use queue size 2 as default + Cance...
Eunki Hong [Mon, 25 Nov 2024 14:43:08 +0000 (14:43 +0000)]
Merge "(CanvasRenderer) Let we use CanvasRenderer use queue size 2 as default + Cancel old buffer if dequeue failed" into devel/master

6 months agoMerge "Fix ecore_device_class_get(address out of buffer)" into devel/master
Jeongmin Lee [Mon, 25 Nov 2024 12:10:15 +0000 (12:10 +0000)]
Merge "Fix ecore_device_class_get(address out of buffer)" into devel/master

6 months agoUse Dali::Integration::TimeChecker feature instead duplicate macro (phase 2) 09/320909/2
Eunki, Hong [Mon, 25 Nov 2024 11:02:57 +0000 (20:02 +0900)]
Use Dali::Integration::TimeChecker feature instead duplicate macro (phase 2)

Let we use Dali::Integration::TimeChecker feature for ecore wl2

Change-Id: Id10a8fc627be9ab23c06b3ff7042a2e759f0b6ee
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoLet we add self-depenedency check for native texture 56/320356/10
Eunki, Hong [Thu, 14 Nov 2024 01:59:53 +0000 (10:59 +0900)]
Let we add self-depenedency check for native texture

Since GPU don't assume that NativeImage read done after eglSwapBuffer,
We should add syncFence manually, and check whether previous tbm render done.

But synce eglCreateSync spend a lots of time, we should create only 1 time per
each frame.

TODO : We don't need to client-wait for non-acquried case. But it need to open
new API for NativeImageInterface. So let we implement it later.

Change-Id: I5068bdac203850b241d330e01f23abb312b1da16
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoPrint log for extension and sync case + Use OrderedSet for EglSyncObject 26/320326/10
Eunki, Hong [Wed, 13 Nov 2024 07:42:44 +0000 (16:42 +0900)]
Print log for extension and sync case + Use OrderedSet for EglSyncObject

Let we also check extension API using duration check if environment enabled.

+

Do not spend time to erase SyncObject finding.
It will spend time without no reason.

Change-Id: I45974dc12031298959619bc5bda96b39264de11b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoUse Dali::Integration::TimeChecker feature instead duplicate macro (phase 1) 30/320730/2
Eunki Hong [Thu, 21 Nov 2024 11:35:33 +0000 (20:35 +0900)]
Use Dali::Integration::TimeChecker feature instead duplicate macro (phase 1)

Let we use Dali::Integration::TimeChecker feature for gles

Change-Id: I13f6f7f9015e38a4df9dc29333c91e459935449d
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
6 months agoPrint some logs for initialize UpdateRenderThread + Revert TV profile trace block 59/320759/3
Eunki Hong [Fri, 22 Nov 2024 04:36:12 +0000 (13:36 +0900)]
Print some logs for initialize UpdateRenderThread + Revert TV profile trace block

Change-Id: Ic6f3f82598afd9d4690a48e040f5592c6ce113ff
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
6 months ago(CanvasRenderer) Let we use CanvasRenderer use queue size 2 as default + Cancel old... 42/320642/3
Eunki, Hong [Wed, 20 Nov 2024 05:38:27 +0000 (14:38 +0900)]
(CanvasRenderer) Let we use CanvasRenderer use queue size 2 as default + Cancel old buffer if dequeue failed

Since we don't have good timing to free-release remained buffer,
let we just use tbm_surface_queue_h has 2

+

Let we ignore latest queued image if dequeue failed.
In this case, we can ensure that success queued buffer is always
latest buffer now.

Change-Id: I8e49b6d56fc3b6b60cdae9647b998c7baea52dec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months agoFix ecore_device_class_get(address out of buffer) 60/320660/9
jmm [Wed, 20 Nov 2024 11:15:07 +0000 (20:15 +0900)]
Fix ecore_device_class_get(address out of buffer)

Change-Id: I135ae8d0e01e38ba0657382f0040d755dab463ba

6 months agoMerge "DALi Version 2.3.51" into devel/master
David Steele [Fri, 22 Nov 2024 16:04:37 +0000 (16:04 +0000)]
Merge "DALi Version 2.3.51" into devel/master

6 months agoDALi Version 2.3.51 09/320809/1 dali_2.3.51
Adeel Kazmi [Fri, 22 Nov 2024 16:03:04 +0000 (16:03 +0000)]
DALi Version 2.3.51

Change-Id: Ic03990fe054b43633bb70df3aa61f8f3c1826921

6 months agoMerge "Shader Parser and SPIRV generator changes" into devel/master
Adeel Kazmi [Fri, 22 Nov 2024 11:51:21 +0000 (11:51 +0000)]
Merge "Shader Parser and SPIRV generator changes" into devel/master

6 months agoFix eldbus methods creating MessagePtr to deallocate Eldbus_Message 67/320767/1
Jaehyun Cho [Thu, 21 Nov 2024 06:25:02 +0000 (15:25 +0900)]
Fix eldbus methods creating MessagePtr to deallocate Eldbus_Message

When MessagePtr is created, Eldbus_Message is also created internally.
Therefore, when MessagePtr is destructed, the Eldbus_Message should be
deallocated as well to prevent memory leak.

So some methods creating MessagePtr are fixed to call
eldbus_message_unref for Eldbus_Message when MessagePtr is destructed.

To avoid double deallocation by calling eldbus_message_unref twice,
eldbus_connection_send_impl is fixed to release its MessagePtr argument.

Change-Id: I7f21a0f62ca54d1838e0742cad6331d4668e0aba

6 months agoFix eldbus methods creating MessagePtr to deallocate Eldbus_Message 66/320766/1
Jaehyun Cho [Thu, 21 Nov 2024 06:25:02 +0000 (15:25 +0900)]
Fix eldbus methods creating MessagePtr to deallocate Eldbus_Message

When MessagePtr is created, Eldbus_Message is also created internally.
Therefore, when MessagePtr is destructed, the Eldbus_Message should be
deallocated as well to prevent memory leak.

So some methods creating MessagePtr are fixed to call
eldbus_message_unref for Eldbus_Message when MessagePtr is destructed.

To avoid double deallocation by calling eldbus_message_unref twice,
eldbus_connection_send_impl is fixed to release its MessagePtr argument.

Change-Id: I7f21a0f62ca54d1838e0742cad6331d4668e0aba

6 months agoMerge "Skip GPU that doesn't support Vulkan 1.3 or above" into devel/master
David Steele [Thu, 21 Nov 2024 16:24:16 +0000 (16:24 +0000)]
Merge "Skip GPU that doesn't support Vulkan 1.3 or above" into devel/master

6 months agoMerge "Ensured clear color vector is the right size" into devel/master
David Steele [Thu, 21 Nov 2024 16:22:50 +0000 (16:22 +0000)]
Merge "Ensured clear color vector is the right size" into devel/master

6 months agoSkip GPU that doesn't support Vulkan 1.3 or above 42/320742/3
Richard Huang [Thu, 21 Nov 2024 14:32:00 +0000 (14:32 +0000)]
Skip GPU that doesn't support Vulkan 1.3 or above

Change-Id: I61964212e086c848160be3e477444a36ca42a808

6 months agoMake ShaderPreCompiler as DALI_ADAPTOR_API 81/320681/3
Eunki Hong [Thu, 21 Nov 2024 01:17:46 +0000 (10:17 +0900)]
Make ShaderPreCompiler as DALI_ADAPTOR_API

ShaderPreCompiler defined at dali-adaptor now.
Let we make matched keyword.

Change-Id: Ied0be58321f69da459e80f87a8dd0052e8ffd14b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
6 months agoMerge "Merged descriptor sets for shared UBOs" into devel/master
David Steele [Wed, 20 Nov 2024 17:15:02 +0000 (17:15 +0000)]
Merge "Merged descriptor sets for shared UBOs" into devel/master

6 months agoMerge "Vulkan Tizen Build" into devel/master
Adeel Kazmi [Wed, 20 Nov 2024 16:02:15 +0000 (16:02 +0000)]
Merge "Vulkan Tizen Build" into devel/master

6 months agoVulkan Tizen Build 17/318817/12
Adeel Kazmi [Thu, 10 Oct 2024 16:05:22 +0000 (17:05 +0100)]
Vulkan Tizen Build

Change-Id: Ia119b4914d1f958a6e9ab726dd96934f7f3bb93d

6 months agoShader Parser and SPIRV generator changes 26/320626/3
Adam Bialogonski [Tue, 19 Nov 2024 15:35:12 +0000 (15:35 +0000)]
Shader Parser and SPIRV generator changes

- Assigning locations to in/out between stages when type is larger than 4 floats (mat2, mat3, mat4)
Example:

Vertex shader:
out (location=0) highp mat3 vMatrix;
out (location=3) highp float vNumber; // Location must be 3 not 1!

Fragment shader:
in (location=0) highp mat3 vMatrix;
in (location=3) highp float vNumber; // Location must be 3 not 1!

This patch doesn't deal with arrays and doesn't deal with input attributes in
vertex shader. It only resolves problem of default PBR shader.

- SPIRVGenerator::Generate() sates 'valid' flag correctly now (false on error)

Change-Id: I19ee9ac639baf30ef988a43c06ad6295f042c424

6 months ago(ShaderParser) Fix coverity issue : don't copy std::string 32/320632/1
Eunki, Hong [Wed, 20 Nov 2024 02:26:44 +0000 (11:26 +0900)]
(ShaderParser) Fix coverity issue : don't copy std::string

Change-Id: Ib5784503a1a6520f5bce43659ce91728e0dc784c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
6 months ago[Tizen] Make GetTexture() method accepted/tizen/9.0/unified/20241121.045831
jmm [Wed, 20 Nov 2024 01:24:55 +0000 (10:24 +0900)]
[Tizen] Make GetTexture() method

This reverts commit c7bfbc57e32f7c644b10642874d3a74ee0058377.

6 months ago[Tizen] Revert "Use Texture for not file save case
jmm [Wed, 20 Nov 2024 01:24:51 +0000 (10:24 +0900)]
[Tizen] Revert "Use Texture for not file save case

This reverts commit d40d4e07bba6d89edf711baabb791de2f43da164.

6 months ago[Tizen] Support asan build option
jmm [Wed, 20 Nov 2024 01:24:48 +0000 (10:24 +0900)]
[Tizen] Support asan build option

This reverts commit a2872da0f20d1fa472a6ff3dca503b014ca003e7.

6 months agoMerge branch 'devel/master' into tizen_9.0
jmm [Wed, 20 Nov 2024 01:24:34 +0000 (10:24 +0900)]
Merge branch 'devel/master' into tizen_9.0

Change-Id: I527c7b5cd4f62c851e4586e9b3942be40eea2d77