platform/core/uifw/dali-adaptor.git
4 months agoCreate NativeImageQueue with the number of queue 23/303523/4
Eunki Hong [Sat, 30 Dec 2023 14:31:47 +0000 (23:31 +0900)]
Create NativeImageQueue with the number of queue

Add new API that user can control the tbm_queue queue count.
It will be useful when we don't want to create 3 size of tbm_queue.

Change-Id: I4e1e5cbcb303411da5e45ffc5b1f42d26df90275
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months agoMerge "Fixed Cache for AnimatedVectorImageVisual" into devel/master
sunghyun kim [Fri, 29 Dec 2023 07:12:18 +0000 (07:12 +0000)]
Merge "Fixed Cache for AnimatedVectorImageVisual" into devel/master

4 months agoMerge "Add LocaleChangedSignal" into devel/master
Chihun Jeong [Fri, 29 Dec 2023 03:22:49 +0000 (03:22 +0000)]
Merge "Add LocaleChangedSignal" into devel/master

4 months agoFixed Cache for AnimatedVectorImageVisual 11/300511/4
seungho baek [Thu, 26 Oct 2023 09:16:32 +0000 (18:16 +0900)]
Fixed Cache for AnimatedVectorImageVisual

Change-Id: I75e21fae0ca9e2561dd08f66e05ff590d2c898fc
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
4 months agoMerge "Ensure to check whether task need to callback or not" into devel/master
Eunki Hong [Thu, 28 Dec 2023 05:56:32 +0000 (05:56 +0000)]
Merge "Ensure to check whether task need to callback or not" into devel/master

4 months agoEnsure to check whether task need to callback or not 58/303458/1
Eunki, Hong [Thu, 28 Dec 2023 04:37:15 +0000 (13:37 +0900)]
Ensure to check whether task need to callback or not

There was short-term to unlock the mRunningTasksMutex.
If main thread Remove the running task (mean, cancel) during
that mutex unlocked, we just keep know that
this task need to execute callback.

So, we need to check for notify or not only for lottie cases,
and check main thread callback required one more time for main thread cases.

Change-Id: I8e6bdcdf4b8bf290a23b5b8e3fdb1821db26d393
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
4 months agoAdd LocaleChangedSignal 09/303109/11
ANZ1217 [Fri, 22 Dec 2023 05:38:29 +0000 (14:38 +0900)]
Add LocaleChangedSignal

LocaleChangedSignal is a signal that works when the system locale is changed.
To solve the problem that the default font does not change when changing the system language, clear the cache of fontClient and emit LocaleChangedSignal.

Change-Id: Ic543b9fc250ccf88cd460fe08da6b5fd2c008987

4 months agoUse trace macro with message generator function 22/303222/2
Eunki Hong [Thu, 21 Dec 2023 13:52:23 +0000 (22:52 +0900)]
Use trace macro with message generator function

Change-Id: I928e5214afd5506f378fd2dddfe0939c728076b5
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
4 months agoMerge "Add Get/Set native window id on SceneHoder and Window" into devel/master
joogab yun [Wed, 27 Dec 2023 01:19:01 +0000 (01:19 +0000)]
Merge "Add Get/Set native window id on SceneHoder and Window" into devel/master

4 months agoAdd Get/Set native window id on SceneHoder and Window 55/303055/8
joogab.yun [Tue, 19 Dec 2023 10:48:26 +0000 (19:48 +0900)]
Add Get/Set native window id on SceneHoder and Window

Change-Id: I355ef2207dcbb386ab29ee237d14bfc860a65791

5 months agoMerge "Increase percentage of scanline halves average optimization" into devel/master
Adeel Kazmi [Fri, 22 Dec 2023 12:47:13 +0000 (12:47 +0000)]
Merge "Increase percentage of scanline halves average optimization" into devel/master

5 months agoMerge "Change VAO hash value function" into devel/master
Adeel Kazmi [Fri, 22 Dec 2023 12:45:18 +0000 (12:45 +0000)]
Merge "Change VAO hash value function" into devel/master

5 months agoDALi Version 2.3.4 76/303276/1 dali_2.3.4
Adeel Kazmi [Fri, 22 Dec 2023 11:27:20 +0000 (11:27 +0000)]
DALi Version 2.3.4

Change-Id: Ibaa52b91b9a3bff2dce14e8534259764229bbcb7

5 months agoChange VAO hash value function 58/303158/2
Eunki Hong [Wed, 20 Dec 2023 22:56:35 +0000 (07:56 +0900)]
Change VAO hash value function

Since std::hash<uint32_t>{}(i); just return itself,
we need to make some other method to calculate hash of location.

For example, 0 location doesn't have any mean.
and location with 1, 3 will collision as location 2.

To avoid this hash collision, let we change some hash generate method.

  v = i + 1;
  hash += v << 24;
  v *= v;
  v ^= i;
  hash += v << 16;
  v *= v;
  hash += v;

Note that if we skip v ^= i; operation, collision occured when location is
near 13.

Change-Id: Ie081d9a5e8895988ca7183dfc860176b69c4e337
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months agoIncrease percentage of scanline halves average optimization 55/303155/1
Eunki Hong [Wed, 20 Dec 2023 13:52:54 +0000 (22:52 +0900)]
Increase percentage of scanline halves average optimization

Add more logs why we reinterpret_cast only if pointer address is matched.

And also, allow uin32_t cases, not only for uint64_t, to increase portential
of optimized works.

And also, let we calculate padding components, so we don't see SIGBUG error
and also increase percentage of multi-step average.

Change-Id: Ib8cfc1a75aa588ebc02521ed645f6a74174a8bde
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
5 months agoPrint the name of AsyncTask when we execute it 24/303024/2
Eunki, Hong [Tue, 19 Dec 2023 03:16:29 +0000 (12:16 +0900)]
Print the name of AsyncTask when we execute it

Get the name of AsyncTask what we are processing now, for debug.

Change-Id: Ibffb92e281ce4c94f8e7bf4f5a1bf4a6d7481d14
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoDALi Version 2.3.3 14/302914/1 dali_2.3.3
Adeel Kazmi [Fri, 15 Dec 2023 10:22:57 +0000 (10:22 +0000)]
DALi Version 2.3.3

Change-Id: Iee7c08b6dd74d0216b41e9424d0c795d975e9572

5 months agoMerge "Discard deleted VAO at matched context" into devel/master
David Steele [Thu, 14 Dec 2023 14:21:36 +0000 (14:21 +0000)]
Merge "Discard deleted VAO at matched context" into devel/master

5 months agoFix rendering occured unlimited if window size changed multiple 79/302679/7
Eunki, Hong [Tue, 12 Dec 2023 04:20:11 +0000 (13:20 +0900)]
Fix rendering occured unlimited if window size changed multiple

To support multi window cases, dali-adaptor count how many times
the window resize event occured.

But in dali-core scene has only bool flag.

So if scene changed multiple times during 1 render time,
surface resized count never be reduced as zero.
So it will keep rendering unlimited.

This patch make we return the number of surface rect changed,
so dali-adaptor can control the scene changed count well.

Change-Id: Ic19ede6ba5095af74ae2db33d37403285cf28a19
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoDiscard deleted VAO at matched context 80/302780/3
Eunki, Hong [Wed, 13 Dec 2023 10:30:28 +0000 (19:30 +0900)]
Discard deleted VAO at matched context

Since InvalidateCachedPipeline() can be called not for currented context,
we should not call gl.DeleteVertexArrays() that timming.

Instead, let we keep discarded VAO items, and then delete them immediately,
if we call BindProgramVAO, where we can assume that the context is current.

Change-Id: Iac417a862e68bc5503e843a0c27cae98cebee5b0
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
5 months agoMerge "Updating non-ecore X window-system with new API" into devel/master
David Steele [Wed, 13 Dec 2023 15:15:20 +0000 (15:15 +0000)]
Merge "Updating non-ecore X window-system with new API" into devel/master

5 months agoUpdating non-ecore X window-system with new API 23/302723/1
David Steele [Tue, 12 Dec 2023 16:00:36 +0000 (16:00 +0000)]
Updating non-ecore X window-system with new API

Change-Id: I455f960b088ac0d99dcf2af9d3caff10cfb31688

5 months agoDragAndDrop : Allow to get mimetype for Enter and Move events 09/302709/1
Taehyub Kim [Tue, 12 Dec 2023 09:44:17 +0000 (18:44 +0900)]
DragAndDrop : Allow to get mimetype for Enter and Move events

Change-Id: Icad11ce8bcb4f49fe9cc83a8e9dfd543d1d7092a

5 months agoMerge "Add SetGeometryHittestEnabled and IsGeometryHittestEnabled" into devel/master
joogab yun [Tue, 12 Dec 2023 01:05:16 +0000 (01:05 +0000)]
Merge "Add SetGeometryHittestEnabled and IsGeometryHittestEnabled" into devel/master

5 months agoMerge "Add the debugging log for window's event." into devel/master
Wonsik Jung [Mon, 11 Dec 2023 07:42:39 +0000 (07:42 +0000)]
Merge "Add the debugging log for window's event." into devel/master

5 months agoMerge "DALi Version 2.3.2" into devel/master
Adeel Kazmi [Fri, 8 Dec 2023 11:24:34 +0000 (11:24 +0000)]
Merge "DALi Version 2.3.2" into devel/master

5 months agoDALi Version 2.3.2 59/302559/1 dali_2.3.2
Adam Bialogonski [Fri, 8 Dec 2023 11:06:07 +0000 (11:06 +0000)]
DALi Version 2.3.2

Change-Id: Id7d327001d3dfcb1261ceba75b9eaf537a28dc78

5 months agoAdd the debugging log for window's event. 34/302534/2
Wonsik Jung [Fri, 8 Dec 2023 06:17:53 +0000 (15:17 +0900)]
Add the debugging log for window's event.

Add the debugging log for window's event who is from ECore.
It is for Tizen platform world.

Change-Id: I600e75fd951824a13c219331386c4d1d362c0b49

5 months agoDo not running same tasks at multiple threads. 07/302407/2
Eunki, Hong [Wed, 6 Dec 2023 07:49:34 +0000 (16:49 +0900)]
Do not running same tasks at multiple threads.

Let we make to do not execute same tasks at multiple threads
at the same timing.

It will make sure that we can control AsyncTask::Process API works
more thread-safety.

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

5 months agoAdd SetGeometryHittestEnabled and IsGeometryHittestEnabled 79/301379/12
joogab.yun [Wed, 15 Nov 2023 06:27:54 +0000 (15:27 +0900)]
Add SetGeometryHittestEnabled and IsGeometryHittestEnabled

This API sets the propagation way for touch and hover events.
If set to true, touch and hover are propagated in a geometry way

Change-Id: I0fd1402f7d533cdaa5d2e5586668243fd53caf43

5 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

5 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

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

5 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

5 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

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

5 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

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

5 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

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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

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

6 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

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

6 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

6 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

6 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

6 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

6 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

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

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

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