platform/core/uifw/dali-adaptor.git
22 months agoTest sync for vertex range 42/293442/3
David Steele [Fri, 26 May 2023 13:22:50 +0000 (14:22 +0100)]
Test sync for vertex range

Change-Id: Idb7ef27c3aed835c05ee51812e34850ee09dfdd9

23 months agoMerge "[AT-SPI] Add Table and TableCell interfaces" into devel/master
Seoyeon Kim [Wed, 31 May 2023 07:18:43 +0000 (07:18 +0000)]
Merge "[AT-SPI] Add Table and TableCell interfaces" into devel/master

23 months agoMerge "Add KeepRendering method to Window" into devel/master
Heeyong Song [Tue, 30 May 2023 02:37:43 +0000 (02:37 +0000)]
Merge "Add KeepRendering method to Window" into devel/master

23 months agoMerge "Support int uniform in shader" into devel/master
Seungho BAEK [Tue, 30 May 2023 01:38:12 +0000 (01:38 +0000)]
Merge "Support int uniform in shader" into devel/master

23 months agoAdd KeepRendering method to Window 82/293382/2
Heeyong Song [Thu, 25 May 2023 09:13:43 +0000 (18:13 +0900)]
Add KeepRendering method to Window

Change-Id: I5b07c7894ab9738a121b1de02b3f74f577fbe942

23 months ago[AT-SPI] Add Table and TableCell interfaces 95/280895/6
Artur Świgoń [Tue, 6 Sep 2022 09:40:58 +0000 (11:40 +0200)]
[AT-SPI] Add Table and TableCell interfaces

The purpose of these interfaces is to support Screen Reader operation with
tables and grids, often in combination with the Selection interface, for
example reading the row and column number when navigating a grid of items, or
selecting cells / rows / columns, as specified in the UX guide.

Change-Id: If61844b73421b76661d3966c8e7caba6c9202c8f

23 months agoMerge "DALi Version 2.2.28" into devel/master
David Steele [Fri, 26 May 2023 11:42:20 +0000 (11:42 +0000)]
Merge "DALi Version 2.2.28" into devel/master

23 months agoDALi Version 2.2.28 27/293427/1 dali_2.2.28
Adeel Kazmi [Fri, 26 May 2023 11:39:49 +0000 (12:39 +0100)]
DALi Version 2.2.28

Change-Id: I38be703992e5f20c66342e0dd5376b2a4b4854ab

23 months agoMerge "Add font thread sync creation option" into devel/master
Bowon Ryu [Fri, 26 May 2023 08:12:57 +0000 (08:12 +0000)]
Merge "Add font thread sync creation option" into devel/master

23 months agoRevert "Fix clipboard paste issue" 13/293413/1
Bowon Ryu [Fri, 26 May 2023 07:30:16 +0000 (16:30 +0900)]
Revert "Fix clipboard paste issue"

This reverts commit ba40b0179fab4526582a1b0abff86322cfa045af.

Change-Id: I6ed0e8f9d32a1f2eeb11bf01fc29d7be962459d2

23 months agoSupport int uniform in shader 12/293412/1
seungho baek [Fri, 26 May 2023 07:27:14 +0000 (16:27 +0900)]
Support int uniform in shader

Change-Id: Icafe38f8f70d154ab22bdcf1174e5a0d421c55e0
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
23 months agoAdd font thread sync creation option 16/293316/6
Bowon Ryu [Wed, 24 May 2023 10:00:18 +0000 (19:00 +0900)]
Add font thread sync creation option

If sync creation is true, font thread creation guarantees syncronization with the main thread.

The main thread runs the font thread and waits,
and it wakes up upon receiving a notification from the font thread.
If it doesn't receive a notification within the specified time, it wakes up due to a timeout.

test security manager sync thread issue

Change-Id: I59ef4c189f0765cfd1c955704744c219784d238b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months ago[AT-SPI] Allow manual control of ReadingMaterial::listChildrenCount 88/293388/1
Artur Świgoń [Thu, 25 May 2023 11:01:24 +0000 (13:01 +0200)]
[AT-SPI] Allow manual control of ReadingMaterial::listChildrenCount

In complex UIs, where the logical number of children (i.e. not the number of
Actors) is difficult to determine, because (1) the children have differing
roles, or (2) the children are not direct descendants of the parent object, the
best-effort calculation done by the AT-SPI bridge (for the purpose of reading
"Showing %d items") will often be wrong.

This patch recognizes the "item_count" attribute as a high-priority, manual
setting of the number of children for the purpose of reading "Showing %d
items" with the provided value.

Change-Id: I2d027ea4930d7e9f63dee9fc4bb55a14caebf7b8

23 months agoMerge "Fix clipboard paste issue" into devel/master
Bowon Ryu [Thu, 25 May 2023 04:44:08 +0000 (04:44 +0000)]
Merge "Fix clipboard paste issue" into devel/master

23 months agoFix clipboard paste issue 20/293020/10
Bowon Ryu [Thu, 18 May 2023 05:56:41 +0000 (14:56 +0900)]
Fix clipboard paste issue

It looks ECORE_WL2_EVENT_SELECTION_DATA_READY has been deprecated since a very long time ago.
Change to ECORE_WL2_EVENT_OFFER_DATA_READY for Paste operation.

Change-Id: Id3644de01d1c7100fb19160fc77514b81817728a
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months agoAppendix log for ttrace 87/293287/5
Eunki, Hong [Wed, 24 May 2023 01:56:32 +0000 (10:56 +0900)]
Appendix log for ttrace

Print additional logs for ttrace which is not be used by tag.

Currently, we only use this info for tizen

Change-Id: I6c564dec574e6033ec2f63f5ae21ea8c4f3a4249
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
23 months agoMake Adaptor request event process regardless of state 44/292944/4
Heeyong Song [Wed, 17 May 2023 09:23:06 +0000 (18:23 +0900)]
Make Adaptor request event process regardless of state

We no longer check the adapter's state when requesting event process.

Change-Id: I64dab45b302284c71b9b911511f44eac70a0a677

23 months agoMerge "DALi Version 2.2.27" into devel/master
Adeel Kazmi [Fri, 19 May 2023 14:32:27 +0000 (14:32 +0000)]
Merge "DALi Version 2.2.27" into devel/master

23 months agoDALi Version 2.2.27 96/293096/1 dali_2.2.27
David Steele [Fri, 19 May 2023 14:26:33 +0000 (15:26 +0100)]
DALi Version 2.2.27

Change-Id: I654a5d3154b1476a27112c9df12318a63a6056e5

23 months agoCheck whether the framebuffer has color texture or not before return. 69/293069/1
seungho baek [Fri, 19 May 2023 05:05:29 +0000 (14:05 +0900)]
Check whether the framebuffer has color texture or not before return.

Change-Id: I964c754bcbc98e8c6d6d9204dabfdfb3c214f3c3
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
23 months agoMerge "Add window move/resize completed signal" into devel/master
Wonsik Jung [Wed, 17 May 2023 03:58:36 +0000 (03:58 +0000)]
Merge "Add window move/resize completed signal" into devel/master

23 months agoAdd window move/resize completed signal 32/292832/4
Wonsik Jung [Mon, 15 May 2023 10:44:55 +0000 (19:44 +0900)]
Add window move/resize completed signal

When RequestMoveToServer() or RequestResizeToServer() is called, window start to be moved or resized by display server.
After the action is finished, server send the completed event.
This patch is to received the events.

Change-Id: I282e49cec906cff040bb34889b5c9f7a7250784b

23 months agoMerge "Add performance logs in WindowBase and System (ecore_wl2)" into devel/master
Daekwang Ryu [Tue, 16 May 2023 08:46:48 +0000 (08:46 +0000)]
Merge "Add performance logs in WindowBase and System (ecore_wl2)" into devel/master

23 months agoMerge "Remove list item in error case" into devel/master
Heeyong Song [Tue, 16 May 2023 00:41:13 +0000 (00:41 +0000)]
Merge "Remove list item in error case" into devel/master

23 months agoAdd performance logs in WindowBase and System (ecore_wl2) 97/292697/4
Daekwang Ryu [Mon, 15 May 2023 09:02:05 +0000 (18:02 +0900)]
Add performance logs in WindowBase and System (ecore_wl2)

Change-Id: I30f2ba4b95f2c5d8ab284c5c59ab3dc072e56f81

23 months agoRemove list item in error case 09/292809/1
Heeyong Song [Thu, 11 May 2023 08:22:48 +0000 (17:22 +0900)]
Remove list item in error case

Change-Id: I2835fef3080aa022495816bc7ec6bf9e43c83f24

23 months agoFix build warning 70/292170/2
Heeyong Song [Fri, 28 Apr 2023 07:53:17 +0000 (16:53 +0900)]
Fix build warning

Change-Id: I1a6b0f46ff63b2b8661d58b6d3d9c8643efdd7ad

23 months agoMerge "Added recycling of Graphics resources." into devel/master
Adeel Kazmi [Fri, 12 May 2023 14:30:24 +0000 (14:30 +0000)]
Merge "Added recycling of Graphics resources." into devel/master

23 months agoMerge "DALi Version 2.2.26" into devel/master
Adeel Kazmi [Fri, 12 May 2023 09:58:54 +0000 (09:58 +0000)]
Merge "DALi Version 2.2.26" into devel/master

23 months agoMerge "[AT-SPI] Remove State::SENSITIVE from ApplicationAccessible" into devel/master
Lukasz Oleksak [Fri, 12 May 2023 09:51:16 +0000 (09:51 +0000)]
Merge "[AT-SPI] Remove State::SENSITIVE from ApplicationAccessible" into devel/master

23 months agoDALi Version 2.2.26 59/292759/1 dali_2.2.26
Richard Huang [Fri, 12 May 2023 09:47:48 +0000 (10:47 +0100)]
DALi Version 2.2.26

Change-Id: I844d76b0f3ad36e20416d9a4f7b9d015a4a685c1

23 months ago[AT-SPI] Remove State::SENSITIVE from ApplicationAccessible 12/292712/1
Artur Świgoń [Thu, 11 May 2023 14:09:01 +0000 (16:09 +0200)]
[AT-SPI] Remove State::SENSITIVE from ApplicationAccessible

Change-Id: Idcf1a79e64989c650d82e1255dc2f386958a22ef

23 months agoAdd support for FontClientFontPreLoad API 24/292224/8
Bowon Ryu [Tue, 2 May 2023 04:43:55 +0000 (13:43 +0900)]
Add support for FontClientFontPreLoad API

This patch adds a new FontClientFontPreLoad API that preloads font faces.
this can prevents delays on main thread during the inital call of FT_New_Face.

using memoryFontPathList involves loading font buffers into memory.
And using FT_New_Memory_Face at runtime, which uses more memory
but can lead to greater performance improvements.

Change-Id: Id4ea04c23e2e63354e818b5ba74783508c43c8b7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
23 months agoAdded recycling of Graphics resources. 89/290289/5
Adam Bialogonski [Wed, 22 Mar 2023 15:26:42 +0000 (15:26 +0000)]
Added recycling of Graphics resources.

When any Controller::Create...(...) function is being called, the last arguments takes a pointer to the old object. Originally, the implementation was supposed to use that object in order to recycle it (when possible). That code has never been implemented. This patch adds TryRecycle() method to the Graphics::Resource<> class and calls TryRecycle() if a valid pointer is being passed to the NewObject(). If TryRecycle() returns false (object couldn't be recycled) then original path is taken and new object is created (old is discarded). Otherwise, the object implementation should handle recycling.

The GLES graphics buffer is recycled when:
- The new spec (create info) matches old spec
- There is valid GPU/CPU storage already allocated

For a GPU-allocated buffer, the orphaning takes place. For CPU-allocated buffer, nothing changes.

Change-Id: I5969161c1004b2f0728b5dc9323e6caa88fab84b

23 months agoDALi Version 2.2.25 95/292395/1 dali_2.2.25
Adam Bialogonski [Fri, 5 May 2023 10:20:40 +0000 (11:20 +0100)]
DALi Version 2.2.25

Change-Id: Ie260f85b49ab37f7727432d250c0856c4aeb2951

23 months agoWhen the mouse is out, the previous mouse must be canceled. 96/292296/1
joogab.yun [Wed, 3 May 2023 07:53:19 +0000 (16:53 +0900)]
When the mouse is out, the previous mouse must be canceled.

Change-Id: I540c1cd3f3cb7a3d9ad2d3975b1ca16d57d49dac

23 months agoAdd MouseInOutEventSignal 71/292271/4
joogab.yun [Tue, 2 May 2023 10:20:20 +0000 (19:20 +0900)]
Add MouseInOutEventSignal

MouseInOutEvent occurs when the mouse enters or leaves the window.

Change-Id: Iadf73d6755c9deabd1c26ddfeb6c410d5ec5c383

2 years agoMerge "Make FontClient::New() for async text load" into devel/master
Eunki Hong [Fri, 28 Apr 2023 13:05:57 +0000 (13:05 +0000)]
Merge "Make FontClient::New() for async text load" into devel/master

2 years agoMerge "Fix coverity issue - Check app_event error code" into devel/master
Eunki Hong [Fri, 28 Apr 2023 11:29:51 +0000 (11:29 +0000)]
Merge "Fix coverity issue - Check app_event error code" into devel/master

2 years agoDALi Version 2.2.24 80/292180/1 dali_2.2.24
Richard Huang [Fri, 28 Apr 2023 10:08:10 +0000 (11:08 +0100)]
DALi Version 2.2.24

Change-Id: I4621226880af56647d8758495f652b1156f23c2d

2 years agoFix coverity issue - Check app_event error code 53/292153/1
ANZ1217 [Fri, 28 Apr 2023 04:01:14 +0000 (13:01 +0900)]
Fix coverity issue - Check app_event error code

Let we check the error code of each app_event_xxx cases.
And if there was some error, print error log, and skip it.

Change-Id: I2948ecbcdc603be06ba5505a70042c63d0fcc365
Signed-off-by: ANZ1217 <chihun.jeong@samsung.com>
2 years agoMerge "Add performance check logs" into devel/master
Heeyong Song [Thu, 27 Apr 2023 05:33:47 +0000 (05:33 +0000)]
Merge "Add performance check logs" into devel/master

2 years agoAdd performance check logs 07/292007/1
Heeyong Song [Wed, 26 Apr 2023 06:52:47 +0000 (15:52 +0900)]
Add performance check logs

Change-Id: Ib4c0cb4addb4356645ace5297d5b1217d4884cc5

2 years agoMake FontClient::New() for async text load 03/289603/4
Eunki, Hong [Fri, 10 Mar 2023 07:33:13 +0000 (16:33 +0900)]
Make FontClient::New() for async text load

Since we may need to use some new FontClient API that might not
used on EventThread case.

DaliHandle itself can be created at worker thread. So we need to
prepare of this usecase.

TODO : FontClient might not be thread-safe. We need to check it

Change-Id: I768bf48314fb8f66548205744d3df4f19bacefcd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Add support for FontClient PreCache in candidate process" into devel/master
Bowon Ryu [Tue, 25 Apr 2023 04:49:17 +0000 (04:49 +0000)]
Merge "Add support for FontClient PreCache in candidate process" into devel/master

2 years agoMerge "Introduce WindowData" into devel/master
David Steele [Mon, 24 Apr 2023 09:41:55 +0000 (09:41 +0000)]
Merge "Introduce WindowData" into devel/master

2 years agoAdd support for FontClient PreCache in candidate process 90/291790/3
Bowon Ryu [Fri, 21 Apr 2023 07:32:26 +0000 (16:32 +0900)]
Add support for FontClient PreCache in candidate process

This patch enables supporting PreInitialize and PreCache operations
with a single global font client.

Change-Id: Ica574772857ba3a19903a5f0dbab280b7bd31a22
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMerge "Enabled sampler arrays in shader" into devel/master
David Steele [Fri, 21 Apr 2023 09:18:29 +0000 (09:18 +0000)]
Merge "Enabled sampler arrays in shader" into devel/master

2 years agoDALi Version 2.2.23 13/291713/1 dali_2.2.23
Adeel Kazmi [Thu, 20 Apr 2023 13:08:15 +0000 (14:08 +0100)]
DALi Version 2.2.23

Change-Id: I8286ddb82b4cc10fa90d0a9974cefdde48eea9b0

2 years agoEnabled sampler arrays in shader 41/291641/1
David Steele [Wed, 19 Apr 2023 16:22:49 +0000 (17:22 +0100)]
Enabled sampler arrays in shader

Previously, texture units were only bound to the first
element of any sampler array.

Modified the shader reflection parser to find sampler arrays
of the format
  uniform sampler2D mySamplers[16]

and store the number of elements in the sampler code.

Modified the binding code to ensure that textures are bound
to each element of a sampler array.

Made several assumptions in this code:
A) that GL returns sequential locations for each uniform array element
(It doesn't guarantee a strict sequence, but in practice, this is the
case).

B) that the dali-core implementation binds texture units in the order 0..N-1
with a binding index of 0..N-1. (A safe assumption, given we know how
dali-core works!)

Note, we don't really use locations for non-sampler uniform array elements,
either, we just offset from the first location.

Change-Id: I68c61f3e22303271d5d916c3588f4a3bd5898757
Signed-off-by: David Steele <david.steele@samsung.com>
2 years agoAdding instanced draws 56/291356/3
David Steele [Thu, 13 Apr 2023 19:04:10 +0000 (20:04 +0100)]
Adding instanced draws

Change-Id: Ia947cb403955c1b915e276de2a97c57cf489c8f9

2 years agoAdded max texture unit getter 81/291281/3
David Steele [Wed, 12 Apr 2023 17:39:33 +0000 (18:39 +0100)]
Added max texture unit getter

Change-Id: Ia9e0389efe75fdbe74bd09e79bfa70df2a7abb17

2 years agoMerge "[AT-SPI] Add Value::GetValueText()" into devel/master
dongsug song [Mon, 17 Apr 2023 07:54:38 +0000 (07:54 +0000)]
Merge "[AT-SPI] Add Value::GetValueText()" into devel/master

2 years agoMerge "DALi Version 2.2.22" into devel/master
David Steele [Fri, 14 Apr 2023 12:09:29 +0000 (12:09 +0000)]
Merge "DALi Version 2.2.22" into devel/master

2 years agoDALi Version 2.2.22 97/291397/1 dali_2.2.22
Adam Bialogonski [Fri, 14 Apr 2023 09:25:19 +0000 (10:25 +0100)]
DALi Version 2.2.22

Change-Id: I66fc03bc33b2c19ad99855864f95385b5c2e9fa2

2 years ago[AT-SPI] Add Value::GetValueText() 24/291324/2
Artur Świgoń [Thu, 13 Apr 2023 09:32:32 +0000 (11:32 +0200)]
[AT-SPI] Add Value::GetValueText()

Change-Id: I2995c49d8cb590454e9cf0773bcf97955393718c

2 years agoReset DragWindow when dragging is finished (Accept, Cancel, Finish) 83/291383/2
Taehyub Kim [Fri, 14 Apr 2023 05:16:52 +0000 (14:16 +0900)]
Reset DragWindow when dragging is finished (Accept, Cancel, Finish)

Change-Id: Iaae6122cd94555c73429a002a54a1a46ad366f4b

2 years agoIntroduce WindowData 55/290155/9
Daekwang Ryu [Fri, 14 Apr 2023 02:45:37 +0000 (11:45 +0900)]
Introduce WindowData

The application class had to add new consructors whenever the Window
class added a new constructor. Becuase the class has a default window.
To simplify this process, WindowData is introduced that contains
all the data of the window.

Change-Id: Ib7a334e5d705628b4498e7775cd810f1f3ba50d8

2 years agoLoad image loader plugin if requested 85/291185/1
Heeyong Song [Tue, 11 Apr 2023 08:00:30 +0000 (17:00 +0900)]
Load image loader plugin if requested

It takes long time on lowend chipset even though there is no plugin.

Change-Id: I3a1208b43316025704452a3ecbb2e6a8bd332c7a

2 years agoFix coverity issue (Use fontDescription after move) 23/291023/4
Eunki, Hong [Thu, 6 Apr 2023 12:32:22 +0000 (21:32 +0900)]
Fix coverity issue (Use fontDescription after move)

Change-Id: Iee3e63bb50a8e41ba71cdfcca4f78bf4f4452f6b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.2.21" into devel/master
David Steele [Thu, 6 Apr 2023 13:57:35 +0000 (13:57 +0000)]
Merge "DALi Version 2.2.21" into devel/master

2 years agoDALi Version 2.2.21 31/291031/1 dali_2.2.21
David Steele [Thu, 6 Apr 2023 13:47:52 +0000 (14:47 +0100)]
DALi Version 2.2.21

Change-Id: I5d8945b2b0873e2686669807ef26824c27054f3c

2 years agoMerge "Use c-style string when webview loads contents." into devel/master
dongsug song [Thu, 6 Apr 2023 05:41:31 +0000 (05:41 +0000)]
Merge "Use c-style string when webview loads contents." into devel/master

2 years agoAdd trace log mouse button and wheel 10/290910/1
joogab.yun [Wed, 5 Apr 2023 02:21:26 +0000 (11:21 +0900)]
Add trace log mouse button and wheel

Change-Id: I7fae8f90fdaad2b9bd6f2481debc2167eb7fee24

2 years agoUse c-style string when webview loads contents. 49/290849/1
huayong.xu [Tue, 4 Apr 2023 07:22:15 +0000 (15:22 +0800)]
Use c-style string when webview loads contents.

Change-Id: Ibb1c327339287a97dcb436c26d5ccf4b2e2a299c

2 years agoMerge "Fix the calculating logic for input region" into devel/master
Wonsik Jung [Tue, 4 Apr 2023 00:26:31 +0000 (00:26 +0000)]
Merge "Fix the calculating logic for input region" into devel/master

2 years 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

2 years agoMake enum for RunningTaskState + Clean code 15/290615/7
Eunki, Hong [Wed, 29 Mar 2023 11:30:01 +0000 (20:30 +0900)]
Make enum for RunningTaskState + Clean code

The running task's second value was not cleared means. Let we use enum value
instead of single boolean.

And also, let we excute Worker thread provider only if it is valid

Change-Id: Ic6af332774fe008fd010c11510d68462762c0e34
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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