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
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
Heeyong Song [Fri, 9 Jun 2023 09:25:31 +0000 (18:25 +0900)]
Disable partial update in OffscreenApplication case
Change-Id: I505f89c63f56bb49c2a246c3c12346a0e68c346a
Adeel Kazmi [Fri, 9 Jun 2023 09:52:32 +0000 (09:52 +0000)]
Merge "DALi Version 2.2.30" into devel/master
David Steele [Fri, 9 Jun 2023 09:50:11 +0000 (10:50 +0100)]
DALi Version 2.2.30
Change-Id: Ifdc51e60bf2e6462b88a5c3b1b6986e688ad444b
Bowon Ryu [Fri, 9 Jun 2023 08:50:34 +0000 (08:50 +0000)]
Merge "Add copy & paste to clipboard" 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
Wonsik Jung [Wed, 7 Jun 2023 06:54:25 +0000 (06:54 +0000)]
Merge "Remove the redundancy for geometry calculate function" into devel/master
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
Heeyong Song [Mon, 5 Jun 2023 11:01:33 +0000 (11:01 +0000)]
Merge "Add GetRenderTaskList to SceneHolder" into devel/master
Heeyong Song [Mon, 5 Jun 2023 08:51:24 +0000 (17:51 +0900)]
Add GetRenderTaskList to SceneHolder
Change-Id: I9261d97923f842859f088a97d529185b710bfe21
joogab.yun [Sat, 3 Jun 2023 05:08:33 +0000 (14:08 +0900)]
Add check window id at OnMoveCompleted and OnResizeCompleted
Change-Id: I766e5015763b3c3d151e6a96e6c06aac06c3dfb1
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
Richard Huang [Fri, 2 Jun 2023 10:37:01 +0000 (11:37 +0100)]
DALi Version 2.2.29
Change-Id: Ibcd0fc334a85321ac9d6626be7ab7913a070e9c6
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>
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
David Steele [Wed, 31 May 2023 13:15:47 +0000 (14:15 +0100)]
Ensure glVertexAttribDivisor is gles3 only
Change-Id: Icb27671fea032fb00edfe8ff07808e2ab9e3b2eb
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
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
David Steele [Fri, 26 May 2023 13:22:50 +0000 (14:22 +0100)]
Test sync for vertex range
Change-Id: Idb7ef27c3aed835c05ee51812e34850ee09dfdd9
Seoyeon Kim [Wed, 31 May 2023 07:18:43 +0000 (07:18 +0000)]
Merge "[AT-SPI] Add Table and TableCell interfaces" 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
Seungho BAEK [Tue, 30 May 2023 01:38:12 +0000 (01:38 +0000)]
Merge "Support int uniform in shader" into devel/master
Heeyong Song [Thu, 25 May 2023 09:13:43 +0000 (18:13 +0900)]
Add KeepRendering method to Window
Change-Id: I5b07c7894ab9738a121b1de02b3f74f577fbe942
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
David Steele [Fri, 26 May 2023 11:42:20 +0000 (11:42 +0000)]
Merge "DALi Version 2.2.28" into devel/master
Adeel Kazmi [Fri, 26 May 2023 11:39:49 +0000 (12:39 +0100)]
DALi Version 2.2.28
Change-Id: I38be703992e5f20c66342e0dd5376b2a4b4854ab
Bowon Ryu [Fri, 26 May 2023 08:12:57 +0000 (08:12 +0000)]
Merge "Add font thread sync creation option" into devel/master
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
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>
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>
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
Bowon Ryu [Thu, 25 May 2023 04:44:08 +0000 (04:44 +0000)]
Merge "Fix clipboard paste issue" into devel/master
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>
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>
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
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
Adeel Kazmi [Fri, 19 May 2023 14:32:27 +0000 (14:32 +0000)]
Merge "DALi Version 2.2.27" into devel/master
David Steele [Fri, 19 May 2023 14:26:33 +0000 (15:26 +0100)]
DALi Version 2.2.27
Change-Id: I654a5d3154b1476a27112c9df12318a63a6056e5
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>
Wonsik Jung [Wed, 17 May 2023 03:58:36 +0000 (03:58 +0000)]
Merge "Add window move/resize completed signal" into devel/master
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
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
Heeyong Song [Tue, 16 May 2023 00:41:13 +0000 (00:41 +0000)]
Merge "Remove list item in error case" into devel/master
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
Heeyong Song [Thu, 11 May 2023 08:22:48 +0000 (17:22 +0900)]
Remove list item in error case
Change-Id: I2835fef3080aa022495816bc7ec6bf9e43c83f24
Heeyong Song [Fri, 28 Apr 2023 07:53:17 +0000 (16:53 +0900)]
Fix build warning
Change-Id: I1a6b0f46ff63b2b8661d58b6d3d9c8643efdd7ad
Adeel Kazmi [Fri, 12 May 2023 14:30:24 +0000 (14:30 +0000)]
Merge "Added recycling of Graphics resources." 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
Lukasz Oleksak [Fri, 12 May 2023 09:51:16 +0000 (09:51 +0000)]
Merge "[AT-SPI] Remove State::SENSITIVE from ApplicationAccessible" into devel/master
Richard Huang [Fri, 12 May 2023 09:47:48 +0000 (10:47 +0100)]
DALi Version 2.2.26
Change-Id: I844d76b0f3ad36e20416d9a4f7b9d015a4a685c1
Artur Świgoń [Thu, 11 May 2023 14:09:01 +0000 (16:09 +0200)]
[AT-SPI] Remove State::SENSITIVE from ApplicationAccessible
Change-Id: Idcf1a79e64989c650d82e1255dc2f386958a22ef
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>
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
Adam Bialogonski [Fri, 5 May 2023 10:20:40 +0000 (11:20 +0100)]
DALi Version 2.2.25
Change-Id: Ie260f85b49ab37f7727432d250c0856c4aeb2951
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
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
Eunki Hong [Fri, 28 Apr 2023 13:05:57 +0000 (13:05 +0000)]
Merge "Make FontClient::New() for async text load" 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
Richard Huang [Fri, 28 Apr 2023 10:08:10 +0000 (11:08 +0100)]
DALi Version 2.2.24
Change-Id: I4621226880af56647d8758495f652b1156f23c2d
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>
Heeyong Song [Thu, 27 Apr 2023 05:33:47 +0000 (05:33 +0000)]
Merge "Add performance check logs" into devel/master
Heeyong Song [Wed, 26 Apr 2023 06:52:47 +0000 (15:52 +0900)]
Add performance check logs
Change-Id: Ib4c0cb4addb4356645ace5297d5b1217d4884cc5
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>
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
David Steele [Mon, 24 Apr 2023 09:41:55 +0000 (09:41 +0000)]
Merge "Introduce WindowData" into devel/master
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>
David Steele [Fri, 21 Apr 2023 09:18:29 +0000 (09:18 +0000)]
Merge "Enabled sampler arrays in shader" into devel/master
Adeel Kazmi [Thu, 20 Apr 2023 13:08:15 +0000 (14:08 +0100)]
DALi Version 2.2.23
Change-Id: I8286ddb82b4cc10fa90d0a9974cefdde48eea9b0
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>
David Steele [Thu, 13 Apr 2023 19:04:10 +0000 (20:04 +0100)]
Adding instanced draws
Change-Id: Ia947cb403955c1b915e276de2a97c57cf489c8f9
David Steele [Wed, 12 Apr 2023 17:39:33 +0000 (18:39 +0100)]
Added max texture unit getter
Change-Id: Ia9e0389efe75fdbe74bd09e79bfa70df2a7abb17
dongsug song [Mon, 17 Apr 2023 07:54:38 +0000 (07:54 +0000)]
Merge "[AT-SPI] Add Value::GetValueText()" 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
Adam Bialogonski [Fri, 14 Apr 2023 09:25:19 +0000 (10:25 +0100)]
DALi Version 2.2.22
Change-Id: I66fc03bc33b2c19ad99855864f95385b5c2e9fa2
Artur Świgoń [Thu, 13 Apr 2023 09:32:32 +0000 (11:32 +0200)]
[AT-SPI] Add Value::GetValueText()
Change-Id: I2995c49d8cb590454e9cf0773bcf97955393718c
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
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
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
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>
David Steele [Thu, 6 Apr 2023 13:57:35 +0000 (13:57 +0000)]
Merge "DALi Version 2.2.21" into devel/master
David Steele [Thu, 6 Apr 2023 13:47:52 +0000 (14:47 +0100)]
DALi Version 2.2.21
Change-Id: I5d8945b2b0873e2686669807ef26824c27054f3c
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
joogab.yun [Wed, 5 Apr 2023 02:21:26 +0000 (11:21 +0900)]
Add trace log mouse button and wheel
Change-Id: I7fae8f90fdaad2b9bd6f2481debc2167eb7fee24
huayong.xu [Tue, 4 Apr 2023 07:22:15 +0000 (15:22 +0800)]
Use c-style string when webview loads contents.
Change-Id: Ibb1c327339287a97dcb436c26d5ccf4b2e2a299c
Wonsik Jung [Tue, 4 Apr 2023 00:26:31 +0000 (00:26 +0000)]
Merge "Fix the calculating logic for input region" into devel/master
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
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>
Eunki Hong [Fri, 31 Mar 2023 13:22:45 +0000 (13:22 +0000)]
Merge "Fix performance down if DefaultFontDescription not prepared" 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
Adam Bialogonski [Fri, 31 Mar 2023 09:19:40 +0000 (10:19 +0100)]
DALi Version 2.2.20
Change-Id: I735687a531d3e18facfb65067a73e8b948d39e4c
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>
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
Eunki Hong [Wed, 29 Mar 2023 04:53:00 +0000 (04:53 +0000)]
Merge "AsyncTaskManager overhead reduce" 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
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>
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>
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
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
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