platform/core/uifw/dali-adaptor.git
23 months agoMerge "Remove VAO cache if invalidate pipeline" into devel/master
Adeel Kazmi [Tue, 21 Feb 2023 12:47:46 +0000 (12:47 +0000)]
Merge "Remove VAO cache if invalidate pipeline" into devel/master

23 months agoDragAndDrop : support multiwindow dnd on single process 57/288657/3
Taehyub Kim [Tue, 21 Feb 2023 06:16:12 +0000 (15:16 +0900)]
DragAndDrop : support multiwindow dnd on single process

Change-Id: Ifadcbe29b6f63420f91cd892c56d11dad5172c44

23 months agoDALi Version 2.2.14 18/288518/1 dali_2.2.14
David Steele [Fri, 17 Feb 2023 13:51:40 +0000 (13:51 +0000)]
DALi Version 2.2.14

Change-Id: Ibe53b71f7198c6a3cea884124fbb6bb8bf0a4934

23 months agoMerge "Replace std::string global variables with C-style string." into devel/master
David Steele [Thu, 16 Feb 2023 13:10:19 +0000 (13:10 +0000)]
Merge "Replace std::string global variables with C-style string." into devel/master

23 months agoRemove VAO cache if invalidate pipeline 20/286020/9
Eunki, Hong [Mon, 26 Dec 2022 09:04:50 +0000 (18:04 +0900)]
Remove VAO cache if invalidate pipeline

Delete VAO cache map if pipeline destroied.
So we can avoid equal ProgramImpl pointer which already destroyied program.

Change-Id: I1fa614b07c4b80e13c2ca23f275950a9672b3542
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months agoReplace std::string global variables with C-style string. 35/288335/2
huayong.xu [Wed, 15 Feb 2023 08:48:39 +0000 (16:48 +0800)]
Replace std::string global variables with C-style string.

A std::string global variable would allocate a memory in heap,
then copy the string from .text section to the heap.
This patch may reduce loading time & memory a little.

Change-Id: I124fc778ab00754bc61d1517a18afcb728904483

23 months agoMerge "Make sure that global variables are initialized lazily." into devel/master
dongsug song [Wed, 15 Feb 2023 01:13:29 +0000 (01:13 +0000)]
Merge "Make sure that global variables are initialized lazily." into devel/master

23 months agoMake sure that global variables are initialized lazily. 45/288045/4
huayong.xu [Thu, 9 Feb 2023 12:06:46 +0000 (20:06 +0800)]
Make sure that global variables are initialized lazily.

Global variables are initialized before main function or
when dali-core so is loaded firstly.
This patch is to reduce loading time of dali in theory.

Change-Id: If644ff61bdc27d268e913d9455bfa506bcea5892

23 months agoMerge "Make another ConditionalWait for post-rendearing" into devel/master
Heeyong Song [Mon, 13 Feb 2023 00:33:29 +0000 (00:33 +0000)]
Merge "Make another ConditionalWait for post-rendearing" into devel/master

23 months agoMerge "DALi Version 2.2.13" into devel/master
Adeel Kazmi [Fri, 10 Feb 2023 14:20:46 +0000 (14:20 +0000)]
Merge "DALi Version 2.2.13" into devel/master

23 months agoDALi Version 2.2.13 32/288132/1 dali_2.2.13
Adeel Kazmi [Fri, 10 Feb 2023 14:15:36 +0000 (14:15 +0000)]
DALi Version 2.2.13

Change-Id: I931e2622804390c4f3001582a84efc0227953e9e

2 years agoMake another ConditionalWait for post-rendearing 46/287846/2
Heeyong Song [Tue, 7 Feb 2023 06:10:21 +0000 (15:10 +0900)]
Make another ConditionalWait for post-rendearing

The mUpdateRenderThreadWaitCondition was also used for post-rendering.
But it can be notified by other method - ResizeSurface() etc.
The PostRenderWaitForCompletion() should wait for the
PostRenderComplete() of the main thread.

So use another ConditionalWait.

Change-Id: I890abcf95045e2d9701208cbe18ac8082219457b

2 years agoSupport CMYK jpg image load 31/287631/4
Eunki, Hong [Wed, 1 Feb 2023 20:53:30 +0000 (05:53 +0900)]
Support CMYK jpg image load

Previously, we only load CMYK image store as Pixel::RGBA8888 and do nothing.
So, We need to convert this 4byte data as 3byte Pixel::RGB888 format.

Change-Id: I87482fbc13ebb104c672d43e284099a484f3cc36
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix svace issue (uint32_t to long or std::streamsize) 23/287823/2
Eunki, Hong [Tue, 7 Feb 2023 01:55:00 +0000 (10:55 +0900)]
Fix svace issue (uint32_t to long or std::streamsize)

To convert unsigned value into signed value safely,
we should convert as unsigned type with same size as signed type,
and after done, convert into signed type.

Change-Id: I3d8ebb3866c2bd753dd186026f7e1773e0f178a9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.2.12 52/287752/1 dali_2.2.12
Adam Bialogonski [Fri, 3 Feb 2023 12:41:24 +0000 (12:41 +0000)]
DALi Version 2.2.12

Change-Id: I34a6901109ed8152c72366f7875388fae7f3a1ee

2 years agoApply environment variables to preinitialized app 63/287463/6
Heeyong Song [Mon, 30 Jan 2023 08:16:52 +0000 (17:16 +0900)]
Apply environment variables to preinitialized app

Change-Id: Idb66ee33ccf2fed8f71ee5ed5c2cd2f47fdce529

2 years agoAdd performance log 15/287015/5
Heeyong Song [Wed, 18 Jan 2023 09:00:39 +0000 (18:00 +0900)]
Add performance log

Print a log when eglQuerySurface takes long time

Change-Id: Iae3810cfbf5f25076e5be4be536be46e7e63c955

2 years agoMerge "Support to load an image from uint8_t* encoded buffer." into devel/master
Seungho BAEK [Tue, 31 Jan 2023 04:29:07 +0000 (04:29 +0000)]
Merge "Support to load an image from uint8_t* encoded buffer." into devel/master

2 years ago(Automated Tests) Ensure we kill off any sleeping dbus sessions that we create when... 73/287473/1
Adeel Kazmi [Mon, 30 Jan 2023 10:57:23 +0000 (10:57 +0000)]
(Automated Tests) Ensure we kill off any sleeping dbus sessions that we create when running

Change-Id: Ic3058b2cc6218abdd5ae3e65efaf78d6821cf222

2 years agoMerge "Cleanup .gitignore file" into devel/master
Eunki Hong [Mon, 30 Jan 2023 02:26:43 +0000 (02:26 +0000)]
Merge "Cleanup .gitignore file" into devel/master

2 years agoMerge "Added X11 window manager resize handling" into devel/master
Adeel Kazmi [Fri, 27 Jan 2023 16:06:48 +0000 (16:06 +0000)]
Merge "Added X11 window manager resize handling" into devel/master

2 years agoDALi Version 2.2.11 99/287399/1 dali_2.2.11
Richard Huang [Fri, 27 Jan 2023 12:19:24 +0000 (12:19 +0000)]
DALi Version 2.2.11

Change-Id: I448116da54abf15fa5801bd614056c7e50c52727

2 years agoAdded X11 window manager resize handling 50/287250/2
David Steele [Wed, 25 Jan 2023 17:52:21 +0000 (17:52 +0000)]
Added X11 window manager resize handling

For Ecore/Raw X, added listeners to the ConfigureNotify
event to find when the Window Manager has modified the
window size.

Sending the UpdatePositionSize signal is enough to
update the GL surface.

Change-Id: I8fd3cf1a9fbac694ea32e5d5cddd710c33a7cdf4
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoCleanup .gitignore file 44/287244/1
Eunki Hong [Wed, 25 Jan 2023 15:50:01 +0000 (00:50 +0900)]
Cleanup .gitignore file

Collect, merge and clean up .gitignore file for all dali repos

Change-Id: I0ffa9676eeef9ca0e3a5d478931d098599efb1cd
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 years agoSupport to load an image from uint8_t* encoded buffer. 37/286937/2
seungho baek [Tue, 17 Jan 2023 06:18:22 +0000 (15:18 +0900)]
Support to load an image from uint8_t* encoded buffer.

Change-Id: I0252773ef6c9ad62e552c05697cdd39507bd892e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
2 years agoMerge "DALi Version 2.2.10" into devel/master
David Steele [Fri, 20 Jan 2023 13:14:40 +0000 (13:14 +0000)]
Merge "DALi Version 2.2.10" into devel/master

2 years agoDALi Version 2.2.10 56/287156/1 dali_2.2.10
David Steele [Fri, 20 Jan 2023 13:10:01 +0000 (13:10 +0000)]
DALi Version 2.2.10

Change-Id: Ib3beaa13617053631f02d08c04cb4ba490d464d1

2 years agoMerge "Fix deadlock issue of AsyncTaskThread" into devel/master
Heeyong Song [Fri, 20 Jan 2023 00:42:18 +0000 (00:42 +0000)]
Merge "Fix deadlock issue of AsyncTaskThread" into devel/master

2 years agoMerge "Updating Test Harness to show wait channel" into devel/master
David Steele [Thu, 19 Jan 2023 14:33:42 +0000 (14:33 +0000)]
Merge "Updating Test Harness to show wait channel" into devel/master

2 years agoMerge "Add Dali::DevelWindowSystem::GetScreenSize" into devel/master
Jaehyun Cho [Thu, 19 Jan 2023 09:27:53 +0000 (09:27 +0000)]
Merge "Add Dali::DevelWindowSystem::GetScreenSize" into devel/master

2 years agoFix deadlock issue of AsyncTaskThread 72/287072/1
Heeyong Song [Thu, 19 Jan 2023 08:46:20 +0000 (17:46 +0900)]
Fix deadlock issue of AsyncTaskThread

mDestroyThread may be changed to true after while(!mDestroyThread)
because we don't lock the part.

Change-Id: Icf9c60cd865d73f1648a354331689df8284d5964

2 years agoAdd Dali::DevelWindowSystem::GetScreenSize 38/286938/3
Jaehyun Cho [Tue, 17 Jan 2023 02:53:38 +0000 (11:53 +0900)]
Add Dali::DevelWindowSystem::GetScreenSize

To provide the screen size for csharp bindings by using internal
GetScreenSize method, Dali::DevelWindowSystem::GetScreenSize is added.

Change-Id: Ib42ace1c4b61f61ae2e506253b5b348a1bd62ca6

2 years agoUpdating Test Harness to show wait channel 23/287023/3
David Steele [Wed, 18 Jan 2023 15:21:02 +0000 (15:21 +0000)]
Updating Test Harness to show wait channel

If, during parallel execution, a child test case is pending for a
minute, then display the wait channel symbol, and kill the process.

Change-Id: Ibe9a41b7ef433f41e37fc35f2811d40415fc811c
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoMerge "Remove jpg warning log at UTC" into devel/master
David Steele [Tue, 17 Jan 2023 12:00:57 +0000 (12:00 +0000)]
Merge "Remove jpg warning log at UTC" into devel/master

2 years agoRemove jpg warning log at UTC 86/286886/1
Eunki, Hong [Mon, 16 Jan 2023 08:11:44 +0000 (17:11 +0900)]
Remove jpg warning log at UTC

Change-Id: I5bdc675d40547fbcd206a188a934e939f7611633
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoAdd Overlay Layer in window 40/286540/5
seungho baek [Mon, 9 Jan 2023 10:43:51 +0000 (19:43 +0900)]
Add Overlay Layer in window

Change-Id: Ic61e51e2ad0775c5c76a6ec93d1bff0a9980ebce
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
2 years agoMerge "DALi Version 2.2.9" into devel/master
Adeel Kazmi [Fri, 13 Jan 2023 10:00:38 +0000 (10:00 +0000)]
Merge "DALi Version 2.2.9" into devel/master

2 years agoDALi Version 2.2.9 28/286828/1 dali_2.2.9
Adeel Kazmi [Fri, 13 Jan 2023 09:56:10 +0000 (09:56 +0000)]
DALi Version 2.2.9

Change-Id: Iead2f576c2507d62e92b79cee286abd4797ce263

2 years agoMerge "Remove unnecessray ClipBoard creation (2)" into devel/master
Heeyong Song [Fri, 13 Jan 2023 01:24:39 +0000 (01:24 +0000)]
Merge "Remove unnecessray ClipBoard creation (2)" into devel/master

2 years agoRemove unnecessray ClipBoard creation (2) 18/286718/1
Heeyong Song [Thu, 12 Jan 2023 05:07:53 +0000 (14:07 +0900)]
Remove unnecessray ClipBoard creation (2)

Change-Id: I5a15ae94f035a764128c1adc5621b80f84286846

2 years agodrag-and-drop : Add leave event when dragging is cancelled 44/286644/4
Taehyub Kim [Wed, 11 Jan 2023 04:38:09 +0000 (13:38 +0900)]
drag-and-drop : Add leave event when dragging is cancelled

Change-Id: If98ec6b0d766e3a898063456d05c6c82a6df0abc

2 years agoRemove unnecessray ClipBoard creation 39/286639/1
Heeyong Song [Mon, 9 Jan 2023 09:36:38 +0000 (18:36 +0900)]
Remove unnecessray ClipBoard creation

Change-Id: I75e2fa682007e6ef4c24eaaaf81600085994f62c

2 years agoMerge "DALi Version 2.2.8" into devel/master
David Steele [Fri, 6 Jan 2023 13:18:48 +0000 (13:18 +0000)]
Merge "DALi Version 2.2.8" into devel/master

2 years agoDALi Version 2.2.8 58/286458/1 dali_2.2.8
Adam Bialogonski [Fri, 6 Jan 2023 10:49:51 +0000 (10:49 +0000)]
DALi Version 2.2.8

Change-Id: I08127882190c75f0bbe02920220c5948a098f1a9

2 years agoMerge "Add GetCallbackInvocationThread() for AsyncTaskMananager" into devel/master
sunghyun kim [Fri, 6 Jan 2023 02:51:15 +0000 (02:51 +0000)]
Merge "Add GetCallbackInvocationThread() for AsyncTaskMananager" into devel/master

2 years agoAdd GetCallbackInvocationThread() for AsyncTaskMananager 26/285926/9
tscholb [Thu, 22 Dec 2022 10:09:52 +0000 (19:09 +0900)]
Add GetCallbackInvocationThread() for AsyncTaskMananager

When AsyncTaskManager use other thread, no need to wake up main thread.

Change-Id: I2b4dfb797e0981002776b345b43f988dd5eb83f9

2 years agoAdd ecore_wl2_window_commit() when setting minumum size and maximum size. 09/286409/1
joogab.yun [Thu, 5 Jan 2023 09:04:26 +0000 (18:04 +0900)]
Add ecore_wl2_window_commit() when setting minumum size and maximum size.

Change-Id: Idf909972dcedcafda1123f9c3a16c0a1496d433d

2 years agoMerge "Add an API for 'create,window' event." into devel/master
dongsug song [Thu, 5 Jan 2023 05:54:55 +0000 (05:54 +0000)]
Merge "Add an API for 'create,window' event." into devel/master

2 years agoFix the screen rotation issue 64/286264/1
Wonsik Jung [Tue, 3 Jan 2023 03:11:42 +0000 (12:11 +0900)]
Fix the screen rotation issue

Fix the screen rotation issue in FHub Device.
When glViewport/glScissor is set, the screen rotation should be considered.

Change-Id: I34b3c07f4efd678806d05c9b651ad44a05269909

2 years agoMerge "Trace use scope macro instead of begin-end" into devel/master
Eunki Hong [Fri, 30 Dec 2022 08:22:16 +0000 (08:22 +0000)]
Merge "Trace use scope macro instead of begin-end" into devel/master

2 years agoAdd GetRenderThreadId() 73/285973/5
Heeyong Song [Fri, 23 Dec 2022 02:23:24 +0000 (11:23 +0900)]
Add GetRenderThreadId()

Change-Id: I788e49c134b3f31572925796291e9065378f4417

2 years agoTrace use scope macro instead of begin-end 74/286174/2
Eunki Hong [Thu, 29 Dec 2022 15:47:14 +0000 (00:47 +0900)]
Trace use scope macro instead of begin-end

Since we don't need to follow functions usecase,
use trace scope macro instead of begin-end

+

DALI_TRACE_FUNCTION can send tag as NULL
if ENABLE_DEBUG is not defined.
To avoid this case, let we nullcheck for trace tag.
(Note, trace-manager-impl-generic already consider NULL tag)

Change-Id: I55177bbcac344abde42d5afe7cc807114f027a39
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.2.7 86/285986/1 dali_2.2.7
Adeel Kazmi [Fri, 23 Dec 2022 11:34:52 +0000 (11:34 +0000)]
DALi Version 2.2.7

Change-Id: Ied087417fc7eebb5ab5907b4f7f926c7ed04a6b0

2 years agoRemove annoying logs when we use astc image file 37/285937/1
Eunki, Hong [Thu, 22 Dec 2022 11:55:41 +0000 (20:55 +0900)]
Remove annoying logs when we use astc image file

PixelBuffer::New() call GetBytesPerPixel internally, and failed.
That case, DALI_LOG_ERROR logged which is not useful.

Change-Id: I6483002d00ee8abd61008d408b678b81bedb2e62
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoCache VAO with the locations hash 80/285780/2
Eunki, Hong [Tue, 20 Dec 2022 04:50:59 +0000 (13:50 +0900)]
Cache VAO with the locations hash

Change-Id: Iabba0560f613a584fb444b8f34efbdd55f87199a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "(Automated Tests) Added GlImplementation tests to increase function coverage...
Adeel Kazmi [Tue, 20 Dec 2022 16:52:38 +0000 (16:52 +0000)]
Merge "(Automated Tests) Added GlImplementation tests to increase function coverage" into devel/master

2 years ago(Automated Tests) Added GlImplementation tests to increase function coverage 12/285812/1
Adeel Kazmi [Tue, 20 Dec 2022 15:27:11 +0000 (15:27 +0000)]
(Automated Tests) Added GlImplementation tests to increase function coverage

Change-Id: I1c6cdc209d79f6cd4b15c0c8f2f5fa5f601baeaa

2 years agoFixing static analysis bugs 03/285803/1
David Steele [Tue, 20 Dec 2022 10:23:11 +0000 (10:23 +0000)]
Fixing static analysis bugs

Change-Id: I58dbff61812fe6e3ab2ec7cd1b5bc238b3e22f8b

2 years agoMerge "Fix svace issue - Application Destructor & egl controller debug" into devel...
Seungho BAEK [Tue, 20 Dec 2022 09:30:33 +0000 (09:30 +0000)]
Merge "Fix svace issue - Application Destructor & egl controller debug" into devel/master

2 years agoWhen calling RequestResizeToServer, we recalculate the location according to the... 33/285733/3
joogab.yun [Mon, 19 Dec 2022 05:55:00 +0000 (14:55 +0900)]
When calling RequestResizeToServer, we recalculate the location according to the current orientation.

Change-Id: Ib9fd6a00c89a5f2467409a3bfbb83124043ff32f

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 an API for 'create,window' event. 20/285620/1
huayong.xu [Thu, 15 Dec 2022 09:49:34 +0000 (17:49 +0800)]
Add an API for 'create,window' event.

Change-Id: I9905ec1e2fc32ab3b7be42179d881404f812024a

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