Wonsik Jung [Fri, 30 Jun 2023 09:16:47 +0000 (18:16 +0900)]
Fix the bug system initailize and shutdown pair.
This patch is to fix the bug system initailize and shutdown pair.
Sometimes, WindowSystem::Shutdown() is called before WindowSystem::Initialize() is not calling.
The example is the below.
int UtcDaliApplicationNew01(void)
{
Application application = Application::New();
MyTestApp testApp(application);
DALI_TEST_CHECK(application);
END_TEST;
}
Change-Id: Icf3c19757bdc2b772bdc8fdd6ef1b67eba3f2c8b
Heeyong Song [Mon, 3 Jul 2023 00:51:01 +0000 (09:51 +0900)]
Fix SVACE issue
Change-Id: Ia1fb371f35933fa2e493bee78f2bcc112be58609
Heeyong Song [Fri, 30 Jun 2023 15:05:23 +0000 (15:05 +0000)]
Merge "Use another framework in OffscreenApplication" into devel/master
David Steele [Fri, 30 Jun 2023 13:24:43 +0000 (13:24 +0000)]
Merge "DALi Version 2.2.33" into devel/master
Adeel Kazmi [Fri, 30 Jun 2023 13:16:59 +0000 (14:16 +0100)]
DALi Version 2.2.33
Change-Id: Id691aceeb96a33decbaedbe587a322b4b2afcc2a
Heeyong Song [Thu, 29 Jun 2023 10:05:52 +0000 (19:05 +0900)]
Use another framework in OffscreenApplication
Use glib main loop in OffscreenApplication
In the case, ecore APIs should not be called.
Change-Id: I18b327cce8a8b5973124042207210b40df9707ad
Heeyong Song [Mon, 26 Jun 2023 09:31:34 +0000 (18:31 +0900)]
Refactor system classes
Refactor CallbackManager, FileDescriptorMonitor, Timer
Change-Id: I16ac23375bae537206c78b2fd630d79eea44de36
Heeyong Song [Fri, 23 Jun 2023 07:36:47 +0000 (16:36 +0900)]
Framework refactoring
Change-Id: I047e92153a9ff3aa320512e3d86a54e8265e951c
joogab yun [Thu, 29 Jun 2023 07:35:04 +0000 (07:35 +0000)]
Merge "Add FeedHover for HoverEvent" into devel/master
Daekwang Ryu [Thu, 29 Jun 2023 04:34:19 +0000 (04:34 +0000)]
Merge "Use WindowData in the constructors of Application and Window" into devel/master
joogab.yun [Wed, 28 Jun 2023 06:24:28 +0000 (15:24 +0900)]
Add FeedHover for HoverEvent
Change-Id: I0f712811c35fbd069f3ac0ea4449ddab5c059579
Bowon Ryu [Wed, 28 Jun 2023 04:52:37 +0000 (04:52 +0000)]
Merge "Move Clipboard to TextClipboard" into devel/master
Daekwang Ryu [Mon, 12 Jun 2023 04:30:59 +0000 (13:30 +0900)]
Use WindowData in the constructors of Application and Window
This patch makes Internal Application and Window use WindowData.
This doesn't affect existing APIs.
We don't need to add a New function in the Application anymore because of new parameter of Window.
Change-Id: I7d211232f88ec1b3d6eaf6519dc61c79edb2c8ac
David Steele [Tue, 27 Jun 2023 12:39:29 +0000 (13:39 +0100)]
Fix more static analysis errors
Change-Id: I7d78c8431db5a3323dbb308a36ef88dfc0e8d4b3
Bowon Ryu [Tue, 27 Jun 2023 05:43:51 +0000 (14:43 +0900)]
Move Clipboard to TextClipboard
We plan to create a new Clipboard class
and remove the dependency on Text and the legacy clipboard.
Change-Id: I50475d80571b128b199e209ed8515c6446688e6e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
David Steele [Mon, 26 Jun 2023 11:33:36 +0000 (12:33 +0100)]
Fixed static analysis errors in UBO code
Change-Id: I8fc912c8f93999c7a07b43246af9174f3127538d
Bowon Ryu [Mon, 26 Jun 2023 02:24:10 +0000 (02:24 +0000)]
Merge "Ensure join of font thread" into devel/master
Heeyong Song [Thu, 22 Jun 2023 04:17:13 +0000 (13:17 +0900)]
Add SetPartialUpdateEnabled to Window
Change-Id: Ic8ae7c4c1a76d9aa5dbd31e61485d7900c8dc13b
Adeel Kazmi [Sat, 24 Jun 2023 14:02:56 +0000 (14:02 +0000)]
Merge "Adding uniform block handling for modern shaders" into devel/master
Adam Bialogonski [Thu, 6 Apr 2023 15:15:50 +0000 (16:15 +0100)]
Adding uniform block handling for modern shaders
Extract uniform blocks and their uniforms via the reflection interface.
Ensure sampler order is still lexical.
Added buffer offset alignment handling - memory for uniform blocks
within a buffer must be aligned according to the current graphics
context.
Change-Id: I2b06d23057904a2e2ecbb67aff42c229ab89162d
Bowon Ryu [Thu, 22 Jun 2023 10:59:02 +0000 (19:59 +0900)]
Ensure join of font thread
In certain cases where the font thread is not joined,
such as when there is no UI or when the font client is not used.
this patch ensures the join of the font thread by invoking the join method in the destructor.
Change-Id: I8ffcf21ab9dcc1b1e4de54e50adb23d0796b996e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Adam Bialogonski [Fri, 23 Jun 2023 10:03:17 +0000 (11:03 +0100)]
DALi Version 2.2.32
Change-Id: If12bed367bc470a5e4839faadb126437c72f9fa8
Eunki Hong [Thu, 22 Jun 2023 10:18:05 +0000 (10:18 +0000)]
Merge "Make different color with INFO and DEBUG log" into devel/master
Eunki, Hong [Thu, 22 Jun 2023 02:13:37 +0000 (11:13 +0900)]
Do not try to load bitmap for unsupported file format.
When we try to call GetClosestImageSize for svg, lottie format files,
It will always try to decode WBMP format, which is not has magic number.
To avoid this useless file decode works, let we implement to fast-cancel
of full image decode logics for some case.
Change-Id: I6f6ba1e05ce4d12be62440923f383362d2df73d3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Eunki Hong [Sat, 10 Jun 2023 10:18:46 +0000 (19:18 +0900)]
Make different color with INFO and DEBUG log
Print debug log as Gray scaled color
Change-Id: I81487def3f7ccc4849728dd7bd82c358b72d9956
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
joogab.yun [Tue, 20 Jun 2023 00:27:32 +0000 (09:27 +0900)]
Revert "Add DeviceInfo event"
This reverts commit
2b85d49b4e74a5c8f7cba3e6966aaea92a5a343c.
Change-Id: I811f890ae12efb2a5402e7253643d824f2e3b52e
joogab yun [Mon, 19 Jun 2023 09:10:29 +0000 (09:10 +0000)]
Merge "Add DeviceInfo event" into devel/master
joogab.yun [Mon, 12 Jun 2023 04:03:35 +0000 (13:03 +0900)]
Add DeviceInfo event
this event called when a device such as a mouse or keyboard is connected or disconnected
Change-Id: Ia8d70e87000514b691436732b148666d8a5c1b51
Daekwang Ryu [Mon, 19 Jun 2023 01:15:15 +0000 (01:15 +0000)]
Merge "Add SetFrameRenderedCallback() in OffscreenWindow" into devel/master
David Steele [Fri, 16 Jun 2023 14:27:28 +0000 (14:27 +0000)]
Merge "DALi Version 2.2.31" into devel/master
Richard Huang [Fri, 16 Jun 2023 13:48:35 +0000 (14:48 +0100)]
DALi Version 2.2.31
Change-Id: If8ffa20e8c0102286a7c9576e7cbd14393ef63db
seungho baek [Fri, 16 Jun 2023 08:40:18 +0000 (17:40 +0900)]
Fix to do not try to bind texture when there is no active texture in shader code
Change-Id: Ibd690b68015869f485b3458dc80b81486d3eca8e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
Daekwang Ryu [Fri, 16 Jun 2023 06:22:32 +0000 (15:22 +0900)]
Add SetFrameRenderedCallback() in OffscreenWindow
Change-Id: Idea04d1fa2b71cd66cdbfcb76da2841e111b89e5
Wonsik Jung [Tue, 13 Jun 2023 08:10:09 +0000 (08:10 +0000)]
Merge "Add Window System's Initialize() and ShutDown()" into devel/master
Wonsik Jung [Mon, 12 Jun 2023 07:03:26 +0000 (16:03 +0900)]
Add Window System's Initialize() and ShutDown()
Add Window System's Initailize() and ShutDown() for UI Threading.
Because Window's Initialize() and ShutDown() should be called in UI Thread when UI Threading is enabled.
Change-Id: I8d1a4e8e85366d31efa1c0690d436b409f4c791d
Heeyong Song [Tue, 13 Jun 2023 04:38:27 +0000 (04:38 +0000)]
Merge "Support updated area of native image" into devel/master
Daekwang Ryu [Tue, 13 Jun 2023 02:17:01 +0000 (11:17 +0900)]
Revert "Use WindowData in the constructors of Application"
This reverts commit
bc38155bec5aabefb831b0a40ff592ecc84016eb.
Daekwang Ryu [Mon, 12 Jun 2023 04:30:59 +0000 (13:30 +0900)]
Use WindowData in the constructors of Application
This patch makes Internal Application use WindowData.
This doesn't affect existing APIs.
We don't need to add a New function in the Application anymore because of new parameter of Window.
Change-Id: Ie3a67b49080650c0ffb5f71d87f4fc7f88bf54af
Heeyong Song [Tue, 30 May 2023 01:15:19 +0000 (10:15 +0900)]
Support updated area of native image
Change-Id: I6b29ea3a8bc8474a991a7f7a5977907827999403
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>