platform/core/uifw/dali-adaptor.git
12 months agoAllow to add idler even if adaptor paused 63/302463/1
Eunki, Hong [Thu, 7 Dec 2023 06:23:02 +0000 (15:23 +0900)]
Allow to add idler even if adaptor paused

Let we install idler function even if Adaptor is paused.

Since the Adaptor pause state depend on by Windows visibility, not app state,
Application::AddIdle() API usage make some confused.

For example, We cannot call AddIdle() at Application::OnResume callback
because the Window::OnIconifyChanged signal still not comed.

To avoid it, let we just allow Idler function add even Adator is paused.

Change-Id: I943ef76d4e759e282675fbcbc06f0a87d95e9fea
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoFixed SVACE errors 45/302345/1
Adeel Kazmi [Tue, 5 Dec 2023 16:36:39 +0000 (16:36 +0000)]
Fixed SVACE errors

Change-Id: Idf920c3e39dceca7b34d2eedd8a875f9330739a9

12 months agoMerge "DALi Version 2.3.1" into devel/master
David Steele [Fri, 1 Dec 2023 11:31:03 +0000 (11:31 +0000)]
Merge "DALi Version 2.3.1" into devel/master

12 months agoDALi Version 2.3.1 64/302164/1 dali_2.3.1
Richard Huang [Fri, 1 Dec 2023 11:02:33 +0000 (11:02 +0000)]
DALi Version 2.3.1

Change-Id: Ia3bb31d50b5ee52cd8747f1dba882967e4b773b2

12 months agoAllow to use LifecycleController for OffscreenApplication 36/302136/2
Eunki, Hong [Fri, 1 Dec 2023 02:34:51 +0000 (11:34 +0900)]
Allow to use LifecycleController for OffscreenApplication

Some OffscreenApplication have some usage for LifecycleController signal.
But previously, we didn't attach this signal for app lifecycle correctly.

Now let we connect it so we can know the app's lifecycle

Change-Id: I75a2757ea17fcf6e21041302923b83b5964a3a83
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoMerge "Unified the way to load wbmp file" into devel/master
Eunki Hong [Wed, 29 Nov 2023 03:17:25 +0000 (03:17 +0000)]
Merge "Unified the way to load wbmp file" into devel/master

12 months agoMerge "Print warning message when download size is zero" into devel/master
Eunki Hong [Wed, 29 Nov 2023 03:17:17 +0000 (03:17 +0000)]
Merge "Print warning message when download size is zero" into devel/master

12 months agoMerge "Apply Precompile shader" into devel/master
sunghyun kim [Tue, 28 Nov 2023 04:33:34 +0000 (04:33 +0000)]
Merge "Apply Precompile shader" into devel/master

12 months agoPrint warning message when download size is zero 36/301936/1
Eunki, Hong [Tue, 28 Nov 2023 02:44:48 +0000 (11:44 +0900)]
Print warning message when download size is zero

Change-Id: If65c03869d5cf841682af60d8a3c3cd9024b3656
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoUnified the way to load wbmp file 05/301905/2
Eunki, Hong [Mon, 27 Nov 2023 06:14:03 +0000 (15:14 +0900)]
Unified the way to load wbmp file

Let we print same error log if we try to load wbmp file header, or file itself.

Change-Id: I59f3c42f2d7f99e4146511042bdd98ab9b48fd1d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoMerge "Ensure to check GLES::ShaderImpl when we found GLES:ProgramImpl" into devel...
Eunki Hong [Mon, 27 Nov 2023 07:42:53 +0000 (07:42 +0000)]
Merge "Ensure to check GLES::ShaderImpl when we found GLES:ProgramImpl" into devel/master

12 months agoApply Precompile shader 68/300268/10
sunghyun kim [Thu, 21 Sep 2023 05:59:54 +0000 (14:59 +0900)]
Apply Precompile shader

Change-Id: I76880c50206efe8d63c8fa94b51e98c48018a71b

12 months agoFix typo error when we print curl error message 92/301892/1
Eunki, Hong [Mon, 27 Nov 2023 05:07:23 +0000 (14:07 +0900)]
Fix typo error when we print curl error message

Change-Id: I1581a2d33dab63754c71f805e44b4d306d65a7b2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoEnsure to check GLES::ShaderImpl when we found GLES:ProgramImpl 37/301637/10
Eunki, Hong [Tue, 21 Nov 2023 06:28:04 +0000 (15:28 +0900)]
Ensure to check GLES::ShaderImpl when we found GLES:ProgramImpl

Previously, We only consider 1 Graphis::Shader per 1 shader codes.
But for now, we allow to use multiple Graphics::Shader per 1 shader code,
by cache GLES::ShaderImpl system.

But we check Graphics::Shader pointer when we found cached ProgramImpl for now.

It will make some unneccessary glLinkProgram call when Graphics::Shader cache
miss occured.

To resolve it, let we cache GLES::Shader wrapper instead of Graphics::Shader.
And compare with the pointer of GLES::ShaderImpl.

Change-Id: I0681cb96448c75a7d6841011c49803329ed3116d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
12 months agoMerge "DALi Version 2.3.0" into devel/master
Adeel Kazmi [Fri, 24 Nov 2023 12:40:50 +0000 (12:40 +0000)]
Merge "DALi Version 2.3.0" into devel/master

12 months agoDALi Version 2.3.0 53/301853/1 dali_2.3.0
David Steele [Fri, 24 Nov 2023 12:38:03 +0000 (12:38 +0000)]
DALi Version 2.3.0

Change-Id: I6bbc494cd9b00da91fd6492b6cc149cf880a7a83

13 months agoDo not trace canceled task 25/301625/2
Eunki, Hong [Tue, 21 Nov 2023 03:15:36 +0000 (12:15 +0900)]
Do not trace canceled task

If some running tasks are traced, it will not be removed even
after PopNextCompleted event running. So that signal never be emitted.

To avoid this issue,
let we make do not apped trace for 'canceled' tasks and 'skip callback' tasks.

Change-Id: I98afe9d90d2e0b8fb5b979e3d191dcdc2ffbd756
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMerge "Add RemoveSystemInformation to remove callback" into devel/master
Chihun Jeong [Wed, 22 Nov 2023 11:06:37 +0000 (11:06 +0000)]
Merge "Add RemoveSystemInformation to remove callback" into devel/master

13 months agoMerge "Support L8 for jpeg and png" into devel/master
Jeongmin Lee [Wed, 22 Nov 2023 07:49:54 +0000 (07:49 +0000)]
Merge "Support L8 for jpeg and png" into devel/master

13 months agoAdd RemoveSystemInformation to remove callback 32/301732/1
ANZ1217 [Wed, 22 Nov 2023 07:22:00 +0000 (16:22 +0900)]
Add RemoveSystemInformation to remove callback

Change-Id: Ic213788d60d14906d865e750333e5c9b57df8bf9

13 months agoSupport L8 for jpeg and png 97/301697/2
jmm [Wed, 22 Nov 2023 03:38:51 +0000 (12:38 +0900)]
Support L8 for jpeg and png

Change-Id: I2689962b4e2966aae1cdf720b9f7fa8a09b23ba6

13 months agoMerge "Sync UTC harness for uScale" into devel/master
Eunki Hong [Wed, 22 Nov 2023 02:09:34 +0000 (02:09 +0000)]
Merge "Sync UTC harness for uScale" into devel/master

13 months agoAdd more trace logs for UpdateRender thread 85/301585/2
Eunki Hong [Mon, 20 Nov 2023 07:49:26 +0000 (16:49 +0900)]
Add more trace logs for UpdateRender thread

Change-Id: I99833a549690562eacb772a1557d87a11a19cb2a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoSync UTC harness for uScale 50/301550/2
Eunki, Hong [Mon, 20 Nov 2023 03:08:39 +0000 (12:08 +0900)]
Sync UTC harness for uScale

Change-Id: I81ef6ed708f2d22feaf8440d787afcfefb3d6250
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMerge "Added shader support to pipeline cache" into devel/master
Adeel Kazmi [Fri, 17 Nov 2023 23:03:13 +0000 (23:03 +0000)]
Merge "Added shader support to pipeline cache" into devel/master

13 months agoDALi Version 2.2.53 25/301525/1 dali_2.2.53
Adeel Kazmi [Fri, 17 Nov 2023 14:56:42 +0000 (14:56 +0000)]
DALi Version 2.2.53

Change-Id: Iccbb5eee88cc8a2d90548698fde5bbeb3b628f60

13 months agoAdded shader support to pipeline cache 96/301296/5
David Steele [Mon, 13 Nov 2023 19:07:46 +0000 (19:07 +0000)]
Added shader support to pipeline cache

Added test to ensure that the shaders are still cached.

Added flushing algorithm to ensure shaders are only
destroyed after ~20 seconds of non-use, rather than
immediately on de-reference.

Change-Id: I343946c586d9e31c88afdc271efe91c32b7ef301

13 months agoMerge "Remove build warning at RISCV" into devel/master
Eunki Hong [Thu, 16 Nov 2023 06:05:08 +0000 (06:05 +0000)]
Merge "Remove build warning at RISCV" into devel/master

13 months agoMerge "Print more log if we fail to write file" into devel/master
Eunki Hong [Thu, 16 Nov 2023 06:04:26 +0000 (06:04 +0000)]
Merge "Print more log if we fail to write file" into devel/master

13 months agoMerge "Add missing header" into devel/master
Bowon Ryu [Thu, 16 Nov 2023 04:40:59 +0000 (04:40 +0000)]
Merge "Add missing header" into devel/master

13 months agoPrint more log if we fail to write file 48/301448/3
Eunki, Hong [Thu, 16 Nov 2023 04:13:44 +0000 (13:13 +0900)]
Print more log if we fail to write file

There was some miss case when buf.is_open() was failed.

Let we also print log that timing

Change-Id: I2c51450077d29284c96a4aba55726e00325f9bad
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoRemove build warning at RISCV 27/301427/3
Eunki Hong [Wed, 15 Nov 2023 16:33:23 +0000 (01:33 +0900)]
Remove build warning at RISCV

Resolve 3 kinds of build warning messages

1. -Wpessimizing-move
[   48s] /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.2.52/dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp:543:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
[   48s]   543 |       if(tvgDuplicatedObject->composite(std::move(std::unique_ptr<tvg::Paint>(tvgDuplicatedCompositeObject)), static_cast<tvg::CompositeMethod>(drawableImpl.GetCompositionType())) != tvg::Result::Success)
[   48s]       |                                         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   48s] /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.2.52/dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp:543:50: note: remove 'std::move' call

2. -Wmaybe-uninitialized
[   48s] /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.2.52/dali/internal/adaptor/tizen-wayland/framework-tizen.cpp:1353:3: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
[   48s]  1353 |   if(ret != APP_ERROR_NONE)
[   48s]       |   ^~
[   48s] /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.2.52/dali/internal/adaptor/tizen-wayland/framework-tizen.cpp:752:9: note: 'ret' was declared here
[   48s]   752 |     int ret;
[   48s]       |         ^~~

3. -Wsign-compare
[  116s] /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.2.52/dali/internal/drag-and-drop/tizen-wayland/drag-and-drop-impl-ecore-wl2.cpp:453:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
[  116s]   453 |       if(ev->win == mDropWindowTargets[i].windowId)
[  116s]       |          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

TODO : Can we remove deprecated widget application codes?

Change-Id: I776de1726c92c2ae4be5519db38a92a0543e4cc0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoPrint error log if we fail to save file 22/301422/1
Eunki, Hong [Wed, 15 Nov 2023 11:55:46 +0000 (20:55 +0900)]
Print error log if we fail to save file

There was some unknown issue comes when we try to call EncodedToFile API.

To resolve it, let we print error log if we got failed

Change-Id: If17a7d889244f7c1076ed1529133e32a3d224c64
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoAdd missing header 16/301416/1
Bowon Ryu [Wed, 15 Nov 2023 11:17:56 +0000 (20:17 +0900)]
Add missing header

Change-Id: I82aa1bb9a86e92c6128f60e3cf478e0f43ccb687
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
13 months agoFlush pipeline cache only if required. 97/301097/4
Eunki, Hong [Wed, 8 Nov 2023 10:46:25 +0000 (19:46 +0900)]
Flush pipeline cache only if required.

Previously, we always flush pipeline cache every frame.

But actually, PipelineImpl / ProgramImpl reference count never be reduced
when we don't call destructor.

So, let we flush cache only if DiscardQueue exist at this frame.

Change-Id: I2a7dfb03d2580d10651a9f924991e0e943e29a24
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMerge "Add TasksCompleted signal at AsyncTaskManager" into devel/master
Adeel Kazmi [Fri, 10 Nov 2023 17:23:15 +0000 (17:23 +0000)]
Merge "Add TasksCompleted signal at AsyncTaskManager" into devel/master

13 months agoMerge "DALi Version 2.2.52" into devel/master
Adeel Kazmi [Fri, 10 Nov 2023 07:51:25 +0000 (07:51 +0000)]
Merge "DALi Version 2.2.52" into devel/master

13 months agoDALi Version 2.2.52 02/301202/1 dali_2.2.52
Adam Bialogonski [Fri, 10 Nov 2023 07:42:41 +0000 (07:42 +0000)]
DALi Version 2.2.52

Change-Id: I6a82405a873bf8960c2520ef1ee02243d6f5cda3

13 months agoMerge "DragAndDrop : The write function has been modified to be performed repeatedly...
Taehyub Kim [Fri, 10 Nov 2023 04:26:06 +0000 (04:26 +0000)]
Merge "DragAndDrop : The write function has been modified to be performed repeatedly until data transmission is complete" into devel/master

13 months agoDragAndDrop : The write function has been modified to be performed repeatedly until... 43/301143/2
Taehyub Kim [Thu, 9 Nov 2023 10:26:59 +0000 (19:26 +0900)]
DragAndDrop : The write function has been modified to be performed repeatedly until data transmission is complete

Change-Id: Id801c90022322c8494b51c510d172bc69222eee4

13 months agoAdd TasksCompleted signal at AsyncTaskManager 21/300021/22
Eunki Hong [Sun, 15 Oct 2023 14:05:12 +0000 (23:05 +0900)]
Add TasksCompleted signal at AsyncTaskManager

Add some special callback that all tasks are completed
when we setup the callback.

If all tasks are completed when we triggered, registered
callback will be executed at last of Completed callback

Change-Id: I0f7d728ff301cb0fe8b8994e21ecacf692ac8903
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoDBusWrapper is internal struct, don't need the adaptor flag 56/301056/2
AdunFang [Wed, 8 Nov 2023 00:14:08 +0000 (09:14 +0900)]
DBusWrapper is internal struct, don't need the adaptor flag

Change-Id: Ifb390d242a40306bd0ec1ba064d2a94f57497f3c

13 months agoThe template classes should not have the tag of module. 64/300664/5
AdunFang [Tue, 31 Oct 2023 04:17:57 +0000 (13:17 +0900)]
The template classes should not have the tag of module.

the APIs of tempalte class will be exapned in the module who use it,
so it should not have the tag of module.

For example:

The class "BitSet" is used in dali-toolkit, then the APIs of the class are defined in dali-toolkit,
so it is not a class of dali-adaptor.

Change-Id: Ieb53a42f90d39bf34f6a75b4c2d0e13d4e7e19ab

13 months agoMerge changes Ib6cb5b6c,I024732cd,Ic7bd0439 into devel/master
Adeel Kazmi [Thu, 9 Nov 2023 17:21:23 +0000 (17:21 +0000)]
Merge changes Ib6cb5b6c,I024732cd,Ic7bd0439 into devel/master

* changes:
  Test harness sync
  Fixed timer handle crash on exit with LIBUV profile
  Output error log on shader link failure

13 months agoFix Front buffer rendering does not activate when window created. 93/301093/4
ANZ1217 [Wed, 8 Nov 2023 08:40:01 +0000 (17:40 +0900)]
Fix Front buffer rendering does not activate when window created.

Change-Id: I54459b0d4ddfc1711d894abc11f3898429a763b2

13 months agoTest harness sync 51/301051/1
David Steele [Tue, 7 Nov 2023 17:25:17 +0000 (17:25 +0000)]
Test harness sync

Change-Id: Ib6cb5b6c7af71ab81727b2de7cbf40f822bf42f5

13 months agoFixed timer handle crash on exit with LIBUV profile 48/301048/1
David Steele [Tue, 7 Nov 2023 15:04:47 +0000 (15:04 +0000)]
Fixed timer handle crash on exit with LIBUV profile

Change-Id: I024732cdcfdc1db4f16f647e08198b905df79138

13 months agoOutput error log on shader link failure 19/300019/2
David Steele [Fri, 13 Oct 2023 14:52:47 +0000 (15:52 +0100)]
Output error log on shader link failure

Change-Id: Ic7bd0439c71cb76be91f506f7c93d81195579cf7

13 months ago(AnimatedVector) Make API to get marker information 38/301038/2
Eunki, Hong [Tue, 7 Nov 2023 11:14:43 +0000 (20:14 +0900)]
(AnimatedVector) Make API to get marker information

Change-Id: I1a598341cdede6228cf573bd0d9903bab39f4045
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoAdd front buffer rendering APIs in Dali::Window 74/300974/11
ANZ1217 [Mon, 6 Nov 2023 12:09:23 +0000 (21:09 +0900)]
Add front buffer rendering APIs in Dali::Window

Front buffer rendering is used to improve latency or real-time interactivity.

Change-Id: I53d300db7bb589042b0137854f424696d127cd8a

13 months agoFix IME Window is not shown issue. 71/300971/1
Wonsik Jung [Mon, 6 Nov 2023 12:39:50 +0000 (21:39 +0900)]
Fix IME Window is not shown issue.

Fix IME Window is not shown issue when keyboard type is changed runtime.
It is caused by IME window is not initialized when the window is supported by candidate process.

Change-Id: I0acf910e5c43f2fe1fb929318275364ae3ce4689

13 months agoMerge "Add FrontBufferRendering property in WindowData" into devel/master
Chihun Jeong [Mon, 6 Nov 2023 07:15:10 +0000 (07:15 +0000)]
Merge "Add FrontBufferRendering property in WindowData" into devel/master

13 months agoAdd FrontBufferRendering property in WindowData 59/300859/4
ANZ1217 [Fri, 3 Nov 2023 02:04:04 +0000 (11:04 +0900)]
Add FrontBufferRendering property in WindowData

Change-Id: Iae60d9fdb7af5663f2275fdac938feda2a05c44a

13 months agoFix build error about macro at Windows 17/300917/1
Eunki, Hong [Mon, 6 Nov 2023 04:34:56 +0000 (13:34 +0900)]
Fix build error about macro at Windows

Since args... macro not works on Windows OS Visual Studio version,
Let we use ##__VA_ARGS__ instead of modern format.

Change-Id: Ib0cf02d4cb36c170863d43dcbea33acb9c62d3ac
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMerge "DALi Version 2.2.51" into devel/master
Adeel Kazmi [Fri, 3 Nov 2023 11:14:15 +0000 (11:14 +0000)]
Merge "DALi Version 2.2.51" into devel/master

13 months agoDALi Version 2.2.51 80/300880/1 dali_2.2.51
Richard Huang [Fri, 3 Nov 2023 10:57:48 +0000 (10:57 +0000)]
DALi Version 2.2.51

Change-Id: If6f20425ed8ebec6fbf9aaeb6aa3364b2f2de071

13 months agoAllow to create EncodedImageBuffer by moved data 52/300852/1
Eunki, Hong [Fri, 3 Nov 2023 01:36:54 +0000 (10:36 +0900)]
Allow to create EncodedImageBuffer by moved data

Change-Id: I9fa23b959bf8cd2c3c8c0ad5904dcb6c71dd83b4
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoMerge "Tizen version check for some ecore_wl2 API" into devel/master
Eunki Hong [Fri, 3 Nov 2023 00:59:30 +0000 (00:59 +0000)]
Merge "Tizen version check for some ecore_wl2 API" into devel/master

13 months agoMerge "(AnimatedVector) Support VectorAnimationRenderer load from data" into devel...
Eunki Hong [Wed, 1 Nov 2023 06:43:40 +0000 (06:43 +0000)]
Merge "(AnimatedVector) Support VectorAnimationRenderer load from data" into devel/master

13 months agoMerge "Set the image type of encoded image buffer" into devel/master
Eunki Hong [Wed, 1 Nov 2023 06:43:15 +0000 (06:43 +0000)]
Merge "Set the image type of encoded image buffer" into devel/master

13 months agoMerge "Modify function description in window." into devel/master
Wonsik Jung [Tue, 31 Oct 2023 01:39:21 +0000 (01:39 +0000)]
Merge "Modify function description in window." into devel/master

13 months agoMerge "Remove goto keyword at gif-loading.cpp + Print error log" into devel/master
David Steele [Mon, 30 Oct 2023 15:22:28 +0000 (15:22 +0000)]
Merge "Remove goto keyword at gif-loading.cpp + Print error log" into devel/master

13 months agoModify function description in window. 12/298112/3
Wonsik Jung [Fri, 1 Sep 2023 00:23:48 +0000 (09:23 +0900)]
Modify function description in window.

<Summary>
Windows modules are not handled by one developer, but by multiple developers in various fields. As a result, coding rules and function descriptions are poorly written compared to other modules.
This patch is a supplement to these parts.

<What>
The function description of the header file of the window-impl and window render surface, which are common modules of the window, has been checked and modified.
the format is as follows.
1. Internal function
{
@brief

@param[in]
@return
}
2. override function
{
@copydoc
}

1 internal function is described, and the contents  description of function description, @param[in] input parameter,  description of return value.
Number 2 describes the overridden function, and the main description is defined in the header file of the inherited class.

<Why>
As the DALi of the Rendering Engine is changed from the Public Interface to the internal module, the description creation or management in the header file is becoming poor.
This is to correct this, increase readability, and strengthen communication.

<Plan>
Currently, we have only performed for window common modules, but we plan to communicate with the person in charge so that they can be applied to other modules in Dali in the future.

Change-Id: Ifa04220d176dde50cdc6132826019a99f1021491

13 months ago(AnimatedVector) Support VectorAnimationRenderer load from data 98/300598/3
Eunki Hong [Sat, 28 Oct 2023 16:34:28 +0000 (01:34 +0900)]
(AnimatedVector) Support VectorAnimationRenderer load from data

Change-Id: I758129df0cc7c9fe2556d5dca2b7e6dec08a2d03
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoMerge "Print gl relative functions runtime as nanosecond + Allow to print always...
Seungho BAEK [Mon, 30 Oct 2023 07:08:18 +0000 (07:08 +0000)]
Merge "Print gl relative functions runtime as nanosecond + Allow to print always" into devel/master

13 months agoSet the image type of encoded image buffer 96/300596/3
Eunki Hong [Sat, 28 Oct 2023 14:55:47 +0000 (23:55 +0900)]
Set the image type of encoded image buffer

Let we prepare to support EncodedImageBuffer
as VectorImage / VectorAnimatedImage.

Change-Id: I062d7153291a10a81d48d5c250c113574a083a73
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoTizen version check for some ecore_wl2 API 09/300409/4
Eunki, Hong [Tue, 24 Oct 2023 06:37:37 +0000 (15:37 +0900)]
Tizen version check for some ecore_wl2 API

To ensure the ecore & tizen version, let we make define keyword
for tizen major version.

Change-Id: I421085f8851b80b768ad1a0ebf13edf7c0ddd910
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 months agoRemove goto keyword at gif-loading.cpp + Print error log 23/300323/4
Eunki Hong [Sat, 21 Oct 2023 16:10:00 +0000 (01:10 +0900)]
Remove goto keyword at gif-loading.cpp + Print error log

Let we print logs when gif loading failed. (Since we already
have useful macro, let we just use it.)

And also, remove some 'goto' keyword, so c++ developer
don't feel dizzy

Change-Id: I9af1fb251a3736043ea734574282055f3d977f92
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
13 months agoDALi Version 2.2.50 76/300576/1 dali_2.2.50
David Steele [Fri, 27 Oct 2023 09:35:28 +0000 (10:35 +0100)]
DALi Version 2.2.50

Change-Id: Ie2fe13a914e8ddf5257e83abb56cd8b0019d24f5

13 months agoPrint gl relative functions runtime as nanosecond + Allow to print always 47/300547/3
Eunki, Hong [Fri, 27 Oct 2023 02:32:10 +0000 (11:32 +0900)]
Print gl relative functions runtime as nanosecond + Allow to print always

Let we enable to print duratin check 'inclusive' the input environment.
(Previously, we can only detect over the 2 milliseconds.)

If we don't want to print duration log, let we set environment value as -1.
0 mean, we will print log if duration is greater or equal with 0 (==always!)

Change-Id: I4e5848ca7dfc9d61bb8853003c33b8617d59ec67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoSupports to set/get full screen sized window 78/300078/7
Wonsik Jung [Mon, 16 Oct 2023 11:01:18 +0000 (20:01 +0900)]
Supports to set/get full screen sized window

To support set/get full screen sized window.
The full screen sized window means the window is resized with screen size.
In addition, this window is the z-order is the highest.

Change-Id: I5363a5ac727d2e35c650644cfe0831217ef38682

14 months agoTrigger event thread only if we need execute process 22/300322/1
Eunki Hong [Sat, 21 Oct 2023 15:12:28 +0000 (00:12 +0900)]
Trigger event thread only if we need execute process

Sometimes, Canceled running task can wake up main thread.
This logic might crush some toolkit UTC.
And also it is useless.

We already have some logics to avoid too-much-cached cancel
tasks. So now we don't need to trigger event thread for
canceled tasks, and flush.

Change-Id: Ib4a62757260cc459941f8e153e37eab70f5f885a
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoMerge "Make AsyncTask destructor called out of mutex" into devel/master
Eunki Hong [Fri, 20 Oct 2023 09:20:04 +0000 (09:20 +0000)]
Merge "Make AsyncTask destructor called out of mutex" into devel/master

14 months agoMerge "Ignore adaptor action when adpator is stop" into devel/master
Eunki Hong [Fri, 20 Oct 2023 09:19:19 +0000 (09:19 +0000)]
Merge "Ignore adaptor action when adpator is stop" into devel/master

14 months agoDALi Version 2.2.49 93/300293/1 dali_2.2.49
Adeel Kazmi [Fri, 20 Oct 2023 06:07:44 +0000 (07:07 +0100)]
DALi Version 2.2.49

Change-Id: I528d49dae8465fa0560a63dc5bd8e2e740cc2aa7

14 months agoIgnore adaptor action when adpator is stop 84/299984/6
Eunki, Hong [Fri, 13 Oct 2023 07:03:41 +0000 (16:03 +0900)]
Ignore adaptor action when adpator is stop

There was some issue that ProcessEvents() called
during app is terminating.

When adaptor is Stop(), the update/render thread is already join.
So we don't need to flush message queue.

Change-Id: I229754fa7135d0c5f3a53dbcfeeeb17b2bc436f1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoMake AsyncTask destructor called out of mutex 31/300231/2
Eunki, Hong [Thu, 19 Oct 2023 04:31:21 +0000 (13:31 +0900)]
Make AsyncTask destructor called out of mutex

Some unhappy case may happened when destructor of AsyncTask call
RemoveTask() API if it is canceled before.

It may occure some dead-lock issue. So we need to avoid this case.

Change-Id: I1d51d43a7683b189d91251dd2404d927bc948726
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoPrint log when glCompile / glLinkProgram spend long time 35/300035/1
Eunki, Hong [Mon, 16 Oct 2023 02:36:45 +0000 (11:36 +0900)]
Print log when glCompile / glLinkProgram spend long time

Change-Id: Ib6079ec907f91d55d061b84a08ad6f9fb7c8b83f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoPrint gl threshold logs as INFO level + Print more swap buffer 34/300034/1
Eunki, Hong [Wed, 11 Oct 2023 08:57:35 +0000 (17:57 +0900)]
Print gl threshold logs as INFO level + Print more swap buffer

Change-Id: I018404c4525009b3b5f658b57289903aa04ec88f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoDALi Version 2.2.48 99/299999/1 dali_2.2.48
Adam Bialogonski [Fri, 13 Oct 2023 10:06:39 +0000 (11:06 +0100)]
DALi Version 2.2.48

Change-Id: I3d0069714d21b8ba1c20545bf664cce370a6d920

14 months ago(Vector) Make IsLoaded return false when SVG parse failed 43/299843/7
Eunki, Hong [Wed, 11 Oct 2023 04:32:03 +0000 (13:32 +0900)]
(Vector) Make IsLoaded return false when SVG parse failed

Previously we try to load Rasterize when if SVG file exist, but parse failed.
(Since we check 'IsLoaded' only if picture resource generated or not)

Let we do not rasterize image when we fail to load invalid SVG file.

Change-Id: Ib48497b49ae70a4746ce208348c1b362c1270a34
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoMerge "DragAndDrop : make window's callback function called by window id" into devel...
Taehyub Kim [Wed, 11 Oct 2023 06:50:22 +0000 (06:50 +0000)]
Merge "DragAndDrop : make window's callback function called by window id" into devel/master

14 months ago(gif-loading.cpp) Reduce CC of some functions 23/299823/1
Adeel Kazmi [Tue, 10 Oct 2023 15:03:25 +0000 (16:03 +0100)]
(gif-loading.cpp) Reduce CC of some functions

Change-Id: I9f3bb907fab9573114b3c1b68df6f1ab3a0ed528

14 months agoMerge "Update test harness to use matching build system" into devel/master
David Steele [Tue, 10 Oct 2023 10:27:52 +0000 (10:27 +0000)]
Merge "Update test harness to use matching build system" into devel/master

14 months agoMerge "DALi Version 2.2.47" into devel/master
David Steele [Fri, 6 Oct 2023 12:30:26 +0000 (12:30 +0000)]
Merge "DALi Version 2.2.47" into devel/master

14 months agoDALi Version 2.2.47 99/299699/1 dali_2.2.47
David Steele [Fri, 6 Oct 2023 12:10:06 +0000 (13:10 +0100)]
DALi Version 2.2.47

Change-Id: I501d7bf0ff3e3a0b37fe257639d447786d5623ef

14 months agoDragAndDrop : make window's callback function called by window id 44/299544/3
Taehyub Kim [Wed, 4 Oct 2023 11:23:10 +0000 (20:23 +0900)]
DragAndDrop : make window's callback function called by window id

Change-Id: Ie4256b16adeda3bfdf7db1d10d0241b4d2e237c5

14 months agoUpdate test harness to use matching build system 48/299548/2
David Steele [Wed, 4 Oct 2023 16:17:59 +0000 (17:17 +0100)]
Update test harness to use matching build system

Change-Id: Ie94f20da734798ddfa3356f2244a926797eb181c

14 months agoFlush cached program entry at pipeline 79/299479/2
Eunki Hong [Sun, 1 Oct 2023 08:53:54 +0000 (17:53 +0900)]
Flush cached program entry at pipeline

Since there was no timing to clean-up the program entry,
we need to flush it at Flush timing

Change-Id: Ic37c5ab8ccc55761aa3cb8e8b641f636de23dfc2
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoDALi Version 2.2.46 60/299460/1 dali_2.2.46
Richard Huang [Fri, 29 Sep 2023 11:27:35 +0000 (12:27 +0100)]
DALi Version 2.2.46

Change-Id: I38b889883f6be1853fb3dfe21d25d5c8e87fbbe2

14 months agoFix minor coverity issue 64/299164/2
Eunki, Hong [Thu, 21 Sep 2023 04:30:21 +0000 (13:30 +0900)]
Fix minor coverity issue

Since there was several minor defect catch in /usr/include,
It cannot be resolved forever.

To remove this error message, just fix it so we can remove defect.

Change-Id: I4aa10540c947bcf41cd5942d60069ea103e53740
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoDALi Version 2.2.45 47/299247/1 dali_2.2.45
Adeel Kazmi [Fri, 22 Sep 2023 14:12:05 +0000 (15:12 +0100)]
DALi Version 2.2.45

Change-Id: I5e4f38c55b33eda8726616c1152636199508e7a0

15 months agoMerge "Allow to call RequestProcessEventsOnIdle." into devel/master
Eunki Hong [Thu, 21 Sep 2023 15:42:21 +0000 (15:42 +0000)]
Merge "Allow to call RequestProcessEventsOnIdle." into devel/master

15 months agoMerge "Added UIThreadLoader to GLIB framework" into devel/master
Adeel Kazmi [Thu, 21 Sep 2023 15:36:59 +0000 (15:36 +0000)]
Merge "Added UIThreadLoader to GLIB framework" into devel/master

15 months agoMerge "Make NativeImageSource.GetWidth() GetHeight() as public" into devel/master
Eunki Hong [Wed, 20 Sep 2023 04:29:44 +0000 (04:29 +0000)]
Merge "Make NativeImageSource.GetWidth() GetHeight() as public" into devel/master

15 months agoMerge "Allow Windows platform also add idler with return" into devel/master
Eunki Hong [Wed, 20 Sep 2023 01:11:54 +0000 (01:11 +0000)]
Merge "Allow Windows platform also add idler with return" into devel/master

15 months agoMake NativeImageSource.GetWidth() GetHeight() as public 00/299100/1
Eunki Hong [Tue, 19 Sep 2023 18:46:54 +0000 (03:46 +0900)]
Make NativeImageSource.GetWidth() GetHeight() as public

And also, make minor fix-up that unsigned int --> uint32_t

Change-Id: I3308d664ca7e0d1f0241083aa1b245440c8aa055
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
15 months agoInitialize copy&page, drag&drop values to prevent wayland send, receive event conflict 75/299075/2
Taehyub Kim [Tue, 19 Sep 2023 06:44:59 +0000 (15:44 +0900)]
Initialize copy&page, drag&drop values to prevent wayland send, receive event conflict

Change-Id: Idf8f915869dfc5488a04b81b00b5f4ff5a6d62a2

15 months agoAllow to call RequestProcessEventsOnIdle. 45/299045/1
Eunki, Hong [Tue, 19 Sep 2023 01:51:57 +0000 (10:51 +0900)]
Allow to call RequestProcessEventsOnIdle.

Change-Id: I50cc99847675cf14bebed730e344f215dd77850c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoAllow Windows platform also add idler with return 74/298974/3
Eunki, Hong [Mon, 18 Sep 2023 02:58:43 +0000 (11:58 +0900)]
Allow Windows platform also add idler with return

Since current callback-manager-win.cpp only allow to excute
non-return value callbackes, we cannot repeat Idle APIs for
Windows platforms logically.

Now, let we make it possible.

Change-Id: I2f6821813817e993cf73c128c091a2e423bd1a56
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>