platform/core/uifw/dali-adaptor.git
16 months agoDo not reset mPostRendering in ResizeSurface 64/293964/3
Heeyong Song [Fri, 9 Jun 2023 07:03:35 +0000 (16:03 +0900)]
Do not reset mPostRendering in ResizeSurface

We should wait for PostRenderComplete in this case

Change-Id: Ib83d7586fe8edb0903dfd4b1dc1c3397317009f8

16 months agoRevert "Make another ConditionalWait for post-rendearing" 63/293963/2
Heeyong Song [Fri, 9 Jun 2023 06:40:32 +0000 (15:40 +0900)]
Revert "Make another ConditionalWait for post-rendearing"

This reverts commit 11af5d96f037c59d36deb838be40554d49d2f4b4.

Change-Id: Ibc44cb0f26c998d5e524c33783af73a6ceb38949

16 months agoDisable partial update in OffscreenApplication case 78/293978/2
Heeyong Song [Fri, 9 Jun 2023 09:25:31 +0000 (18:25 +0900)]
Disable partial update in OffscreenApplication case

Change-Id: I505f89c63f56bb49c2a246c3c12346a0e68c346a

17 months agoMerge "DALi Version 2.2.30" into devel/master
Adeel Kazmi [Fri, 9 Jun 2023 09:52:32 +0000 (09:52 +0000)]
Merge "DALi Version 2.2.30" into devel/master

17 months agoDALi Version 2.2.30 86/293986/1 dali_2.2.30
David Steele [Fri, 9 Jun 2023 09:50:11 +0000 (10:50 +0100)]
DALi Version 2.2.30

Change-Id: Ifdc51e60bf2e6462b88a5c3b1b6986e688ad444b

17 months agoMerge "Add copy & paste to clipboard" into devel/master
Bowon Ryu [Fri, 9 Jun 2023 08:50:34 +0000 (08:50 +0000)]
Merge "Add copy & paste to clipboard" into devel/master

17 months agoMerge "Change window User.Geometry policy." into devel/master
Wonsik Jung [Wed, 7 Jun 2023 07:10:12 +0000 (07:10 +0000)]
Merge "Change window User.Geometry policy." into devel/master

17 months agoMerge "Remove the redundancy for geometry calculate function" into devel/master
Wonsik Jung [Wed, 7 Jun 2023 06:54:25 +0000 (06:54 +0000)]
Merge "Remove the redundancy for  geometry calculate function" into devel/master

17 months agoChange window User.Geometry policy. 44/293444/4
Wonsik Jung [Sat, 27 May 2023 07:01:03 +0000 (16:01 +0900)]
Change window User.Geometry policy.

Window is created with default size or not.
If window is not created with default size or the window geometry is changed by user,
the client should inform to server to use  user.geometry flag.

Change-Id: I19b3894fcf1cea5ac6010035dd38eb29e4c36985

17 months agoMerge "Add GetRenderTaskList to SceneHolder" into devel/master
Heeyong Song [Mon, 5 Jun 2023 11:01:33 +0000 (11:01 +0000)]
Merge "Add GetRenderTaskList to SceneHolder" into devel/master

17 months agoAdd GetRenderTaskList to SceneHolder 03/293803/1
Heeyong Song [Mon, 5 Jun 2023 08:51:24 +0000 (17:51 +0900)]
Add GetRenderTaskList to SceneHolder

Change-Id: I9261d97923f842859f088a97d529185b710bfe21

17 months agoAdd check window id at OnMoveCompleted and OnResizeCompleted 73/293773/2
joogab.yun [Sat, 3 Jun 2023 05:08:33 +0000 (14:08 +0900)]
Add check window id at OnMoveCompleted and OnResizeCompleted

Change-Id: I766e5015763b3c3d151e6a96e6c06aac06c3dfb1

17 months agoMerge changes Icb27671f,I07e96827,I9d70a98c,Idb7ef27c into devel/master
David Steele [Fri, 2 Jun 2023 17:18:23 +0000 (17:18 +0000)]
Merge changes Icb27671f,I07e96827,I9d70a98c,Idb7ef27c into devel/master

* changes:
  Ensure glVertexAttribDivisor is gles3 only
  Ensuring vertex attributes are uploaded once per buffer
  Enable correct GL for integer attribute
  Test sync for vertex range

17 months agoDALi Version 2.2.29 50/293750/1 dali_2.2.29
Richard Huang [Fri, 2 Jun 2023 10:37:01 +0000 (11:37 +0100)]
DALi Version 2.2.29

Change-Id: Ibcd0fc334a85321ac9d6626be7ab7913a070e9c6

17 months agoAllow to MSAA for Ubuntu profile 09/293609/1
Eunki, Hong [Thu, 1 Jun 2023 03:52:56 +0000 (12:52 +0900)]
Allow to MSAA for Ubuntu profile

Change-Id: I6e55fe87ea8c9a9414867d66640e97f86ef3b2e1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
17 months agoAdd copy & paste to clipboard 86/293586/2
Bowon Ryu [Wed, 31 May 2023 10:46:23 +0000 (19:46 +0900)]
Add copy & paste to clipboard

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.

+ Depending on the environment, such as whether cbhm is used or not,
the length received as an event may be string length or buffer length.
Add null validation to the event handler to ensure it works.

Currently known exception cases are resolved,
but this logic may need to be modified if another exception appears.

This reverts commit 9900645a13deda1aa7cdbe35ceab1c84d97cb60d.

Change-Id: Idf99fec07524bab8b6338b7abc7c235f3ddc6d17

17 months agoEnsure glVertexAttribDivisor is gles3 only 87/293587/1
David Steele [Wed, 31 May 2023 13:15:47 +0000 (14:15 +0100)]
Ensure glVertexAttribDivisor is gles3 only

Change-Id: Icb27671fea032fb00edfe8ff07808e2ab9e3b2eb

17 months agoEnsuring vertex attributes are uploaded once per buffer 15/291815/7
David Steele [Fri, 21 Apr 2023 12:14:44 +0000 (13:14 +0100)]
Ensuring vertex attributes are uploaded once per buffer

Changed status if the buffer bindings are modified
Ensured samplers are only updated if program is different

Change-Id: I07e9682705c309dc1a11412ce3e50ff53fdf93a5

17 months agoEnable correct GL for integer attribute 00/291800/7
David Steele [Fri, 21 Apr 2023 09:08:34 +0000 (10:08 +0100)]
Enable correct GL for integer attribute

Was using VertexAttribPointer for defining all attributes, which meant
that integers got wierd due to normalization / float conversion.

Switched to using VertexAttribIPointer for integer attributes, now they
can be used properly in shaders, and the driver can optimize shader
code that uses them (e.g. for sampler array lookup)

Change-Id: I9d70a98ce0174370ab95e17e3e8132993ca9360e

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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

17 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>
17 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>
17 months agoRemove the redundancy for geometry calculate function 80/293180/1
Wonsik Jung [Mon, 22 May 2023 06:30:22 +0000 (15:30 +0900)]
Remove the redundancy for  geometry calculate function

The geometry calculate is needed from client to displayer server module.
The calcuate function is needed when window is resized, moved and set the input region.
For that, the calculated function is existed twice.
This patch is to remove one of them.

Change-Id: I87ff260b0e31475735c80c3e144bd1a68e3ad907

17 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

17 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

17 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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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>
18 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

18 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

18 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

18 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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