platform/core/uifw/dali-adaptor.git
2 years agoMemory Pool Logging 99/285299/5
David Steele [Thu, 22 Sep 2022 10:05:10 +0000 (11:05 +0100)]
Memory Pool Logging

Added methods to fetch the current capacity of graphics memory pools
Added an environment variable DALI_MEMORY_POOL_INTERVAL to trigger
logging of Core memory pools on a timer, and Graphics memory pools
from inside the render thread.

Added logging to PixelBuffer to log individual allocations (By setting
DALI_LOG_PIXEL_BUFFER_SIZE to "1" or higher, and enabling debug).
Added method to PixelData to log total allocation (By setting
DALI_OBJECT_PROFILER_INTERVAL to a non-zero value and enabling debug).

Change-Id: Ib65e16d33d7219456d0245bfe686c199dcfa330f

2 years agoMerge "Add a method to update the screen size" into devel/master
Heeyong Song [Mon, 12 Dec 2022 03:22:21 +0000 (03:22 +0000)]
Merge "Add a method to update the screen size" into devel/master

2 years agoRevert "Fix attribute cache bug"
Eunki, Hong [Fri, 9 Dec 2022 14:00:51 +0000 (23:00 +0900)]
Revert "Fix attribute cache bug"

This reverts commit 2c55cc6b056f93522e36943d7bbaf770a5aa2170.

2 years agoFix attribute cache bug 96/285296/2
Eunki, Hong [Thu, 8 Dec 2022 09:29:52 +0000 (18:29 +0900)]
Fix attribute cache bug

1. It is possible that GL_ACTIVE_ATTRIBUTES value is smaller than
location of attributes. If it happend, crashed due to mVertexInputAttributes.insert call.

To fix this crash issue, make mVertexInputAttributes size relative with location value,
not relative with GL_ACTIVE_ATTRIBUTES.
Also, It will guarantee that attribute's location can be index of it's real attrubutes.
(Since vector.insert operation shift the index, it was depend on the location input order.
and also slow)

2. Ensure the enable of vertex attributes.
Since  vertexInputState.attributes generated by Geometry in pipeline-cache system,
Change the attribute's list of geometry at the same shader was not worked.

TODO : Make VAO caching system works well. Currently, VAO doesn't useful.
We should found a way to EnableVertexAttribArray only with shader's information,
not depend on Geometry information.
or, we might need to calculate vertex attribute location list's hash, and use it as key.

Change-Id: I3b309833a0865ad175fabf376913c3ad91e64d4a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.2.5 59/285359/1 dali_2.2.5
Richard Huang [Fri, 9 Dec 2022 11:14:12 +0000 (11:14 +0000)]
DALi Version 2.2.5

Change-Id: I18debba5a58a3f1363e171b3b3fdfc62ca36cd52

2 years agoAdd a method to update the screen size 40/284440/4
Heeyong Song [Thu, 17 Nov 2022 06:15:46 +0000 (15:15 +0900)]
Add a method to update the screen size

The real screen size may be different from the value of the preinitialized state.
In case of ecore-wl2 backend, ecore_wl2_display_screen_size_get() may take some time.
So save the screen size when it is called first and updade it when needed.

Change-Id: Ief60c4f8ebcd5ba8b6dc7a0c74d8f22ed57bd757

2 years ago(Vector) Add RenderStopped method 62/284862/3
Heeyong Song [Tue, 29 Nov 2022 10:51:48 +0000 (19:51 +0900)]
(Vector) Add RenderStopped method

Change-Id: I6f708b7fdb9c13488f9a91ab51b5748dbb17793c

2 years agoMerge "Add FreeReleasedBuffers method to NativeImageSourceQueue" into devel/master
Heeyong Song [Thu, 8 Dec 2022 01:07:28 +0000 (01:07 +0000)]
Merge "Add FreeReleasedBuffers method to NativeImageSourceQueue" into devel/master

2 years agoMerge "Use environment variable for native image queue size" into devel/master
Heeyong Song [Tue, 6 Dec 2022 03:55:21 +0000 (03:55 +0000)]
Merge "Use environment variable for native image queue size" into devel/master

2 years agoMerge "Fix coverity issue : Adaptor available check in async task manager" into devel...
Eunki Hong [Tue, 6 Dec 2022 02:21:22 +0000 (02:21 +0000)]
Merge "Fix coverity issue : Adaptor available check in async task manager" into devel/master

2 years agoMerge "[ATSPI] Add ScrollStarted/ScrollFinished interface" into devel/master
Wonsik Jung [Tue, 6 Dec 2022 01:07:20 +0000 (01:07 +0000)]
Merge "[ATSPI] Add ScrollStarted/ScrollFinished interface" into devel/master

2 years agoAdd FreeReleasedBuffers method to NativeImageSourceQueue 61/284861/5
Heeyong Song [Tue, 29 Nov 2022 10:43:13 +0000 (19:43 +0900)]
Add FreeReleasedBuffers method to NativeImageSourceQueue

Change-Id: I39ee5656a71860cf688467bd8d2dc32a2e48a27d

2 years agoUse environment variable for native image queue size 56/284856/4
Heeyong Song [Tue, 29 Nov 2022 07:42:26 +0000 (16:42 +0900)]
Use environment variable for native image queue size

Change-Id: I2c847fce5e829050f551ba44aa59bb4a33f5a737

2 years agoMerge "DALi Version 2.2.4" into devel/master
Adeel Kazmi [Fri, 2 Dec 2022 12:02:03 +0000 (12:02 +0000)]
Merge "DALi Version 2.2.4" into devel/master

2 years agoDALi Version 2.2.4 06/285006/1 dali_2.2.4
Adam Bialogonski [Fri, 2 Dec 2022 10:24:18 +0000 (10:24 +0000)]
DALi Version 2.2.4

Change-Id: I29d19a6a12a91638c91be29d5277cab4b3943ec8

2 years agoMerge "Add window create event for DALi" into devel/master
Chihun Jeong [Fri, 2 Dec 2022 04:45:53 +0000 (04:45 +0000)]
Merge "Add window create event for DALi" into devel/master

2 years agoAdd window create event for DALi 78/284578/4
Chihun Jeong [Thu, 24 Nov 2022 04:00:35 +0000 (13:00 +0900)]
Add window create event for DALi

Change-Id: I12a59e3c30b677a3d6756b900db5982a40987a4e

2 years agoSupport MultiSampling FrameBuffer 14/284214/18
Eunki, Hong [Fri, 11 Nov 2022 13:51:29 +0000 (22:51 +0900)]
Support MultiSampling FrameBuffer

Let we check Multisampled Framebuffer system supported.
If then + If user setup specific sampling size, render to texture multisampled.

TODO : Ubuntu profile make some crash even it support this feature.
Other profiles are all works well. Until find the reason of this crash,
Just block Multisampled FBO feature in Ubuntu case.

Change-Id: I329a97e47b65479756d9e7d2c8a57660fc569fcb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix coverity issue : Adaptor available check in async task manager 29/284929/1
Eunki, Hong [Thu, 1 Dec 2022 04:50:41 +0000 (13:50 +0900)]
Fix coverity issue : Adaptor available check in async task manager

Change-Id: Iecd609cfd3237fc911647d98f96f3caf5f0033d1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago(Automated Tests) Added widget test cases to increase line/function coverage 78/284878/1
Adeel Kazmi [Tue, 29 Nov 2022 16:45:17 +0000 (16:45 +0000)]
(Automated Tests) Added widget test cases to increase line/function coverage

Change-Id: Iafe78701c47e61a39bd727e8b14410d4954e3ab3

2 years agoMerge "(Automated Tests) Added some tests to increase function/line coverage" into...
Adeel Kazmi [Tue, 29 Nov 2022 09:51:32 +0000 (09:51 +0000)]
Merge "(Automated Tests) Added some tests to increase function/line coverage" into devel/master

2 years agoMerge "Add DesiredWidth/Height for animated image loading" into devel/master
Eunki Hong [Tue, 29 Nov 2022 09:26:23 +0000 (09:26 +0000)]
Merge "Add DesiredWidth/Height for animated image loading" into devel/master

2 years ago(Automated Tests) Added some tests to increase function/line coverage 45/284845/1
Adeel Kazmi [Mon, 28 Nov 2022 18:21:49 +0000 (18:21 +0000)]
(Automated Tests) Added some tests to increase function/line coverage

Change-Id: I8e2d7e69a2a51b6117e7fccb39396f9175e79648

2 years agoFix svace issue (file-download writter null check) 94/284794/1
Eunki Hong [Sun, 27 Nov 2022 07:12:00 +0000 (16:12 +0900)]
Fix svace issue (file-download writter null check)

Change-Id: I35729eb2d6cc647eedb953fc7d9aaf70c3ae84a7
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 years agoAdd DesiredWidth/Height for animated image loading 94/284694/3
seungho [Tue, 28 Dec 2021 08:29:02 +0000 (17:29 +0900)]
Add DesiredWidth/Height for animated image loading

Change-Id: Iddf7e031f0c7dc646649b5a9f47bd648910d4b46

2 years agoMerge "DALi Version 2.2.3" into devel/master
Adeel Kazmi [Fri, 25 Nov 2022 11:13:12 +0000 (11:13 +0000)]
Merge "DALi Version 2.2.3" into devel/master

2 years agoDALi Version 2.2.3 68/284768/1 dali_2.2.3
Richard Huang [Fri, 25 Nov 2022 11:06:44 +0000 (11:06 +0000)]
DALi Version 2.2.3

Change-Id: I7ebe382ea41c2dcb9c1e8871ee823ae45e30a348

2 years agoRemove empty line of trace log 41/284741/1
Eunki, Hong [Thu, 24 Nov 2022 14:01:55 +0000 (23:01 +0900)]
Remove empty line of trace log

Change-Id: Ie51436ef00840d6cca693fdc90448ccb8678b942
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoAdd AsyncTaskManager 86/284586/8
tscholb [Mon, 21 Nov 2022 08:34:48 +0000 (17:34 +0900)]
Add AsyncTaskManager

Change-Id: I0a455873e747c36a8404a380dbfca72a00f529d5

2 years agoFix doxygen 1.9.1 compile error 66/284566/2
Eunki Hong [Sun, 20 Nov 2022 05:50:32 +0000 (14:50 +0900)]
Fix doxygen 1.9.1 compile error

Change-Id: I76c6318d6edcc42a129d7eff2dd4ff83b6e305d7
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 years agoAdd window minimize/restore/maximize event for DALi 05/283705/22
Chihun Jeong [Wed, 2 Nov 2022 04:40:13 +0000 (13:40 +0900)]
Add window minimize/restore/maximize event for DALi

Change-Id: Idbc956f8b3950ea24ecb1c279afacf6fdde53e91

2 years agoMerge "Prevented buffer clipping in network server" into devel/master
David Steele [Fri, 18 Nov 2022 14:20:14 +0000 (14:20 +0000)]
Merge "Prevented buffer clipping in network server" into devel/master

2 years agoMerge "Fixed bug in host trace logging" into devel/master
David Steele [Fri, 18 Nov 2022 14:19:06 +0000 (14:19 +0000)]
Merge "Fixed bug in host trace logging" into devel/master

2 years agoMerge "DALi Version 2.2.2" into devel/master
Adeel Kazmi [Fri, 18 Nov 2022 11:57:14 +0000 (11:57 +0000)]
Merge "DALi Version 2.2.2" into devel/master

2 years agoDALi Version 2.2.2 46/284546/1 dali_2.2.2
David Steele [Fri, 18 Nov 2022 11:49:43 +0000 (11:49 +0000)]
DALi Version 2.2.2

Change-Id: I09c1db9d2af26606345dd14020fd6fdc4efb8ce1

2 years agoMerge "Fixed corrupt image download via proxy server" into devel/master
Adeel Kazmi [Fri, 18 Nov 2022 10:08:37 +0000 (10:08 +0000)]
Merge "Fixed corrupt image download via proxy server" into devel/master

2 years agoFixed corrupt image download via proxy server 84/284484/2
David Steele [Thu, 17 Nov 2022 17:27:09 +0000 (17:27 +0000)]
Fixed corrupt image download via proxy server

Ensured memory writes fail fast by turning buffering off.
Curl should now always throw a WRITE_ERROR if writing
past the end of the buffer (i.e. the Content-Length was
incorrect).

If this is the case, then the file read is re-tried using
chunking.

Change-Id: Id1d44e05b96583f48b8a89ad6a42d1da0d2b3966

2 years agoPrevented buffer clipping in network server 02/284402/3
David Steele [Wed, 16 Nov 2022 16:16:59 +0000 (16:16 +0000)]
Prevented buffer clipping in network server

Marker output was clipped to 64 characters,
and new line was not inserted.

Changed to use asprintf rather than fixed size buffer.
Marker output is now properly outputting 1 per line.

Change-Id: Id7970486dff11f28ed41315c774509577b9ea32d

2 years agoFixed bug in host trace logging 23/187523/2
David Steele [Thu, 23 Aug 2018 20:26:11 +0000 (21:26 +0100)]
Fixed bug in host trace logging

Trace macros in Ubuntu were not using the server context properly, so asserted after
65536 frames.

Added a getter to the stat-context-manager to get contexts by name, then utilized this
to add custom markers for tracing code.

(Trace macros are turned off by default, so they don't affect performance)

Enable by re-configuring with --enable-trace or gbs build --define "enable_trace 1"
in dali-core and dali-adaptor.

On desktop, also re-configure dali-adaptor with --enable-networklogging, and
run with DALI_NETWORK_CONTROL=3. Connect to the server using "nc localhost 3031"
and type "set_marker 131" to enable Update/Render/Custom trace.

On target, custom tags are sent to ttrace.

Change-Id: Iaff816f33c6c6034629759d1727a520a5cf5faf1
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoMerge "Remove duplicated code" into devel/master
Eunki Hong [Wed, 16 Nov 2022 04:00:45 +0000 (04:00 +0000)]
Merge "Remove duplicated code" into devel/master

2 years agoRemove duplicated code 02/284302/1
Eunki, Hong [Tue, 15 Nov 2022 06:51:52 +0000 (15:51 +0900)]
Remove duplicated code

Change-Id: I749a0f13fa59aed7f09ae6308fb655dfd96d58c0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoChange GetTextureProperties 90/278990/3
Heeyong Song [Fri, 29 Jul 2022 02:38:15 +0000 (11:38 +0900)]
Change GetTextureProperties

Change-Id: I8542c7805a2206d039b6762a40e6cb626006727a

2 years agoRemove empty line of trace log 38/284238/2
Heeyong Song [Mon, 14 Nov 2022 06:17:52 +0000 (15:17 +0900)]
Remove empty line of trace log

Change-Id: I393395d6e1a4f2eaee4c511e11408b3baeacc680

2 years agoFix WebPLoading memory leak 51/284251/1
Heeyong Song [Mon, 14 Nov 2022 08:22:45 +0000 (17:22 +0900)]
Fix WebPLoading memory leak

Change-Id: I7dfe4f4ce2c970abade1ea19b912604dae703652

2 years agoFix wrong casting 43/284243/1
Heeyong Song [Mon, 14 Nov 2022 07:09:20 +0000 (16:09 +0900)]
Fix wrong casting

Change-Id: I88682ec17fea45f2e9c5d108d1a0c3af34a71370

2 years agoMerge "Fix SVACE issue" into devel/master
Heeyong Song [Mon, 14 Nov 2022 05:37:31 +0000 (05:37 +0000)]
Merge "Fix SVACE issue" into devel/master

2 years agoMerge "Support Device orientation and window orientation event." into devel/master
Wonsik Jung [Mon, 14 Nov 2022 00:49:49 +0000 (00:49 +0000)]
Merge "Support Device orientation and window orientation event." into devel/master

2 years agoDALi Version 2.2.1 95/284195/1 dali_2.2.1
Adeel Kazmi [Fri, 11 Nov 2022 10:49:36 +0000 (10:49 +0000)]
DALi Version 2.2.1

Change-Id: Ie9a7b2f1ff44d3afda527543b491dc2ac78019b2

2 years agoFix SVACE issue 71/284171/1
Heeyong Song [Fri, 11 Nov 2022 02:46:18 +0000 (11:46 +0900)]
Fix SVACE issue

DO_NOT_ASSIGN_SIZE_OF_INT
DO_NOT_CAST_LONG_TO_DOUBLE
INVALID_ASSIGNMENT_WITH_UNSIGNED_VALUES

Change-Id: Ic0bca81c31b7e181879a9d13276f2dc00c3ee806

2 years agoSupport Device orientation and window orientation event. 22/283622/9
Wonsik Jung [Mon, 31 Oct 2022 11:30:10 +0000 (20:30 +0900)]
Support Device orientation and window orientation event.

Supporting  Device orientation and Window Orienation event when device orientation is changed or window orientation is changed.
Window orientation event is emitted by display server.
To emit the Window Orientation event, AddAvailableOrientation() or SetPreferredOrientation() should be called before the device is rotated.
Otherwise, Device Orientation event is emitted by Application framework and any condition is not needed.

Change-Id: I78e8854e74810f31e7aa7403b8e913f50b67f3d2

2 years ago[ATSPI] Add ScrollStarted/ScrollFinished interface 24/284124/4
Hosang Kim [Fri, 28 Oct 2022 10:57:02 +0000 (19:57 +0900)]
[ATSPI] Add ScrollStarted/ScrollFinished interface

 This interface is used for scrollable object scroll started or
 finished.

Change-Id: I14c40e2bb624020762cc2c909410c7321d99e3f7

2 years agoMerge "Fixing LIBUV_X11 build on Ubuntu 22.04" into devel/master
David Steele [Tue, 8 Nov 2022 20:09:00 +0000 (20:09 +0000)]
Merge "Fixing LIBUV_X11 build on Ubuntu 22.04" into devel/master

2 years ago[Web] Fix WebView terminate crash 77/283677/9
Eunki, Hong [Tue, 1 Nov 2022 14:29:21 +0000 (23:29 +0900)]
[Web] Fix WebView terminate crash

Due to the web context closed before all webview released,
mPlugin and mDestroyWebEnginePtr are invalid.

This patch make reference count so we can assume that
plugin is alive

Change-Id: I15938f5b4a955bbf2fa40747939937bfe228ee3d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoChanged from SINCE_2_2.0 to SINCE_2_2.1 about WindowType 91/283891/1
joogab.yun [Mon, 7 Nov 2022 01:25:38 +0000 (10:25 +0900)]
Changed from SINCE_2_2.0 to SINCE_2_2.1 about WindowType

Change-Id: I953b79ca37eed67cd30f283189915f3098becd38

2 years agoMerge "Add Desktop window type." into devel/master
joogab yun [Mon, 7 Nov 2022 00:43:00 +0000 (00:43 +0000)]
Merge "Add Desktop window type." into devel/master

2 years agoFix Svace issue for 64bit 82/283882/1
Eunki, Hong [Fri, 4 Nov 2022 14:58:17 +0000 (23:58 +0900)]
Fix Svace issue for 64bit

Solve some convert from size_t to uint32_t case.

Change-Id: I2d59c69fb4cf2b136f6d8a306178a741bd82f0e9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.2.0 65/283865/1 dali_2.2.0
Adam Bialogonski [Fri, 4 Nov 2022 10:35:40 +0000 (10:35 +0000)]
DALi Version 2.2.0

Change-Id: I00bbb1a309e362586ccf36e2a9f955c991b7be99

2 years agoAdd Desktop window type. 31/283731/4
joogab.yun [Wed, 2 Nov 2022 08:33:11 +0000 (17:33 +0900)]
Add Desktop window type.

Change-Id: I5045d323ea2da61d924cb621e1f66830268a7bd1

2 years agoMove glyph cache manager into font-client-plugin-cache-handler 02/283802/5
Eunki, Hong [Thu, 3 Nov 2022 05:50:30 +0000 (14:50 +0900)]
Move glyph cache manager into font-client-plugin-cache-handler

Currently, glyph cache manager owned by each font-face-cache-item.
That mean, we can hold glyph cache as
{The number of font type} x {The number of font size} x 128(default).

This patch make we hold GlyphCacheManager hold as singletone.
So we can cache the glyph maximum 128(default) not relative with
the number of font type & size.

Change-Id: I85e3cec3d160a57496e839f0b87a24655861f981
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Fix static analysis bug in GLES::Context" into devel/master
David Steele [Fri, 28 Oct 2022 10:37:41 +0000 (10:37 +0000)]
Merge "Fix static analysis bug in GLES::Context" into devel/master

2 years agoMerge "DALi Version 2.1.46" into devel/master
David Steele [Fri, 28 Oct 2022 10:27:28 +0000 (10:27 +0000)]
Merge "DALi Version 2.1.46" into devel/master

2 years agoDALi Version 2.1.46 48/283548/1 dali_2.1.46
Richard Huang [Fri, 28 Oct 2022 10:25:23 +0000 (11:25 +0100)]
DALi Version 2.1.46

Change-Id: Ic46bf8ae849004e0ee9e14e8d9f9a633eae087e2

2 years agoFix static analysis bug in GLES::Context 44/283544/1
David Steele [Fri, 28 Oct 2022 09:09:44 +0000 (10:09 +0100)]
Fix static analysis bug in GLES::Context

Change-Id: I1fcfedbde1531650bf0916e88be9f79f0836ee09

2 years agoMerge "Fix native rendering context" into devel/master
Heeyong Song [Fri, 28 Oct 2022 02:48:51 +0000 (02:48 +0000)]
Merge "Fix native rendering context" into devel/master

2 years agoMerge "Fix svace issues" into devel/master
Bowon Ryu [Fri, 28 Oct 2022 01:36:28 +0000 (01:36 +0000)]
Merge "Fix svace issues" into devel/master

2 years agoFix native rendering context 74/283374/2
Heeyong Song [Tue, 25 Oct 2022 09:14:24 +0000 (18:14 +0900)]
Fix native rendering context

Change-Id: I729f0f7d8edac23978f0816c8a10a7cafa6d4bc2

2 years agoMerge "Fix race-condition when window is resized or rotated." into devel/master
Wonsik Jung [Fri, 28 Oct 2022 01:00:13 +0000 (01:00 +0000)]
Merge "Fix race-condition when window is resized or rotated." into devel/master

2 years agoFixing LIBUV_X11 build on Ubuntu 22.04 94/283494/1
David Steele [Thu, 27 Oct 2022 15:25:19 +0000 (16:25 +0100)]
Fixing LIBUV_X11 build on Ubuntu 22.04

Change-Id: Ia6bafee1a56de645aeaac5454af3e5ac99fdcf52

2 years agoFix svace issues 66/283466/1
Bowon Ryu [Thu, 27 Oct 2022 09:34:22 +0000 (18:34 +0900)]
Fix svace issues

Added some castings.

Change-Id: I97589cdb15e2f70844111cef3b02e73e09547496
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoSynchronize framebuffer textures on different contexts 40/283240/6
David Steele [Thu, 20 Oct 2022 18:29:56 +0000 (19:29 +0100)]
Synchronize framebuffer textures on different contexts

If a framebuffer's texture is read on a different context to
the one it was written on, then it needs synchronizing first.

This patch introduces a glFenceSync at the end of every render pass,
and calls GlWaitSync just before the texture is bound for a draw call.

The fenceSync is removed after 2 frames, as it cannot be re-used.
Unused fences are deleted at the end of the frame they are created.

Change-Id: I8ca2e7583836132f879d939377ed46c0b8a56556

2 years agoFix race-condition when window is resized or rotated. 71/281871/17
Wonsik Jung [Thu, 22 Sep 2022 21:49:01 +0000 (06:49 +0900)]
Fix race-condition when window is resized or rotated.

Internal dali window module has some variables and flags.
They are set by both main thread and render thread.
It has the effect of race condition when window is resized or rotated serval times.
This patch is to fix them.

Change-Id: I785fca0ba1cfaa90f418f1fe79ac000dd67e48ec

2 years ago(Window) Moved DownCast from devel-api to public-api 87/283387/1
Adeel Kazmi [Tue, 25 Oct 2022 15:06:43 +0000 (16:06 +0100)]
(Window) Moved DownCast from devel-api to public-api

This should now allow window to be used in WeakHandle

Change-Id: Ib9fe53ee65ff0e5508a6f37bc68c9ccc626d8bc7

2 years agoFix EGL initialization issue 17/283317/1
Heeyong Song [Mon, 24 Oct 2022 06:12:19 +0000 (15:12 +0900)]
Fix EGL initialization issue

Sometimes EGL image extensions are initialized after NativeImageSource is created.

Change-Id: I424c451a336ca4b9b7e85fae0785c8bf4f20a553

2 years agoMerge "DALi Version 2.1.45" into devel/master
Adeel Kazmi [Fri, 21 Oct 2022 10:57:11 +0000 (10:57 +0000)]
Merge "DALi Version 2.1.45" into devel/master

2 years agoDALi Version 2.1.45 83/283283/1 dali_2.1.45
David Steele [Fri, 21 Oct 2022 10:47:22 +0000 (11:47 +0100)]
DALi Version 2.1.45

Change-Id: I0a238d6c94457f3dd43a6c1657a0a27d19d5971f

2 years agoFix the buffer overflow issue when reading socket data 37/283237/2
Richard [Thu, 20 Oct 2022 15:43:28 +0000 (16:43 +0100)]
Fix the buffer overflow issue when reading socket data

Change-Id: I026d7ec67f16451d6bf43ca5062d59cbe2ea5150

2 years agoAdd trace logs to check performance 26/283126/2
Heeyong Song [Tue, 18 Oct 2022 10:09:30 +0000 (19:09 +0900)]
Add trace logs to check performance

Change-Id: I72023f9d7d1d4c70c760df40162162fe48258807

2 years agoMinor coverity issue fixes 12/282612/7
Eunki, Hong [Thu, 6 Oct 2022 11:10:50 +0000 (20:10 +0900)]
Minor coverity issue fixes

Fix some minor coverity issues that might has meanful

1. Implement missing move operation.
2. Remove float equal checks by ==, != operator.
3. unsigned int / unsigned char to uint32_t / uint8_t
4. Change missed value type (a.k.a float v = true;)

Change-Id: Ib6eb901919918488f2ff7085301e73a466b98019
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.44" into devel/master
David Steele [Fri, 14 Oct 2022 12:03:10 +0000 (12:03 +0000)]
Merge "DALi Version 2.1.44" into devel/master

2 years agoDALi Version 2.1.44 97/282997/1 dali_2.1.44
Adam Bialogonski [Fri, 14 Oct 2022 09:25:33 +0000 (10:25 +0100)]
DALi Version 2.1.44

Change-Id: I8c038406992ae513bb7b483196b7c33f4223d134

2 years agoModify window position data type 78/281978/14
Wonsik Jung [Sun, 25 Sep 2022 21:35:11 +0000 (06:35 +0900)]
Modify window position data type

Current WindowPosition has the unsigned int data type.
It means that current data type can not support the negative coordinate.
This patch is to support it.

Change-Id: I2e025d1adef71853dc07b45bb03102f8ba8614c2

2 years agoDALi Version 2.1.43 56/282656/1 dali_2.1.43
Adeel Kazmi [Fri, 7 Oct 2022 11:23:21 +0000 (12:23 +0100)]
DALi Version 2.1.43

Change-Id: I194404d19a392eb24ea2cac3b3279e93e4e48865

2 years agoDo not exit when making a cache directory fails 75/282575/1
Heeyong Song [Thu, 6 Oct 2022 06:14:10 +0000 (15:14 +0900)]
Do not exit when making a cache directory fails

We don't need to exit in the case. DALi can work even though it fails.

Change-Id: I25a428b2c43e71aa2a132a89b57479e405ace9b0

2 years agoFix a gif crash 74/282574/1
Heeyong Song [Thu, 6 Oct 2022 06:10:59 +0000 (15:10 +0900)]
Fix a gif crash

A crash ocurred when we load a gif file which exists but is not a gif

Change-Id: I5f3b2484b0cf8cd825e48922d2d3ba5a2af8b025

2 years agoMerge "DALi Version 2.1.42" into devel/master
David Steele [Fri, 30 Sep 2022 10:34:20 +0000 (10:34 +0000)]
Merge "DALi Version 2.1.42" into devel/master

2 years agoDALi Version 2.1.42 79/282379/1 dali_2.1.42
Richard Huang [Fri, 30 Sep 2022 10:28:24 +0000 (11:28 +0100)]
DALi Version 2.1.42

Change-Id: I336cf62825fb6c692aa5e4429c39d1ee8e90f2b6

2 years agoSet CURLOPT_NOSIGNAL as 1L default 75/282275/1
Eunki, Hong [Thu, 29 Sep 2022 09:08:31 +0000 (18:08 +0900)]
Set CURLOPT_NOSIGNAL as 1L default

To guard multi-thread case more safely,
disconnect some non-thread safely signal for curl lib.

Change-Id: I091795df822df532ffb675d146ce6eeb25f85c77
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.41" into devel/master
David Steele [Fri, 23 Sep 2022 11:03:59 +0000 (11:03 +0000)]
Merge "DALi Version 2.1.41" into devel/master

2 years agoDALi Version 2.1.41 55/281955/1 dali_2.1.41
David Steele [Fri, 23 Sep 2022 10:56:30 +0000 (11:56 +0100)]
DALi Version 2.1.41

Change-Id: Ice0cca57919c6fc56377f7e134369a8e03a575fc

2 years ago[AT-SPI] Remove useless third-party include 36/281936/1
Eunki, Hong [Fri, 23 Sep 2022 08:41:25 +0000 (17:41 +0900)]
[AT-SPI] Remove useless third-party include

Change-Id: I050ba4ad7e1e3e57aa5a5add2cefe6ef8678d230
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Move a final flush to Shutdown" into devel/master
Heeyong Song [Thu, 22 Sep 2022 01:09:23 +0000 (01:09 +0000)]
Merge "Move a final flush to Shutdown" into devel/master

2 years agoMove a final flush to Shutdown 49/281449/1
Heeyong Song [Mon, 19 Sep 2022 06:27:56 +0000 (15:27 +0900)]
Move a final flush to Shutdown

It makes the finalization is called from the update thread.

Change-Id: Iae1f3c26594f0ef7d38e1eaeffaf1eac753f54e4

2 years ago(Capture) Don't scene-off camera when we use inputed camera 49/280749/7
Eunki, Hong [Fri, 2 Sep 2022 14:06:17 +0000 (23:06 +0900)]
(Capture) Don't scene-off camera when we use inputed camera

If we create capture with our own camera, App can add/remove this
camera actor.

But current capture API automatically dettach the camera.

If we use DALi's default camera, than this default camera dettached
from the window, and the rendering broken.

This patch protect some kind of this scenario.
We will dettach the camera from window only if we use
capture-impl generated camera, and don't dettach if we use
inputed camera.

Change-Id: I902fbe3a4d933165de87cff7d420438e66c2fdd2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.40" into devel/master
Adeel Kazmi [Fri, 16 Sep 2022 11:23:16 +0000 (11:23 +0000)]
Merge "DALi Version 2.1.40" into devel/master

2 years agoDALi Version 2.1.40 03/281403/1 dali_2.1.40
Adeel Kazmi [Fri, 16 Sep 2022 11:04:55 +0000 (12:04 +0100)]
DALi Version 2.1.40

Change-Id: I4b07a0ffcf1421d0753e5828551fad53c0db879c

2 years ago(Partial Update) partiall update after window rotation works well. 22/281022/5
Eunki, Hong [Thu, 8 Sep 2022 02:23:26 +0000 (11:23 +0900)]
(Partial Update) partiall update after window rotation works well.

Currently, mDamagedRects should be "rotated" rects,
and others (clippingRect, mDamagedBufferRects) are not be rotated.

But current clippingRect merged by rotated rects.

This patch make clippingRect calculate well.

And also, if clippingRect become empty, mDamagedRects should be cleared.

Change-Id: Ia8f35d32411e4ab3786f3a10c97d818a967a0afc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.39 85/281085/1 dali_2.1.39
Adam Bialogonski [Fri, 9 Sep 2022 09:05:36 +0000 (10:05 +0100)]
DALi Version 2.1.39

Change-Id: I6e8c9170beb30e828b871031453c547b0bd523e1

2 years agoUpdate doxygen of RegisterRequestInterceptedCallback. 65/280865/1
huayong.xu [Tue, 6 Sep 2022 05:48:33 +0000 (13:48 +0800)]
Update doxygen of RegisterRequestInterceptedCallback.

Change-Id: I7dcceeef8f2b6964206b5a1c34e500cd6281f78e

2 years agoMake framebuffer DEPTH_STENCIL works well + StencilTexture higher priority. 25/280625/4
Eunki, Hong [Thu, 1 Sep 2022 09:30:14 +0000 (18:30 +0900)]
Make framebuffer DEPTH_STENCIL works well + StencilTexture higher priority.

Framebuffer cannot attach both Depth and Stencil
at indivisual Renderbuffer.

So, If FrameBuffer::Attachment::Mask::DEPTH_STENCIL used, result is broken.

This patch make if framebuffer try to use both Depth and Stencil,
let Framebuffer use GL_DEPTH_STENCIL_ATTACHMENT.

---

Make stencilTexture has higher proirity than depthTexture in gles case.

Current dali API only have AttachDepthTexture and
AttachDepthStencilTexture.
And, AttachDepthStencilTexture input texture stored in createInfor's
stencilTexture level.

Current device didn't support to seperate each depth/stencil result in gles.
So we need to assume that stencilTexture is depth_stencil texture.

Change-Id: I2a6f46b66c1ef64a6f54e6cc4fc934f0ad276406
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.38 30/280730/1 dali_2.1.38
Richard Huang [Fri, 2 Sep 2022 12:00:20 +0000 (13:00 +0100)]
DALi Version 2.1.38

Change-Id: Ic9b5dfea17f05b40db5eca0477e895a4754103f9