platform/core/uifw/dali-adaptor.git
3 months agoMake PixelData flag that we release buffer after texture upload 15/303915/2
Eunki, Hong [Mon, 8 Jan 2024 01:21:12 +0000 (10:21 +0900)]
Make PixelData flag that we release buffer after texture upload

Let we support to release pixel data memory automatically after upload finished.
And also, let we make new PixelBuffer::Convert API with this flag.

Change-Id: I9537da4d10a59bdb4c6cd12ea3d62463455399a3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoFixing static analysis error 58/303958/1
David Steele [Mon, 8 Jan 2024 10:33:54 +0000 (10:33 +0000)]
Fixing static analysis error

The libturbojpeg library has been updated on the target, and there is
a new subsampling option available, which means the array we use for
testing is now too small.

Added an entry to this array for the new subsampling option. In
theory, this should just work, but as we don't set this variable,
there's nothing to test.

See
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/277590
for more details

Change-Id: I02bb90830d6d0969cafae635ceb6b1b6bc9c2e1a
Signed-off-by: David Steele <david.steele@samsung.com>
3 months agoMerge "Fix ellipsis cache issue" into devel/master
Bowon Ryu [Mon, 8 Jan 2024 09:03:13 +0000 (09:03 +0000)]
Merge "Fix ellipsis cache issue" into devel/master

3 months agoMerge "Add null check on GetStates" into devel/master
kim hosang [Mon, 8 Jan 2024 06:40:14 +0000 (06:40 +0000)]
Merge "Add null check on GetStates" into devel/master

3 months agoFix ellipsis cache issue 69/303469/3
Bowon Ryu [Thu, 28 Dec 2023 06:11:40 +0000 (15:11 +0900)]
Fix ellipsis cache issue

If an ellipsis cache is not found in the mEllipsisCache,
the ellipsisCacheIndex value will always be zero.

This zero value is then stored in the item.index,
which is used to access the mEllipsisCache.

As a result, even if an ellipsis cache exists,
only the cache at index 0 is always used,
so an ellipsis glyph with a different font size from the actual font size may be rendered.

Change-Id: Iee15f1e320fd3f8ba73e035477ed13d7e49ee0ef
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
3 months agoFix miss implementation of hash salt 47/303847/1
Eunki Hong [Sun, 7 Jan 2024 00:50:10 +0000 (09:50 +0900)]
Fix miss implementation of hash salt

sizeof(T) return as byte. But previous hash function use it like bit.

Change-Id: Ia4378a0bb40aca4928a127be4e2adc6db1b84e7f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 months agoFixing non-ecore X11 build 42/303842/1
David Steele [Fri, 5 Jan 2024 11:42:04 +0000 (11:42 +0000)]
Fixing non-ecore X11 build

Change-Id: Ie2eadcc1b6937a29d82d401c06b47a770ea31303

3 months agoDALi Version 2.3.5 31/303831/1 dali_2.3.5
David Steele [Fri, 5 Jan 2024 10:42:45 +0000 (10:42 +0000)]
DALi Version 2.3.5

Change-Id: Id165da9811a030b4678fb022e6f10ad9a6aac283

3 months agoMerge "Add trace when we downscale and crop bitmap" into devel/master
Eunki Hong [Thu, 4 Jan 2024 12:50:42 +0000 (12:50 +0000)]
Merge "Add trace when we downscale and crop bitmap" into devel/master

3 months agoMerge "Optimize downscale scanline for RGBA format" into devel/master
Eunki Hong [Thu, 4 Jan 2024 11:14:11 +0000 (11:14 +0000)]
Merge "Optimize downscale scanline for RGBA format" into devel/master

3 months agoMerge "Create NativeImageQueue with the number of queue" into devel/master
Eunki Hong [Thu, 4 Jan 2024 10:11:46 +0000 (10:11 +0000)]
Merge "Create NativeImageQueue with the number of queue" into devel/master

3 months agoOptimize downscale scanline for RGBA format 51/303751/1
Eunki, Hong [Thu, 4 Jan 2024 08:27:36 +0000 (17:27 +0900)]
Optimize downscale scanline for RGBA format

Each components of RGBA channel has uint8_t type. So we can
parallaly calculate each components of RGBA. It will increase
the speed of operation.

Change-Id: I3b738926b8a5d706844550a63cbc7256a7c3122f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoAdd trace when we downscale and crop bitmap 48/303748/3
Eunki, Hong [Thu, 4 Jan 2024 07:58:50 +0000 (16:58 +0900)]
Add trace when we downscale and crop bitmap

Change-Id: Ib79b3a277eefcb151c1cc445853f2198543f39c2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoIntersection logic has been modified to allow boundary of drop targets 22/303722/1
Taehyub Kim [Thu, 4 Jan 2024 01:17:36 +0000 (10:17 +0900)]
Intersection logic has been modified to allow boundary of drop targets

Change-Id: I40d8731cd564191db67f9fc36a9256416541f64c

3 months agoUpdated key handling for x11 adaptor 51/303151/2
David Steele [Wed, 20 Dec 2023 10:24:26 +0000 (10:24 +0000)]
Updated key handling for x11 adaptor

Fixed build error with latest key handling
Fixed keyboard modifiers to work consistently with other profiles

Change-Id: Ic21876922beed25847a89e1332e36d6aced3aafc

3 months ago[AT-SPI] Emit fewer BoundsChanged events for Window 79/303579/2
Artur Świgoń [Tue, 2 Jan 2024 09:57:57 +0000 (10:57 +0100)]
[AT-SPI] Emit fewer BoundsChanged events for Window

1. Check whether the window geometry has really changed before emitting events.

2. Also check Accessibility::IsUp() beforehand. This condition is also checked
internally by EmitBoundsChanged(), but too much of the Accessibility D-Bus
infrastructure will have to be initialized before reaching that point in the
code, and this initialization is not always needed, e.g. during early
application initialization.

Change-Id: I9c3898812380a4d98a0adcbe56445e6af31bf465

3 months agoMerge "Prevent to decode png when the pixel buffer cannot be created" into devel...
Seungho BAEK [Tue, 2 Jan 2024 07:57:33 +0000 (07:57 +0000)]
Merge "Prevent to decode png when the pixel buffer cannot be created" into devel/master

3 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>
3 months agoDo not trace during process 36/303536/1
Eunki, Hong [Tue, 2 Jan 2024 04:16:37 +0000 (13:16 +0900)]
Do not trace during process

Since we already print logs during some critical async task running, it was
some useless print logs. Let we remove it.

Change-Id: If4ab42c470d644fdb43e39c9b516c6c7ce338b02
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 months agoPrevent to decode png when the pixel buffer cannot be created 29/303529/3
seungho baek [Tue, 2 Jan 2024 01:48:58 +0000 (10:48 +0900)]
Prevent to decode png when the pixel buffer cannot be created

Change-Id: Ibf86d02ae4f55590d6f021ac9ebc27b0cfe516fc
Signed-off-by: seungho baek <sbsh.baek@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

4 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

4 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

4 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

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

4 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

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

4 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

4 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

4 months agoAdd null check on GetStates 03/297703/5
Hosang Kim [Wed, 23 Aug 2023 03:16:12 +0000 (12:16 +0900)]
Add null check on GetStates

Sometimes accessible parent is null, so add checking null.

Change-Id: I2b8edcc5fe8b5fae87ad9f813fa5f6922cbbd481

4 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

4 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

4 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

4 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

4 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

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

4 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

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

5 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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

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