platform/core/uifw/dali-adaptor.git
2 years agoFix svace issue - Application Destructor & egl controller debug 62/285762/2
Eunki, Hong [Mon, 19 Dec 2022 19:47:49 +0000 (04:47 +0900)]
Fix svace issue - Application Destructor & egl controller debug

 - Make Internal::Application virtual destructor
 - Only if Debug enabled can use GraphicsFrameDump struct.
   It will guard some getenv + fopen vulnerable operation.

Change-Id: I7cfb79b4aa270d856bd9668aa0b882d43819aa70
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Fix attribute cache bug" into devel/master
David Steele [Mon, 19 Dec 2022 18:48:22 +0000 (18:48 +0000)]
Merge "Fix attribute cache bug" into devel/master

2 years agoMerge "Remove annoying log message" into devel/master
David Steele [Mon, 19 Dec 2022 17:42:31 +0000 (17:42 +0000)]
Merge "Remove annoying log message" into devel/master

2 years agoMerge "Fix utc compile error for gcc-11" into devel/master
Eunki Hong [Mon, 19 Dec 2022 08:37:18 +0000 (08:37 +0000)]
Merge "Fix utc compile error for gcc-11" into devel/master

2 years agoRemove annoying log message 04/285704/3
Eunki Hong [Sun, 18 Dec 2022 14:44:53 +0000 (23:44 +0900)]
Remove annoying log message

Since DecoratedVisual / Text / PBR shader use #define tag,
current sampler using logic might not works well.

Change-Id: I8468e42415fae717c4bde20cb918645331f4f533
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 years agoChange DebugPriority name and Debug priority 12/285612/3
Heeyong Song [Thu, 15 Dec 2022 09:11:11 +0000 (18:11 +0900)]
Change DebugPriority name and Debug priority

Change-Id: Id902e7103cf19c156386eca4d941b16d361459d3

2 years agoFix utc compile error for gcc-11 06/285706/1
Eunki Hong [Sun, 18 Dec 2022 15:18:37 +0000 (00:18 +0900)]
Fix utc compile error for gcc-11

Change-Id: I4b7282b67060627478dd9c10a3c5a7b702e63774
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.2.6" into devel/master
Adeel Kazmi [Fri, 16 Dec 2022 12:35:04 +0000 (12:35 +0000)]
Merge "DALi Version 2.2.6" into devel/master

2 years agoDALi Version 2.2.6 89/285689/1 dali_2.2.6
David Steele [Fri, 16 Dec 2022 12:12:44 +0000 (12:12 +0000)]
DALi Version 2.2.6

Change-Id: Iafa54d963fc3450c39ab9bd4db542e6d5f1f3096

2 years agoMerge "Memory Pool Logging" into devel/master
Adeel Kazmi [Fri, 16 Dec 2022 11:45:53 +0000 (11:45 +0000)]
Merge "Memory Pool Logging" into devel/master

2 years agoMerge "(Automated Tests) Added more tests to increase TEM score" into devel/master
Adeel Kazmi [Fri, 16 Dec 2022 10:57:10 +0000 (10:57 +0000)]
Merge "(Automated Tests) Added more tests to increase TEM score" into devel/master

2 years agoMerge "Fix gcc-11 compile error at dbus.h" into devel/master
Eunki Hong [Fri, 16 Dec 2022 07:04:56 +0000 (07:04 +0000)]
Merge "Fix gcc-11 compile error at dbus.h" into devel/master

2 years ago(Automated Tests) Added more tests to increase TEM score 56/284956/4
Adeel Kazmi [Thu, 1 Dec 2022 18:17:00 +0000 (18:17 +0000)]
(Automated Tests) Added more tests to increase TEM score

Change-Id: Ibb101d4fd436849da18edf3bb6eb49cbb7cef306

2 years agoMerge "Remove build warning for gcc-11" into devel/master
Adeel Kazmi [Thu, 15 Dec 2022 17:06:31 +0000 (17:06 +0000)]
Merge "Remove build warning for gcc-11" into devel/master

2 years agoMerge "[ATSPI] Stop traversing tree immediatelly after reaching the maximum size...
Lukasz Oleksak [Thu, 15 Dec 2022 14:31:15 +0000 (14:31 +0000)]
Merge "[ATSPI] Stop traversing tree immediatelly after reaching the maximum size of query result" into devel/master

2 years agoMerge "[AT-SPI] Use async D-Bus call in some Socket methods" into devel/master
Lukasz Oleksak [Thu, 15 Dec 2022 14:30:39 +0000 (14:30 +0000)]
Merge "[AT-SPI] Use async D-Bus call in some Socket methods" into devel/master

2 years agoFix attribute cache bug 72/285372/4
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: I9f2c15617d279cfefbe1f8d72e5a9cbe43a7c564

2 years agoAdd RecalculatePosition api for rotation 30/285530/1
joogab.yun [Wed, 14 Dec 2022 06:25:19 +0000 (15:25 +0900)]
Add RecalculatePosition api for rotation

Change-Id: I5e5ebacfc2531ff95465bb41d8a516fea106d44d

2 years agoFix gcc-11 compile error at dbus.h 60/284660/6
Eunki Hong [Tue, 22 Nov 2022 20:00:57 +0000 (05:00 +0900)]
Fix gcc-11 compile error at dbus.h

Since concat function make compile error,
Make that function allow only 2-arg.
Now compiler will be happy

Change-Id: Iacfe08a67a88fd13f242385970ab33b1adbcc5d5
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 years agoRemove build warning for gcc-11 97/285497/3
Eunki Hong [Tue, 13 Dec 2022 17:00:55 +0000 (02:00 +0900)]
Remove build warning for gcc-11

Remove warning message at gcc-11.
Full warning meesage :

warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Dali::Graphics::GLES::UniformBufferBindingDescriptor’; use assignment or value-initialization instead [-Wclass-memaccess]

Change-Id: I8ada4a1172c38ed5717bd43f7ca30750b8217185
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 years ago[ATSPI] Stop traversing tree immediatelly after reaching the maximum size of query... 73/285473/3
Lukasz Oleksak [Tue, 13 Dec 2022 09:37:01 +0000 (10:37 +0100)]
[ATSPI] Stop traversing tree immediatelly after reaching the maximum size of query result

Change-Id: Ia0aa0aeea8d9f68d9df5c3ba0a91c2c68d50be60

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 ago[AT-SPI] Use async D-Bus call in some Socket methods 27/285427/1
Artur Świgoń [Mon, 12 Dec 2022 14:39:46 +0000 (15:39 +0100)]
[AT-SPI] Use async D-Bus call in some Socket methods

Change-Id: I45c2f0ad514d47de9e3a7d389aafb488ab2366a7

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>