platform/core/uifw/dali-adaptor.git
2 years ago[dali_2.1.22] Merge branch 'devel/master' 25/275025/1
Richard Huang [Fri, 13 May 2022 11:02:04 +0000 (12:02 +0100)]
[dali_2.1.22] Merge branch 'devel/master'

Change-Id: I337e0f096d12c5f99279b94c1b0ada6ca008d76b

2 years agoDALi Version 2.1.22 19/275019/1 dali_2.1.22
Richard Huang [Fri, 13 May 2022 11:01:15 +0000 (12:01 +0100)]
DALi Version 2.1.22

Change-Id: I5a2a5b3c2823e742be2075e08e4468cf7e10edad

2 years ago[AT-SPI] Add Bridge::{Embed,Unembed}Socket() 12/263212/16
Artur Świgoń [Thu, 21 Apr 2022 15:48:04 +0000 (17:48 +0200)]
[AT-SPI] Add Bridge::{Embed,Unembed}Socket()

This patch adds three new utility methods to Bridge:

* EmbedSocket() - calls org.a11y.atspi.Socket.Embed

The manually contstructed D-Bus call in Bridge::ForceUp()
is replaced by EmbedSocket().

* UnembedSocket() - calls org.a11y.atspi.Socket.Unembed

A missing UnembedSocket() is added in Bridge::ForceDown().

* EmbedAtkSocket() - calls org.a11y.atspi.Socket.Embedded

The "Embedded" method is an ATK extension, but is required
to embed an ATK-based subtree, e.g. a Chromium-based WebView,
in a DALi application.

Change-Id: I562072864d6a67272325562eabb91962c6813eab

2 years agoMerge "Reduce PNG encode time" into devel/master
Eunki Hong [Wed, 11 May 2022 09:57:10 +0000 (09:57 +0000)]
Merge "Reduce PNG encode time" into devel/master

2 years agoMerge "[AT-SPI] Make ToolkitName customizable" into devel/master
Seoyeon Kim [Wed, 11 May 2022 08:50:32 +0000 (08:50 +0000)]
Merge "[AT-SPI] Make ToolkitName customizable" into devel/master

2 years agoReduce PNG encode time 42/274842/1
Eunki, Hong [Tue, 10 May 2022 13:05:37 +0000 (22:05 +0900)]
Reduce PNG encode time

Change-Id: I4c2b2a44d28679f2340989251d8bf2c5d1ae6747
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[AT-SPI] remove isRoot param from Accessible::Get 37/274737/4
Shinwoo Kim [Fri, 6 May 2022 15:58:20 +0000 (00:58 +0900)]
[AT-SPI] remove isRoot param from Accessible::Get

The Accessibility::Accessible::Get for a window could be called
before getting accessible to add window accessible.

So far, we thought that the next part creates an accessible for
window for the first time.

  accessible = Accessibility::Accessible::Get(rootLayer, true);
  bridge->AddTopLevelWindow(accessible);

However, there is a case where it is created before this part
caused by following symbol

  CSharp_Dali_Toolkit_DevelControl_GetAccessibilityStates+0x144

In this case, isRoot is set to `false`. Then window will have
incorrect accessible information.

For more information, please refer to the following.

  https://github.sec.samsung.net/tizen/atspi/issues/60

Change-Id: Id2d27f35426e72b67986f132f0c77979016b4252

2 years ago[AT-SPI] Make ToolkitName customizable 39/274739/1
Artur Świgoń [Fri, 6 May 2022 16:12:42 +0000 (18:12 +0200)]
[AT-SPI] Make ToolkitName customizable

Change-Id: I0758bf378e28798486cabb7ef1b8de16127eca53

2 years agoMerge "DALi Version 2.1.21" into devel/master
David Steele [Fri, 6 May 2022 11:46:06 +0000 (11:46 +0000)]
Merge "DALi Version 2.1.21" into devel/master

2 years ago[dali_2.1.21] Merge branch 'devel/master' 18/274718/1
David Steele [Fri, 6 May 2022 11:37:42 +0000 (12:37 +0100)]
[dali_2.1.21] Merge branch 'devel/master'

Change-Id: I53ac5cced2cc0b247afc3c2404aca7ad8fc09664

2 years agoDALi Version 2.1.21 12/274712/1 dali_2.1.21
David Steele [Fri, 6 May 2022 11:37:15 +0000 (12:37 +0100)]
DALi Version 2.1.21

Change-Id: I25a3c8ad0fbb8c2775b37af8f525292a2747cfbd

2 years agoMerge "Change some log levels" into devel/master
Heeyong Song [Fri, 6 May 2022 05:00:00 +0000 (05:00 +0000)]
Merge "Change some log levels" into devel/master

2 years agoChange some log levels 83/274683/1
Heeyong Song [Fri, 6 May 2022 03:13:55 +0000 (12:13 +0900)]
Change some log levels

Change-Id: I87b657437b246a9f75cf9d08e36bc37ffedd866c

2 years agoMerge "Don't use pre-initialized app in case of WidgetApplication" into devel/master
Heeyong Song [Wed, 4 May 2022 11:34:51 +0000 (11:34 +0000)]
Merge "Don't use pre-initialized app in case of WidgetApplication" into devel/master

2 years agoMerge "Change VectorImage method" into devel/master
Heeyong Song [Wed, 4 May 2022 07:05:35 +0000 (07:05 +0000)]
Merge "Change VectorImage method" into devel/master

2 years ago[AT-SPI] remove unnecessary lines leading to crash 46/274546/3
Shinwoo Kim [Mon, 2 May 2022 05:52:25 +0000 (14:52 +0900)]
[AT-SPI] remove unnecessary lines leading to crash

The eldbus_connection_unref does not mean that the connection is released.
So a signal hander of the connection should be removed if it is not used
any more.

We did not remove the signal hander but called only eldbus_connection_ref.
So there was a crash with following stack.

0  Dali::BaseSignal::Emit<Dali::Internal::Adaptor::WindowBase::AccessibilityInfo const&> (this=0x822f1b30, args#0=...) at /usr/include/dali/public-api/signals/base-signal.h:235
1  0xa4a6ca1b in Dali::Signal<void (Dali::Internal::Adaptor::WindowBase::AccessibilityInfo const&)>::Emit(Dali::Internal::Adaptor::WindowBase::AccessibilityInfo const&) (arg0=..., this=0x823b11a4) at /usr/include/dali/public-api/signals/dali-signal.h:531
2  Dali::Internal::Adaptor::WindowBaseEcoreWl2::OnEcoreElDBusAccessibilityNotification (this=0x823b1170, context=0x823b1170, message=0x820e83e0)
   at /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.1.19/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp:1380
3  0xa4a6ca94 in Dali::Internal::Adaptor::(anonymous namespace)::EcoreElDBusAccessibilityNotification (context=0x823b1170, message=0x820e83e0)
   at /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.1.19/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp:604

We do not use this signal on the AT-SPI world.
So this patch removing unnecessary lines instead of calling the
eldbus_signal_handler_del.

Change-Id: I1df91170ca9bff1e369080ccac8046954948714e

2 years ago[AT-SPI] Emit WindowEvent::DESTROY 73/273873/4
Shinwoo Kim [Fri, 15 Apr 2022 03:09:38 +0000 (12:09 +0900)]
[AT-SPI] Emit WindowEvent::DESTROY

AT client needs to know that a window is destroyed.

Change-Id: Id64d31b3a69a7465e8eb382ab6ed2db9b1788007

2 years agoDon't use pre-initialized app in case of WidgetApplication 14/274214/2
Heeyong Song [Mon, 25 Apr 2022 02:34:57 +0000 (11:34 +0900)]
Don't use pre-initialized app in case of WidgetApplication

Change-Id: I80c4ef6b89191471aa73f99d1b1a731f41fb7add

2 years agoChange VectorImage method 54/274254/2
Heeyong Song [Mon, 25 Apr 2022 09:39:49 +0000 (18:39 +0900)]
Change VectorImage method

Change-Id: Ia0136d682fb518cd2f1b1ab50f6b62a67c6a4681

2 years agoMerge "DALi Version 2.1.20" into devel/master
Adeel Kazmi [Fri, 29 Apr 2022 12:22:43 +0000 (12:22 +0000)]
Merge "DALi Version 2.1.20" into devel/master

2 years ago[dali_2.1.20] Merge branch 'devel/master' 06/274506/1
Adam Bialogonski [Fri, 29 Apr 2022 09:53:40 +0000 (10:53 +0100)]
[dali_2.1.20] Merge branch 'devel/master'

Change-Id: I35bd5864fd5143aba7fe2446522bfe7548b106d2

2 years agoDALi Version 2.1.20 00/274500/1 dali_2.1.20
Adam Bialogonski [Fri, 29 Apr 2022 09:52:50 +0000 (10:52 +0100)]
DALi Version 2.1.20

Change-Id: Icb07dc20cb4e29a3c30bb61704927ad9eef8c12f

2 years agoMerge "Add to get the status whether window is rotating or not" into devel/master
Wonsik Jung [Fri, 29 Apr 2022 01:12:21 +0000 (01:12 +0000)]
Merge "Add to get the status whether window is rotating or not" into devel/master

2 years agoMerge "Add ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext" into devel/master
Bowon Ryu [Thu, 28 Apr 2022 08:51:46 +0000 (08:51 +0000)]
Merge "Add ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext" into devel/master

2 years agoAdd to get the status whether window is rotating or not 76/274376/1
Wonsik Jung [Tue, 18 Jan 2022 02:29:28 +0000 (11:29 +0900)]
Add to get the status whether window is rotating or not

Add to getter api of winow rotation stauts.
When window is rotating, the getter api will return true.
Otherwise false.

Change-Id: Icb2331f75ef88051510008ceb2a1bb3b6cc40529

2 years agoMerge "Calculate EncodedImageBuffer's hash in generate time" into devel/master
Eunki Hong [Wed, 27 Apr 2022 03:05:46 +0000 (03:05 +0000)]
Merge "Calculate EncodedImageBuffer's hash in generate time" into devel/master

2 years agoAdd ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext 02/274302/3
Bowon Ryu [Tue, 26 Apr 2022 04:55:59 +0000 (13:55 +0900)]
Add ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext

added selection callback from IMF for tizen 7.0 new feature support

Change-Id: Iaafe802a67cda24d06935e29b55d04c53dbf8b16
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMake undefined macro do not be used. 88/274288/1
seungho [Tue, 26 Apr 2022 02:24:16 +0000 (11:24 +0900)]
Make undefined macro do not be used.

 - If in a system that didn't define  GL_KHR_blend_equation_advanced,
   "#extension GL_KHR_blend_equation_advanced : enable" or
   "#if GL_KHR_blend_equation_advanced==1" can make troble.

Change-Id: I48ba98c2795fed972c16d6dbe149ffea96f12312
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoMerge "[AT-SPI] Implement Component for ProxyAccessible" into devel/master
Lukasz Oleksak [Mon, 25 Apr 2022 10:55:02 +0000 (10:55 +0000)]
Merge "[AT-SPI] Implement Component for ProxyAccessible" into devel/master

2 years agoMerge "[AT-SPI] Make ProxyAccessible's parent settable" into devel/master
Lukasz Oleksak [Mon, 25 Apr 2022 10:53:50 +0000 (10:53 +0000)]
Merge "[AT-SPI] Make ProxyAccessible's parent settable" into devel/master

2 years agoMerge "[AT-SPI] Override IsProxy in ProxyAccessible" into devel/master
Lukasz Oleksak [Mon, 25 Apr 2022 10:52:44 +0000 (10:52 +0000)]
Merge "[AT-SPI] Override IsProxy in ProxyAccessible" into devel/master

2 years ago[AT-SPI] Implement Component for ProxyAccessible 02/273902/5
Artur Świgoń [Fri, 15 Apr 2022 12:53:32 +0000 (14:53 +0200)]
[AT-SPI] Implement Component for ProxyAccessible

The Component interface is required for the object not to be immediately
filtered out by bridge-side navigation code. When a ProxyAccessible is
serialized to an object address as a return value on D-Bus, its address
is replaced by the remote address (stored in `mAddress`), so any further
interaction by AT clients (D-Bus method calls) will be directed to the
actual remote object.

Change-Id: I268e219eb30ecd016ab2ab78dcd0846b551a9e42

2 years ago[AT-SPI] Make ProxyAccessible's parent settable 01/273901/5
Artur Świgoń [Fri, 15 Apr 2022 12:52:16 +0000 (14:52 +0200)]
[AT-SPI] Make ProxyAccessible's parent settable

Change-Id: I05b99d199ddd3025998edb1eaa962e3ea0adfcec

2 years agoMerge "drag and drop: implements drag source events" into devel/master
Taehyub Kim [Mon, 25 Apr 2022 09:03:01 +0000 (09:03 +0000)]
Merge "drag and drop: implements drag source events" into devel/master

2 years agodrag and drop: implements drag source events 72/274172/2
Taehyub Kim [Fri, 22 Apr 2022 10:03:12 +0000 (19:03 +0900)]
drag and drop: implements drag source events

 - add drag sourc events
 - chnage StartDragAndDrop shadow paramenter to shadow window for supporting NUI window layouting

Change-Id: I7319f98931894719133d1256a9d632edfe2c0320

2 years agoCalculate EncodedImageBuffer's hash in generate time 20/274220/1
Eunki, Hong [Mon, 25 Apr 2022 04:26:46 +0000 (13:26 +0900)]
Calculate EncodedImageBuffer's hash in generate time

Change-Id: I3afb828d14372f68145c1fdca4db8e52ed31f9c2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Webp-loading, Fix svace issue and change the way to get animation flag" into...
Seungho BAEK [Mon, 25 Apr 2022 02:47:43 +0000 (02:47 +0000)]
Merge "Webp-loading, Fix svace issue and change the way to get animation flag" into devel/master

2 years ago[AT-SPI] Override IsProxy in ProxyAccessible 00/273900/4
Artur Świgoń [Fri, 15 Apr 2022 12:50:05 +0000 (14:50 +0200)]
[AT-SPI] Override IsProxy in ProxyAccessible

Change-Id: I140f09d1deaf9f2805a89a65517181a664f519bc

2 years agoMerge "DALi Version 2.1.19" into devel/master
David Steele [Fri, 22 Apr 2022 13:10:03 +0000 (13:10 +0000)]
Merge "DALi Version 2.1.19" into devel/master

2 years ago[dali_2.1.19] Merge branch 'devel/master' 91/274191/1
Adeel Kazmi [Fri, 22 Apr 2022 12:55:11 +0000 (13:55 +0100)]
[dali_2.1.19] Merge branch 'devel/master'

Change-Id: I79329cec56738e224f24daa3d07a595ce42ff6ba

2 years agoDALi Version 2.1.19 85/274185/1 dali_2.1.19
Adeel Kazmi [Fri, 22 Apr 2022 12:54:23 +0000 (13:54 +0100)]
DALi Version 2.1.19

Change-Id: I838159099a5014273072f66d5fcc7154e62d2d9a

2 years agoMerge "Save value to prevent duplicate deletion" into devel/master
sunghyun kim [Fri, 22 Apr 2022 03:03:50 +0000 (03:03 +0000)]
Merge "Save value to prevent duplicate deletion" into devel/master

2 years agoMerge "Supports to re-calculate window position and size for window rotation" into...
Wonsik Jung [Thu, 21 Apr 2022 07:47:58 +0000 (07:47 +0000)]
Merge "Supports to re-calculate window position and size for window rotation" into devel/master

2 years agoSupports to re-calculate window position and size for window rotation 94/273894/5
Wonsik Jung [Fri, 15 Apr 2022 08:53:39 +0000 (17:53 +0900)]
Supports to re-calculate window position and size for window rotation

Supports to re-calculate window position and size when partial size window is rotated.
It is needed when the rotated window is resized or moved.
Because window system APIs work on the default coordinate system
and application sets the window position and size on current orientation.
In addtion, fix the bug invalid touch coordinate when window's size is partial.

Change-Id: I65ce5ca5452e84faf732bb64071ed1977444de7f

2 years agoMerge "Transfer uploadOnly flag to the core and update manager" into devel/master
Seungho BAEK [Thu, 21 Apr 2022 05:13:57 +0000 (05:13 +0000)]
Merge "Transfer uploadOnly flag to the core and update manager" into devel/master

2 years agoWebp-loading, Fix svace issue and change the way to get animation flag 71/274071/2
seungho [Thu, 21 Apr 2022 03:04:35 +0000 (12:04 +0900)]
Webp-loading, Fix svace issue and change the way to get animation flag

Change-Id: I1043bc99f1bdbaf0a05f7bf4107495e759309b9f
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoSave value to prevent duplicate deletion 70/274070/1
tscholb [Thu, 21 Apr 2022 02:46:53 +0000 (11:46 +0900)]
Save value to prevent duplicate deletion

If TriggerEvent is deleted in TriggerEvent::Triggered(),an incorrect value may be written to mOptions.
In this case, duplicate deletion occurs and a collision occurs.
To prevent this, the mOptions value was modified to be stored locally.

Change-Id: I37d149297e707a75eecd6cbd75a1a20307d62ace

2 years agoTransfer uploadOnly flag to the core and update manager 29/273929/5
seungho [Mon, 18 Apr 2022 06:59:22 +0000 (15:59 +0900)]
Transfer uploadOnly flag to the core and update manager

 - uploadOnly flag is transferred to the update manager to do not change render-task state
 - uploadOnly flag that has been transferred to the render manager is removed.

Change-Id: I06862bd376a0eacc7cd0a1f0a00b028bd249cad3
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoSupport YUV decoding for JPEG 26/272226/8
Heeyong Song [Thu, 3 Feb 2022 07:10:18 +0000 (16:10 +0900)]
Support YUV decoding for JPEG

Change-Id: Ie7fddb22e70159821c27fb2ca1ccc2db19fe1ec4

2 years agoMerge "Refactoring webp-loading and loader-webp" into devel/master
Seungho BAEK [Fri, 15 Apr 2022 05:32:06 +0000 (05:32 +0000)]
Merge "Refactoring webp-loading and loader-webp" into devel/master

2 years agoMerge "[AT-SPI] Window: add highlight signal" into devel/master
Shinwoo Kim [Fri, 15 Apr 2022 04:50:14 +0000 (04:50 +0000)]
Merge "[AT-SPI] Window: add highlight signal" into devel/master

2 years ago[AT-SPI] Window: add highlight signal 83/273683/5
Shinwoo Kim [Tue, 12 Apr 2022 08:23:31 +0000 (17:23 +0900)]
[AT-SPI] Window: add highlight signal

The Window will highlight itself on NUI side.
The GrabHighlight emits the Highlight signal.

Change-Id: I2296685688056359afe5ce807d0b61deb280c091

2 years ago[dali_2.1.18] Merge branch 'devel/master' 47/273847/1
Richard Huang [Thu, 14 Apr 2022 10:36:10 +0000 (11:36 +0100)]
[dali_2.1.18] Merge branch 'devel/master'

Change-Id: I00888076fbd52472a42cf90827b29d7f7b3cbf20

2 years agoDALi Version 2.1.18 41/273841/1 dali_2.1.18
Richard Huang [Thu, 14 Apr 2022 10:35:05 +0000 (11:35 +0100)]
DALi Version 2.1.18

Change-Id: Ib924ba91d21f108e8d7604f9b0d2237d5b61ff04

2 years agoRefactoring webp-loading and loader-webp 56/273656/13
seungho [Mon, 11 Apr 2022 13:38:00 +0000 (22:38 +0900)]
Refactoring webp-loading and loader-webp

 - Remove duplicate code(To use WebPLoading from LoaderWebP)
 - Use header flag to define the webp is animated or not.

Change-Id: I9118bd77aa6c1d3430b4d90ca62069f24331d82e
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoMerge "Fix SVACE issue." into devel/master
Seungho BAEK [Wed, 13 Apr 2022 12:28:26 +0000 (12:28 +0000)]
Merge "Fix SVACE issue." into devel/master

2 years agoMerge "Sort samplers in vertex shader first and then fragment shader" into devel...
David Steele [Wed, 13 Apr 2022 11:21:42 +0000 (11:21 +0000)]
Merge "Sort samplers in vertex shader first and then fragment shader" into devel/master

2 years agoFix SVACE issue. 18/273718/2
seungho [Wed, 13 Apr 2022 01:56:20 +0000 (10:56 +0900)]
Fix SVACE issue.

 - Initialize framebuffer pointer.

Change-Id: I27bb4fa11c0ba348180d6818486e2a615335f9e6
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoMerge "Refactoring Animated image loading" into devel/master
Seungho BAEK [Tue, 12 Apr 2022 12:48:21 +0000 (12:48 +0000)]
Merge "Refactoring Animated image loading" into devel/master

2 years agoRefactoring Animated image loading 09/267009/12
seungho [Wed, 24 Nov 2021 04:46:35 +0000 (13:46 +0900)]
Refactoring Animated image loading

 - Open file in the first call to request frame.
 - In case of WebP, load one more frame in the first loop to compute exact time interval.

Change-Id: I03a3b79af278c64d7911d4c65ad300bd09d76bfd
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoSort samplers in vertex shader first and then fragment shader 57/273657/3
Richard Huang [Mon, 11 Apr 2022 15:35:53 +0000 (16:35 +0100)]
Sort samplers in vertex shader first and then fragment shader

Change-Id: Ic46d65f219d5b0784ba969650fccc02de926639f

2 years agoMerge "Test harness sync" into devel/master
David Steele [Mon, 11 Apr 2022 14:20:09 +0000 (14:20 +0000)]
Merge "Test harness sync" into devel/master

2 years ago[AT-SPI] Fix a build break 33/273633/1
Shinwoo Kim [Mon, 11 Apr 2022 05:43:39 +0000 (14:43 +0900)]
[AT-SPI] Fix a build break

There was a build error caused by ecore_wl2_window_resource_id_get
that is available from Tizen 7.0

Change-Id: I1716261c376a32dcec5100f8d5788645d69e8364

2 years agoMerge "Fix texture upload max buffer size" into devel/master
Heeyong Song [Mon, 11 Apr 2022 00:53:10 +0000 (00:53 +0000)]
Merge "Fix texture upload max buffer size" into devel/master

2 years agoTest harness sync 20/273620/1
David Steele [Fri, 8 Apr 2022 16:17:43 +0000 (17:17 +0100)]
Test harness sync

Change-Id: I61ba20bc29cfafafe04e78d76fee33406f002856

2 years agoMerge "DALi Version 2.1.17" into devel/master
David Steele [Fri, 8 Apr 2022 12:01:36 +0000 (12:01 +0000)]
Merge "DALi Version 2.1.17" into devel/master

2 years ago[dali_2.1.17] Merge branch 'devel/master' 09/273609/1
David Steele [Fri, 8 Apr 2022 11:55:09 +0000 (12:55 +0100)]
[dali_2.1.17] Merge branch 'devel/master'

Change-Id: Ie6a997875670f749d71129bf2f2c41609f5da4c3

2 years agoDALi Version 2.1.17 03/273603/1 dali_2.1.17
David Steele [Fri, 8 Apr 2022 11:54:41 +0000 (12:54 +0100)]
DALi Version 2.1.17

Change-Id: I14d49acf0f62bfce36df7b341d2a12f6b8be38d7

2 years agoFix texture upload max buffer size 00/273600/1
Heeyong Song [Fri, 8 Apr 2022 09:36:27 +0000 (18:36 +0900)]
Fix texture upload max buffer size

Change-Id: Ib90f4bf1a05b926b28c60574b3de24866dfe80ed

2 years agoMerge "[AT-SPI] Add resource id to window attribute" into devel/master
Shinwoo Kim [Fri, 8 Apr 2022 06:54:36 +0000 (06:54 +0000)]
Merge "[AT-SPI] Add resource id to window attribute" into devel/master

2 years agoAdd stride to PixelBuffer 55/270455/13
Heeyong Song [Thu, 3 Feb 2022 05:21:57 +0000 (14:21 +0900)]
Add stride to PixelBuffer

Change-Id: I9f7c46e63b78e186a2bb47deb63d35d5a5102f5f

2 years agoMerge "[AT-SPI] do not keep window in ApplicationAccessible" into devel/master
Shinwoo Kim [Mon, 4 Apr 2022 10:42:37 +0000 (10:42 +0000)]
Merge "[AT-SPI] do not keep window in ApplicationAccessible" into devel/master

2 years ago[AT-SPI] do not keep window in ApplicationAccessible 99/273199/7
Shinwoo Kim [Thu, 31 Mar 2022 11:02:02 +0000 (20:02 +0900)]
[AT-SPI] do not keep window in ApplicationAccessible

There is not a reason to keep window in ApplicationAccessible to emit
window related signals.

Moreover, keeping window increases the reference count.
In multi window case, Window.Reset() for the second window
cannot make ~Window() is called because of the reference count is not 0.

Change-Id: I13f636b12c62a29dc976602446b5dc13f2b521cb

2 years agoMerge "Don't cache colorMap pointer." into devel/master
Eunki Hong [Mon, 4 Apr 2022 07:56:45 +0000 (07:56 +0000)]
Merge "Don't cache colorMap pointer." into devel/master

2 years agoRemove build warnings 65/273265/2
Eunki, Hong [Fri, 1 Apr 2022 10:03:18 +0000 (19:03 +0900)]
Remove build warnings

Remove some annoying build warnings

Change-Id: I60065818ec8fa32d90a12258cb75d6d5e70977c2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDon't cache colorMap pointer. 82/273282/1
Eunki, Hong [Fri, 1 Apr 2022 12:26:46 +0000 (21:26 +0900)]
Don't cache colorMap pointer.

Some gif image failed to load the image map.
Maybe giflib re-use the memory of ColorMapPtr internally.

This patch make we don't cache localColorMapPtr and make always
generate colormap vector.

Due to the generating frequency, I increase the threshold a little.

Change-Id: Ie91723f0053f762d65c7ff3d25f74a1a6276b61b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DALi Version 2.1.16" into devel/master
David Steele [Fri, 1 Apr 2022 12:07:49 +0000 (12:07 +0000)]
Merge "DALi Version 2.1.16" into devel/master

2 years ago[dali_2.1.16] Merge branch 'devel/master' 75/273275/1
Adam Bialogonski [Fri, 1 Apr 2022 11:52:23 +0000 (12:52 +0100)]
[dali_2.1.16] Merge branch 'devel/master'

Change-Id: I557311ad5468465e9f6c81e9c48ca9358d7549d9

2 years agoDALi Version 2.1.16 69/273269/1 dali_2.1.16
Adam Bialogonski [Fri, 1 Apr 2022 11:51:34 +0000 (12:51 +0100)]
DALi Version 2.1.16

Change-Id: Ide75a32473e1bd06bb0a76c63dac0fd59efd433d

2 years agoMerge "[AT-SPI] Introduce AtspiEvents" into devel/master
Shinwoo Kim [Fri, 1 Apr 2022 07:06:38 +0000 (07:06 +0000)]
Merge "[AT-SPI] Introduce AtspiEvents" into devel/master

2 years agoMerge "drag-and-drop: add const prefix to member data of DragData" into devel/master
Taehyub Kim [Fri, 1 Apr 2022 04:59:26 +0000 (04:59 +0000)]
Merge "drag-and-drop: add const prefix to member data of DragData" into devel/master

2 years agoReduce API call of FillFrame at gif-loading. 11/273211/1
Eunki, Hong [Thu, 31 Mar 2022 14:22:19 +0000 (23:22 +0900)]
Reduce API call of FillFrame at gif-loading.

If previous frame's rect area is EQUAL with current frame's rect area,
we don't need to call FillFrame.
Because we will iterate that rect area in DecodeImage function.

In that case, Instead of call FillFrame, We just notify DecodeImage
Should fill background as specific color.

It will reduce most of case. Actually, If first frame, we access each pixel
Twice previous. This patch will reduce that access count.

Change-Id: Ica5fe669b6b553dbe55f054da5471dae865595a1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMinor optimization on image loading 37/272437/10
Eunki, Hong [Wed, 16 Mar 2022 18:58:16 +0000 (03:58 +0900)]
Minor optimization on image loading

1. Wrap DALI_UNLIKELY if there was some system / file error.
e.g. fread, fseek faild. malloc faild. image size or format not valid.

2. Reduce Dali::Vector operation more times.
When we use fixed size of Dali::Vector, use void * or std::uint8_t*
instead of &vector[0]. It's for reducing function call of operator[]
so we don't check index range, so we don't call Dali::Vector::Count().

3. Don't setup initial value of buffer for some cases.
Note. gausian-blur.cpp defect will be fixed in Heeyong's stride patch.

4. Reduce useless operations on loader-ico.cpp
Previous code use 4 times memory + buffer overflow error exist
when bitcount is 1 + read mask buffer only for each line. not whole buffer.

Change-Id: I28cdd7468ec4d573e53f4f6f7ad2345bca60b273
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agodrag-and-drop: add const prefix to member data of DragData 84/273084/1
Taehyub Kim [Wed, 30 Mar 2022 10:59:45 +0000 (19:59 +0900)]
drag-and-drop: add const prefix to member data of DragData

Change-Id: I5988f5200acab6c08f529ae4a506576ce65bff23

2 years ago[AT-SPI] Add resource id to window attribute 28/272828/7
Shinwoo Kim [Fri, 25 Mar 2022 07:53:38 +0000 (16:53 +0900)]
[AT-SPI] Add resource id to window attribute

The window resource id is unique value in the system.
This value can be used in screen-reader to support multi-window.
The screen-reader will use this to find a window at xy position.

Change-Id: Icf27d260790eca5ae7768a7df4bdd906d5fd2e23

2 years agoMerge "Cache default fontDescription + use default when fontDescription empty" into...
Eunki Hong [Tue, 29 Mar 2022 14:04:21 +0000 (14:04 +0000)]
Merge "Cache default fontDescription + use default when fontDescription empty" into devel/master

2 years agoCache default fontDescription + use default when fontDescription empty 87/272787/6
Eunki, Hong [Thu, 24 Mar 2022 08:44:13 +0000 (17:44 +0900)]
Cache default fontDescription + use default when fontDescription empty

When font description is empty, we will validate font in ValidateFont function.
And inside of that function, fontDescription become mDefaultDescription.

Due to the validateId is not matched, we always fail to get cached font info.
This patch make realFontDescription = mDefaultDescription
when input fontDescription family information is broken, so we can use
font cache feature well.

And also, ValidateFont API runtime is too long. So when we get default
font description, caching it immediatly. It will make that normal case
don't call ValidateFont API.

Change-Id: Iacb8ff84f159da5ee0d80f90c47001da54035e7e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[AT-SPI] Add WebEngine::GetAccessibilityAddress() 15/263115/11
Artur Świgoń [Thu, 17 Mar 2022 10:49:08 +0000 (11:49 +0100)]
[AT-SPI] Add WebEngine::GetAccessibilityAddress()

It is necessary to know the address of the root of the AT-SPI tree
created by Chromium in order to be able to embed it as a subtree in
a DALi application.

Change-Id: I015d6ebbd0ccdad08a4d25889086d8b4bd0e42a2

2 years agoMerge "Cache gif colormap so make gif-loading faster" into devel/master
Eunki Hong [Mon, 28 Mar 2022 13:21:53 +0000 (13:21 +0000)]
Merge "Cache gif colormap so make gif-loading faster" into devel/master

2 years agoMerge "TTrace enable always in tizen + Add TTrace for some DALi's API" into devel...
Eunki Hong [Mon, 28 Mar 2022 10:35:25 +0000 (10:35 +0000)]
Merge "TTrace enable always in tizen + Add TTrace for some DALi's API" into devel/master

2 years agoMerge "[AT-SPI] Add ScreenReaderEnabled, Disabled" into devel/master
Shinwoo Kim [Mon, 28 Mar 2022 08:10:15 +0000 (08:10 +0000)]
Merge "[AT-SPI] Add ScreenReaderEnabled, Disabled" into devel/master

2 years agoTTrace enable always in tizen + Add TTrace for some DALi's API 99/272599/17
Eunki, Hong [Mon, 21 Mar 2022 09:08:16 +0000 (18:08 +0900)]
TTrace enable always in tizen + Add TTrace for some DALi's API

Make ttrace enable always in tizen + trace marker for some dali operation

HOW TO USE :

 - build
In tizen, we turn on ttrace log. If you want to use ttrace in other platform,
(cmake) -DENABLE_TRACE=ON

 - run
set environment like below

export DALI_TRACE_COMBINED=true    (false in default)
export DALI_TRACE_APPLICATION=true (true in default)
export DALI_TRACE_FRAMEWORK=true   (true in default)
export DALI_TRACE_EGL=true         (true in default)

DALI_TRACE_COMBINED will trace every frames.
So they setup as false in default.
If you want to get the result every frame, you can setup environment as 'true'

Change-Id: Ie58cb0b9839c68a4824e3fdddd1ef96dddb5a2aa
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[dali_2.1.15] Merge branch 'devel/master' 55/272855/1
Adeel Kazmi [Fri, 25 Mar 2022 10:57:48 +0000 (10:57 +0000)]
[dali_2.1.15] Merge branch 'devel/master'

Change-Id: Ied54c21ef52e1c6051f03178cf39a4e4456d7db5

2 years agoDALi Version 2.1.15 48/272848/1 dali_2.1.15
Adeel Kazmi [Fri, 25 Mar 2022 10:56:59 +0000 (10:56 +0000)]
DALi Version 2.1.15

Change-Id: Id276a7a094def05f5ce4b9213718cc71a627d5ee

2 years ago[AT-SPI] Introduce AtspiEvents 84/272184/4
Shinwoo Kim [Thu, 10 Mar 2022 15:14:56 +0000 (00:14 +0900)]
[AT-SPI] Introduce AtspiEvents

The AtspiEvents can be used for the event mask to suppress
specific event.

Change-Id: I9c639a543c7c5b0db8c813c5a599c2148ea655b3

2 years agoCache gif colormap so make gif-loading faster 87/272687/3
Eunki, Hong [Tue, 22 Mar 2022 12:56:36 +0000 (21:56 +0900)]
Cache gif colormap so make gif-loading faster

gif type file only allow to hold 256 kind of color.

Previous code check the index of code, and next generate 1 integer.
(the function name as PixelLookup)
This patch pre-calculate the result of PixelLookup.
So we can reduce the bitwise operation + ColorMap access time.

Change-Id: I31f00a6a25b6669582d4edf86b2e7bd6d621a020
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix build error on callback of widget 31/272731/2
tscholb [Wed, 23 Mar 2022 06:40:59 +0000 (15:40 +0900)]
Fix build error on callback of widget

Widget's new keyEvent only work over tizen 7.0.
For avoid build error, i added this patch

Change-Id: I3ee52451e75ef1e6ca6fd64abd2c4b134d864dd2

2 years agoResolve svace issue (non-return API) 00/272600/1
Eunki, Hong [Mon, 21 Mar 2022 09:10:47 +0000 (18:10 +0900)]
Resolve svace issue (non-return API)

Change-Id: I6ebb501d0896380bc0ee58727d0fc3ce8798ed59
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Add SyncKeyEvent for Widget" into devel/master
sunghyun kim [Mon, 21 Mar 2022 07:32:22 +0000 (07:32 +0000)]
Merge "Add SyncKeyEvent for Widget" into devel/master

2 years agoDirectRendering: 77/270677/10
Adam Bialogonski [Wed, 16 Mar 2022 14:24:11 +0000 (14:24 +0000)]
DirectRendering:

- Implemented DrawNative() command for GL
- Creating individual context for native rendering (per window)

Change-Id: I45e9a3d938d654c1b660370c8cf3b5f91eea9c33