platform/core/uifw/dali-adaptor.git
19 months agoFix the calculating logic for input region 07/290807/1
Wonsik Jung [Mon, 3 Apr 2023 09:59:52 +0000 (18:59 +0900)]
Fix the calculating logic for input region

Fix the calculating logic for input region when window orientation is changed.

Change-Id: I74afbe15745ac45706c31c7c39cf931d45747507

19 months agoMerge "Fix performance down if DefaultFontDescription not prepared" into devel/master
Eunki Hong [Fri, 31 Mar 2023 13:22:45 +0000 (13:22 +0000)]
Merge "Fix performance down if DefaultFontDescription not prepared" into devel/master

19 months agoMerge "DALi Version 2.2.20" into devel/master
Adeel Kazmi [Fri, 31 Mar 2023 13:02:46 +0000 (13:02 +0000)]
Merge "DALi Version 2.2.20" into devel/master

19 months agoDALi Version 2.2.20 33/290733/1 dali_2.2.20
Adam Bialogonski [Fri, 31 Mar 2023 09:19:40 +0000 (10:19 +0100)]
DALi Version 2.2.20

Change-Id: I735687a531d3e18facfb65067a73e8b948d39e4c

19 months agoFix performance down if DefaultFontDescription not prepared 84/290684/3
Eunki Hong [Thu, 30 Mar 2023 19:05:47 +0000 (04:05 +0900)]
Fix performance down if DefaultFontDescription not prepared

Since FontDescription cache system have some problem if family is empty.
So we use DefaultFontDescription if inputed family is empty.

But we try to delay the FontClient creation time as possible.
If that case, It it possible that Default informations are not prepared yet.

This patch ensure the mDefaultFontDescription prepared at FontClient::Get().
So now, we can ensure to use FontId cache system well.

TODO : We might fix empty family bugs if possible

Change-Id: I72f5f7a581186addd130848f257f939cd24e094a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months agoAdd Window::SetLayout method 38/290338/4
Daekwang Ryu [Thu, 30 Mar 2023 04:14:03 +0000 (13:14 +0900)]
Add Window::SetLayout method

The new `SetLayout` method allows users to easily snap windows to specific positions and sizes.
This feature is similar to the snap window feature found in many operating systems,
allowing users to quickly arrange their windows in a convenient and efficient manner.

Change-Id: I71fe381220ef455bc60531b15500ebb03fa15671

19 months agoMerge "AsyncTaskManager overhead reduce" into devel/master
Eunki Hong [Wed, 29 Mar 2023 04:53:00 +0000 (04:53 +0000)]
Merge "AsyncTaskManager overhead reduce" into devel/master

19 months agoMerge "Add FontClientPreCache API to FontClient" into devel/master
Bowon Ryu [Tue, 28 Mar 2023 09:23:09 +0000 (09:23 +0000)]
Merge "Add FontClientPreCache API to FontClient" into devel/master

19 months agoAdd FontClientPreCache API to FontClient 95/290395/10
Bowon Ryu [Fri, 24 Mar 2023 02:30:02 +0000 (11:30 +0900)]
Add FontClientPreCache API to FontClient

This patch adds a new FontClientPreCache API to enable pre-caching of fonts
and improve the runtime performance of the application.

Pre-caching default fonts and fallback lists can enhance the responsiveness performance
by minimizing the calls to FcFontSort and FcFontMatch, particularly during the early stages of boot-up.

Change-Id: Ib07adb7ef701f0f7a83cf17b73b049686bad4b12
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoAsyncTaskManager overhead reduce 33/289933/9
Eunki Hong [Wed, 15 Mar 2023 18:08:42 +0000 (03:08 +0900)]
AsyncTaskManager overhead reduce

1. Let we use std::list instead of std::vector, to reduce 'erase' operation.
2. Seperate mutex per logic. For example, we don't need to wait mComplete container
   changed finished at AddTask called.
3. We can call RemoveTask even if task completed. So make that we don't iterate
   whole containers. Cache and erase directly what we need.

Change-Id: Id41d5370013c862614e29c62cd6bcd014005e008
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months agoAdd Move method in WindowRenderSurface 51/290251/4
Daekwang Ryu [Wed, 22 Mar 2023 01:36:25 +0000 (10:36 +0900)]
Add Move method in WindowRenderSurface

Window::SetPosition called WindowRenderSurface::MoveResize.
It caused some issues. For instance when an app calls SetSize and
SetPosition in order in OnCreate() in Application, The window size
isn't resized.

Change-Id: I200951ce4623c8acaa0b5f78b41edfd1563a6189

19 months agoMerge "Fixed auto-conversion of RGB source images into RGBA textures" into devel...
Adeel Kazmi [Fri, 24 Mar 2023 17:45:51 +0000 (17:45 +0000)]
Merge "Fixed auto-conversion of RGB source images into RGBA textures" into devel/master

19 months agoFixed auto-conversion of RGB source images into RGBA textures 42/290442/2
David Steele [Fri, 24 Mar 2023 12:51:01 +0000 (12:51 +0000)]
Fixed auto-conversion of RGB source images into RGBA textures

Added test case for this conversion, and updated some other tests
to cover more of the graphics backend.

Change-Id: I372cad38eeaf5d685a7e48801ad848b67b347364

19 months agoMerge "DALi Version 2.2.19" into devel/master
David Steele [Fri, 24 Mar 2023 11:27:21 +0000 (11:27 +0000)]
Merge "DALi Version 2.2.19" into devel/master

19 months agoDALi Version 2.2.19 28/290428/1 dali_2.2.19
Adeel Kazmi [Fri, 24 Mar 2023 10:54:31 +0000 (10:54 +0000)]
DALi Version 2.2.19

Change-Id: I2e5c8d2ac38507c54a0673ef32fb0c4c0bc709a4

19 months agoFix mistake of Harfbuzz extents calculation 17/290417/1
Eunki, Hong [Fri, 24 Mar 2023 07:57:22 +0000 (16:57 +0900)]
Fix mistake of Harfbuzz extents calculation

Change-Id: Ide13def77abec53eb127b8e2eea2fd09c6819c6f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoMake GlyphCacheManager cache shared_ptr of GlyphCacheData 59/290359/2
Eunki, Hong [Thu, 23 Mar 2023 14:03:58 +0000 (23:03 +0900)]
Make GlyphCacheManager cache shared_ptr of GlyphCacheData

Previously, font-face-glyph-cache-manager release GlyphCacheData by manager side.

Now, let we keep cache data by shared_ptr<GlyphCacheData>, and also get pointer,
not whole copy of data.

After this patch, we don't need to worry about glyph cache data's lifecycle.

Change-Id: Iceb58d78085f0415b679434cd5066ea93ab2859a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoAdd get/set Dpi to window system 04/290204/8
Bowon Ryu [Tue, 21 Mar 2023 10:33:58 +0000 (19:33 +0900)]
Add get/set Dpi to window system

Change-Id: I7ddebe179b025d6d1e45595216c9cb5f2dce851a
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoMerge "Make GlyphBufferData as another class" into devel/master
Eunki Hong [Thu, 23 Mar 2023 06:11:10 +0000 (06:11 +0000)]
Merge "Make GlyphBufferData as another class" into devel/master

19 months agoMerge "Add EnsureFontClientCreated to StyleMonitor" into devel/master
Bowon Ryu [Thu, 23 Mar 2023 05:47:54 +0000 (05:47 +0000)]
Merge "Add EnsureFontClientCreated to StyleMonitor" into devel/master

19 months agoMake GlyphBufferData as another class 30/289930/4
Eunki Hong [Wed, 15 Mar 2023 17:13:58 +0000 (02:13 +0900)]
Make GlyphBufferData as another class

GlyphBufferData did a lot of process.
Since that struct job has more line than FontClient itself,
seperate new cpp file for it.

Change-Id: I85a2c9a1b011ef6d5455cc7d93ac11348b59e6e0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months agoMerge "[AT-SPI] Prevent flooding D-Bus with PostRender events" into devel/master
Artur Świgoń [Tue, 21 Mar 2023 07:51:38 +0000 (07:51 +0000)]
Merge "[AT-SPI] Prevent flooding D-Bus with PostRender events" into devel/master

19 months agoAdd EnsureFontClientCreated to StyleMonitor 53/290153/2
Bowon Ryu [Tue, 21 Mar 2023 02:09:36 +0000 (11:09 +0900)]
Add EnsureFontClientCreated to StyleMonitor

to prevent a FontClient from being created faster than necessary,
do not create a FontClient in the constructor.

Change-Id: I496c71816f953c769558f23abff11ae03fcef0f8
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoUse PixelData to upload texture. 77/290077/4
Eunki, Hong [Mon, 20 Mar 2023 05:13:21 +0000 (14:13 +0900)]
Use PixelData to upload texture.

By using PIXEL_DATA type,
we can use auto-reference controlled PixelData object, and use it.

For the test 800 svg images create ~ latest SwapBuffer call time in Ubuntu
Before : 3850 ms
After : 3381 ms

Change-Id: Ib6184223434db43f71aef9d35e5f116f12b9286e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
19 months agoAdd trace log to check text performance 19/289919/4
Bowon Ryu [Wed, 15 Mar 2023 10:59:40 +0000 (19:59 +0900)]
Add trace log to check text performance

Change-Id: I46d3ee15f5ae797c6741d266b1181e053163cdee
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
19 months agoMerge "DALi Version 2.2.18" into devel/master
Adeel Kazmi [Fri, 17 Mar 2023 12:49:36 +0000 (12:49 +0000)]
Merge "DALi Version 2.2.18" into devel/master

19 months agoDALi Version 2.2.18 38/290038/1 dali_2.2.18
David Steele [Fri, 17 Mar 2023 12:43:32 +0000 (12:43 +0000)]
DALi Version 2.2.18

Change-Id: I42f5d51e3f3aa0393fed5d7ed051bd8bbaf178b7

19 months ago[AT-SPI] Prevent flooding D-Bus with PostRender events 27/290027/1
Artur Świgoń [Fri, 17 Mar 2023 09:15:30 +0000 (10:15 +0100)]
[AT-SPI] Prevent flooding D-Bus with PostRender events

When enabled with SetListenPostRender, the window Accessible emits countless
PostRender events on D-Bus. The CoalescableMessages mechanism can be used here
just like for BoundsChanged and SetOffset. This way, with this patch, the
PostRender events come at a steady rate. With CoalescableMessages at least one
event will still be emitted if requested, which is important for clients who
may depend on there being a PostRender event on the AT-SPI bus after a
particular operation -- there still is, but without the flooding.

Change-Id: Iab9451d3bff7bf57007388ed641ba543d40b52c1

19 months agoMerge "Fix a heap-buffer-overflow issue." into devel/master
dongsug song [Fri, 17 Mar 2023 05:35:13 +0000 (05:35 +0000)]
Merge "Fix a heap-buffer-overflow issue." into devel/master

19 months agoMerge "[ATSPI] Introduce SetListenPostRender interface" into devel/master
woochan lee [Fri, 17 Mar 2023 00:16:19 +0000 (00:16 +0000)]
Merge "[ATSPI] Introduce SetListenPostRender interface" into devel/master

19 months ago[ATSPI] Introduce SetListenPostRender interface 89/289689/2
Woochan Lee [Mon, 13 Mar 2023 11:49:16 +0000 (20:49 +0900)]
[ATSPI] Introduce SetListenPostRender interface

A new interface for delivering PostRender event to atspi.

Change-Id: Ic80f3637f74a0b6f99b2cbb9eb11c793c88b9e06

19 months agoMerge "DragAndDrop : set target coordinates based on screen position (window basis...
Taehyub Kim [Wed, 15 Mar 2023 01:54:36 +0000 (01:54 +0000)]
Merge "DragAndDrop : set target coordinates based on screen position (window basis)" into devel/master

19 months agoMerge "Ensure BaseHandle class move noexcept (adaptor public-api)" into devel/master
David Steele [Tue, 14 Mar 2023 15:11:18 +0000 (15:11 +0000)]
Merge "Ensure BaseHandle class move noexcept (adaptor public-api)" into devel/master

19 months agoDragAndDrop : set target coordinates based on screen position (window basis) 41/289841/1
Taehyub Kim [Tue, 14 Mar 2023 12:10:47 +0000 (21:10 +0900)]
DragAndDrop : set target coordinates based on screen position (window basis)

Change-Id: I984b0c51b56dcb46b147e02c55134579003fc6f5

19 months agoFix a heap-buffer-overflow issue. 82/289382/2
huayong.xu [Tue, 7 Mar 2023 02:03:07 +0000 (10:03 +0800)]
Fix a heap-buffer-overflow issue.

Change-Id: I700ea4b211ac7e2cb9a8618d7cc86eb8482719df

19 months agoDragAndDrop : remove cursor disable code 28/289728/1
Taehyub Kim [Tue, 14 Mar 2023 05:10:15 +0000 (14:10 +0900)]
DragAndDrop : remove cursor disable code

Change-Id: I8152bcc6325475f148b2b40a6040290187d4ce42

19 months agoEnsure BaseHandle class move noexcept (adaptor public-api) 63/289563/6
Eunki Hong [Thu, 9 Mar 2023 17:49:23 +0000 (02:49 +0900)]
Ensure BaseHandle class move noexcept (adaptor public-api)

Change-Id: I673bde85d960d81a03c2b54646c6a6ece3c63945
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months agoLet ignore 32bit bmp format ignore alpha force 31/289631/3
Eunki Hong [Fri, 10 Mar 2023 13:28:26 +0000 (22:28 +0900)]
Let ignore 32bit bmp format ignore alpha force

Change-Id: I0d9521088ebb4cb9a1cf1cd822f828bc09745298
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
19 months agoDALi Version 2.2.17 18/289618/1 dali_2.2.17
Adeel Kazmi [Fri, 10 Mar 2023 10:29:44 +0000 (10:29 +0000)]
DALi Version 2.2.17

Change-Id: I86a7fd212224f788b78e22d09b226ba661ab4846

19 months agoFix to use uint32_t for height index to decodeRGB8 for BMP 80/289580/1
seungho baek [Thu, 9 Mar 2023 06:46:38 +0000 (15:46 +0900)]
Fix to use uint32_t for height index to decodeRGB8 for BMP

Change-Id: Ia16c807e11cd745305a3d3353561b3eafa8934b5

19 months agoAdd PriorityType for each Task 79/289579/1
Eunki, Hong [Tue, 7 Mar 2023 23:33:58 +0000 (08:33 +0900)]
Add PriorityType for each Task

There can be problem if all heavy tasks grep all threads
so something lightweight tasks processed late.

This patch let user give some hint about priority.
So make low-priority don't use whole threads.
Now we can leave at least 2 threads to excute high priority tasks

Change-Id: I6bb469ce1949ef243a61975af6b6659d8d3982fd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoReset array of uniform buffer only required 37/289437/2
Eunki, Hong [Tue, 7 Mar 2023 17:47:13 +0000 (02:47 +0900)]
Reset array of uniform buffer only required

Previously, we reset 64 x sizeof(UniformBufferBindingDescriptor) everytimes.
for each BindUniformBuffer commands.

It is useless job for standalone case. So move initialize process
only required.

Change-Id: I294d481cb32bec544aa2be864d08fd35322acaec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoResetting the index buffer binding cache after binding VAO (seems like an NVIDIA... 35/289435/2
Adam Bialogonski [Tue, 7 Mar 2023 17:00:19 +0000 (17:00 +0000)]
Resetting the index buffer binding cache after binding VAO (seems like an NVIDIA bug causing crash)

Change-Id: Ieb46fff4a9a41c3cdeda6e3ec04cef409938a18a

20 months agoMerge "Fix typo error at ArrayBuffer bind" into devel/master
Adeel Kazmi [Tue, 7 Mar 2023 10:40:48 +0000 (10:40 +0000)]
Merge "Fix typo error at ArrayBuffer bind" into devel/master

20 months agoAllow to add listner if target actor is not scene on 09/289409/3
Eunki, Hong [Tue, 7 Mar 2023 08:19:35 +0000 (17:19 +0900)]
Allow to add listner if target actor is not scene on

Change-Id: I6724a7a31f3ffbb1cacb4738536c980769aec4b8
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoFix typo error at ArrayBuffer bind 67/289367/1
Eunki Hong [Mon, 6 Mar 2023 17:52:49 +0000 (02:52 +0900)]
Fix typo error at ArrayBuffer bind

Previously, we don't consider glBindBuffer for
GL_ARRAY_BUFFER and GL_ELEMENT_ARRAY_BUFFER.
I think this is kind of typo error. So fix it.

Change-Id: I813b90633cc769d23c32150194cea9fe25d30c0e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
20 months agoDALi Version 2.2.16 64/289264/1 dali_2.2.16
Adam Bialogonski [Fri, 3 Mar 2023 10:25:43 +0000 (10:25 +0000)]
DALi Version 2.2.16

Change-Id: I07565ae529758ae8285f24c867be04c18ea67b69

20 months agoMerge "Make GL index format use unsinged int" into devel/master
Eunki Hong [Tue, 28 Feb 2023 05:11:52 +0000 (05:11 +0000)]
Merge "Make GL index format use unsinged int" into devel/master

20 months agoMerge "CleanUp gles version setter + Get exact FBO MSAA sample level" into devel...
David Steele [Fri, 24 Feb 2023 12:42:30 +0000 (12:42 +0000)]
Merge "CleanUp gles version setter + Get exact FBO MSAA sample level" into devel/master

20 months agoMerge "DALi Version 2.2.15" into devel/master
David Steele [Fri, 24 Feb 2023 12:31:04 +0000 (12:31 +0000)]
Merge "DALi Version 2.2.15" into devel/master

20 months agoDALi Version 2.2.15 22/288922/1 dali_2.2.15
Richard Huang [Fri, 24 Feb 2023 12:24:21 +0000 (12:24 +0000)]
DALi Version 2.2.15

Change-Id: Idb0557b63ca46ac0a6f4e56520e02282aeedec3a

20 months agoMake GL index format use unsinged int 38/288538/5
Eunki Hong [Sat, 18 Feb 2023 11:14:27 +0000 (20:14 +0900)]
Make GL index format use unsinged int

Change-Id: I9aa5076d86e073aa823e8428631f1cdc838277c0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
20 months agoCleanUp gles version setter + Get exact FBO MSAA sample level 98/288698/6
Eunki, Hong [Tue, 21 Feb 2023 19:53:33 +0000 (04:53 +0900)]
CleanUp gles version setter + Get exact FBO MSAA sample level

Avoid some useless duplicated GLES version setter.
It will reduce complexity of gles version relative logics.

Change-Id: Ibffe2894d9fab34188861d77aad28593aea6ac54
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoMerge "Add IsSpace in TextAbstraction" into devel/master
Bowon Ryu [Fri, 24 Feb 2023 04:48:46 +0000 (04:48 +0000)]
Merge "Add IsSpace in TextAbstraction" into devel/master

20 months agoMerge "Fix surface deletion order" into devel/master
Heeyong Song [Thu, 23 Feb 2023 23:47:46 +0000 (23:47 +0000)]
Merge "Fix surface deletion order" into devel/master

20 months agoAdd IsSpace in TextAbstraction 56/288856/1
Bowon Ryu [Thu, 23 Feb 2023 12:47:11 +0000 (21:47 +0900)]
Add IsSpace in TextAbstraction

Change-Id: Ic615aa2c20e22bfa013f81fa28fa5a393ea946b5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
20 months agoFixing SVACE issue in loader-ktx.cpp 37/288837/1
Adam Bialogonski [Thu, 23 Feb 2023 10:39:12 +0000 (10:39 +0000)]
Fixing SVACE issue in loader-ktx.cpp

SIGN_EXTENSION issue.

Change-Id: I69f35590db6852ad577b13857be7faf205bf4a1d

20 months agoFix surface deletion order 48/288748/1
Heeyong Song [Wed, 22 Feb 2023 08:50:01 +0000 (17:50 +0900)]
Fix surface deletion order

Change-Id: If4be038a1b47f19cef703aad0d1f48c59d0fe3d3

20 months agoFix svace issue (useless branch) 20/288720/1
Eunki, Hong [Wed, 22 Feb 2023 04:55:23 +0000 (13:55 +0900)]
Fix svace issue (useless branch)

Change-Id: I122720a0aaaf74de0a30cd66730275688f03da7d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
20 months agoReplace natvie window API in SetInputRegion() 04/288704/1
Wonsik Jung [Wed, 22 Feb 2023 01:48:30 +0000 (10:48 +0900)]
Replace natvie window API in SetInputRegion()

Replace native window API in SetInputRegion().
Because this function should be used the other native input rect APIs.
In addition, some logs are added to the related functions.

Change-Id: I4e709b1bb89f407a25bd5dbaa5403aa792955ac5

20 months agoMerge "Fix svace issue for image-operator" into devel/master
Adeel Kazmi [Tue, 21 Feb 2023 12:51:51 +0000 (12:51 +0000)]
Merge "Fix svace issue for image-operator" into devel/master

20 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

20 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

20 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

20 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

20 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>
20 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

20 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

20 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

20 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

20 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

20 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

21 months 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

21 months agoFix svace issue for image-operator 74/283974/9
Eunki, Hong [Tue, 8 Nov 2022 04:55:27 +0000 (13:55 +0900)]
Fix svace issue for image-operator

make unsigned int to uint32_t, unsigned char to uint8_t.

And also do static_cast for down-scale codes

Change-Id: I3d5762fdbf8f42b1a0a713f08cc8ca32ce2a4d5d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
21 months 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>
21 months 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>
21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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>
21 months 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>
21 months 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>
21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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>
21 months 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

21 months 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>
21 months 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>
21 months 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

21 months 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