platform/core/uifw/dali-adaptor.git
3 years agoCanvasRenderer: Check changed status of composite drawable in changed check method 55/261655/4
JunsuChoi [Thu, 22 Jul 2021 06:44:25 +0000 (15:44 +0900)]
CanvasRenderer: Check changed status of composite drawable in changed check method

Check and Update changed status of composite drawable
in UpdateDrawablesChanged() and HaveDrawablesChanged() method.

Change-Id: Iaa96650fbefe3363f95b852fdf5cb193f01c4a14

3 years agoMerge "CanvasRenderer: Add RemoveAllDrawables() API" into devel/master
junsu choi [Thu, 29 Jul 2021 04:18:43 +0000 (04:18 +0000)]
Merge "CanvasRenderer: Add RemoveAllDrawables() API" into devel/master

3 years agoMerge "CanvasRenderer: Add RemoveDrawable() API" into devel/master
junsu choi [Thu, 29 Jul 2021 04:18:37 +0000 (04:18 +0000)]
Merge "CanvasRenderer: Add RemoveDrawable() API" into devel/master

3 years agoMerge "CanvasRenderer: Add Set/GetViewBox() API" into devel/master
junsu choi [Thu, 29 Jul 2021 04:14:10 +0000 (04:14 +0000)]
Merge "CanvasRenderer: Add Set/GetViewBox() API" into devel/master

3 years agoMerge "CanvasRenderer: Separates Commit() method" into devel/master
junsu choi [Thu, 29 Jul 2021 04:10:18 +0000 (04:10 +0000)]
Merge "CanvasRenderer: Separates Commit() method" into devel/master

3 years ago[ATSPI] Blocking unwanted emission of "MoveOuted" signal 37/261237/9
Lukasz Oleksak [Tue, 13 Jul 2021 16:28:40 +0000 (18:28 +0200)]
[ATSPI] Blocking unwanted emission of "MoveOuted" signal

This patch is blocking unwanted emission of "MoveOuted" signal to dbus
when auto-scroll feature moves highlighted object into the screen.

This patch is required following dali-toolkit patch:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/261238/

Change-Id: Ie3b7371376d4b11f1490e46a04d7d2bbd29a3064

3 years agoCanvasRenderer: Add RemoveAllDrawables() API 82/261182/8
JunsuChoi [Tue, 13 Jul 2021 03:12:20 +0000 (12:12 +0900)]
CanvasRenderer: Add RemoveAllDrawables() API

Add an API that removes the all drawables registered with AddDrawable().

Change-Id: I6483f99a7acc106022fbd4eec3fbf2cab100f1e0

3 years agoCanvasRenderer: Add RemoveDrawable() API 78/261178/7
JunsuChoi [Tue, 13 Jul 2021 02:03:58 +0000 (11:03 +0900)]
CanvasRenderer: Add RemoveDrawable() API

Add an API that removes the Drawable registered with AddDrawable()
from list in CanvasRenderer.

Change-Id: I70801e91df3e7d19dce4175b8274e351d12f5225

3 years agoCanvasRenderer: Add Set/GetViewBox() API 08/261108/8
JunsuChoi [Mon, 12 Jul 2021 05:37:08 +0000 (14:37 +0900)]
CanvasRenderer: Add Set/GetViewBox() API

Add Set/Get API to change canvas's viewbox value.

Change-Id: Ie4411ac97e293beb8f7b59420a1a0ee3d0bc518e

3 years agoCanvasRenderer: Separates Commit() method 76/260876/18
JunsuChoi [Tue, 6 Jul 2021 07:10:34 +0000 (16:10 +0900)]
CanvasRenderer: Separates Commit() method

Separates the check whether changed, Make object tree, and drawing,
which were worked together in Commit, into individual functions.
These are each called in the appropriate thread from toolkit.

Change-Id: Iafe4e94d7b2eb6a73e7db52b204a7476c5e563a4

3 years agoMerge "Add API for NativeImageQueue" into devel/master
sunghyun kim [Mon, 26 Jul 2021 01:10:55 +0000 (01:10 +0000)]
Merge "Add API for NativeImageQueue" into devel/master

3 years agoMerge "DALi Version 2.0.36" into devel/master
David Steele [Fri, 23 Jul 2021 10:32:58 +0000 (10:32 +0000)]
Merge "DALi Version 2.0.36" into devel/master

3 years agoDALi Version 2.0.36 36/261736/1 dali_2.0.36
Richard Huang [Fri, 23 Jul 2021 09:28:28 +0000 (10:28 +0100)]
DALi Version 2.0.36

Change-Id: I5d31ee0019fb087debba76e08684e0b8cbfc6acb

3 years agoImplement WebEngine::GetPlainTextAsynchronously 88/261688/1
Jiyun Yang [Thu, 22 Jul 2021 13:06:09 +0000 (22:06 +0900)]
Implement WebEngine::GetPlainTextAsynchronously

Change-Id: Id85c001698789c9ac9e9f444ebdca3f067df7af6
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoAdd API for NativeImageQueue 67/261267/11
Sunghyun Kim [Wed, 14 Jul 2021 03:10:37 +0000 (12:10 +0900)]
Add API for NativeImageQueue

When the application uses several buffers in NativeImageQueue,
the application can get buffer directly using these APIs.

Change-Id: If350caeb80867549d908611c43dfa4b35faff8e0

3 years agoinput/ubuntu: Add Up, Down key mapping 98/261598/1
JunsuChoi [Thu, 22 Jul 2021 02:42:13 +0000 (11:42 +0900)]
input/ubuntu: Add Up, Down key mapping

Add DALI_KEY_CURSOR_UP, DALI_KEY_CURSOR_DOWN key mapping

Change-Id: I9a4ca17efa4d338650d159553c0f426d8bd9913e

3 years agoMerge "Initialize surface before PreRender" into devel/master
Heeyong Song [Thu, 22 Jul 2021 02:09:22 +0000 (02:09 +0000)]
Merge "Initialize surface before PreRender" into devel/master

3 years agoMerge "[ATSPI] Add MoveOuted interface" into devel/master
Shinwoo Kim [Thu, 22 Jul 2021 00:41:25 +0000 (00:41 +0000)]
Merge "[ATSPI] Add MoveOuted interface" into devel/master

3 years agoMerge "Add ApplyCustomFragmentPrefix" into devel/master
Seungho BAEK [Wed, 21 Jul 2021 06:29:57 +0000 (06:29 +0000)]
Merge "Add ApplyCustomFragmentPrefix" into devel/master

3 years agoCanvasRenderer: Add Drawable::SetMask() API 33/261133/6
JunsuChoi [Mon, 12 Jul 2021 08:30:40 +0000 (17:30 +0900)]
CanvasRenderer: Add Drawable::SetMask() API

Add masking API to support masking using drawable.
Currently, alpha and inverse alpha masking are supported.
This property may be further increased in the future.

+) Mask and clippath cannot be used together yet.
This will be improved with additional patches once the Spec is decided.

Change-Id: Idd4c88097d8db5ce36ac028b8ae47a6a01669f41

3 years agoCanvasRenderer: Add Drawable::SetClipPath() Api 25/260325/11
JunsuChoi [Wed, 23 Jun 2021 08:04:23 +0000 (17:04 +0900)]
CanvasRenderer: Add Drawable::SetClipPath() Api

Clipping source drawable based on Path data.

Change-Id: Idd0a20d4d5e0a2243bc1b7781b06f02296fc508d

3 years agoAdd ApplyCustomFragmentPrefix 09/260409/14
seungho [Thu, 24 Jun 2021 07:13:34 +0000 (16:13 +0900)]
Add ApplyCustomFragmentPrefix

 - Apply suitable prefix for the native image fragment shader

Change-Id: I8315c904b08a7d1443458d877f202dfa62714fed
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMerge changes I83c26470,I6fe45a0f into devel/master
Adeel Kazmi [Tue, 20 Jul 2021 12:07:15 +0000 (12:07 +0000)]
Merge changes I83c26470,I6fe45a0f into devel/master

* changes:
  Disabling Efreet icon cache
  Ensuring scene dump is valid json

3 years agoFix SVACE error in pixel-buffer-impl.cpp 51/261451/1
Adeel Kazmi [Mon, 19 Jul 2021 09:03:32 +0000 (10:03 +0100)]
Fix SVACE error in pixel-buffer-impl.cpp

Change-Id: I06b14dc13dee75ebe09e2c786455f5a969e398aa

3 years agoMerge "[AT-SPI] Fix logging object address in bridge-text.cpp" into devel/master
Adeel Kazmi [Mon, 19 Jul 2021 08:49:56 +0000 (08:49 +0000)]
Merge "[AT-SPI] Fix logging object address in bridge-text.cpp" into devel/master

3 years agoAdd Timer at TapGestureRecognizer 09/260809/4
Joogab Yun [Mon, 5 Jul 2021 03:22:10 +0000 (12:22 +0900)]
Add Timer at TapGestureRecognizer

Change-Id: Ib83ee19e27eec407bc0305bbacf471e2a4700671

3 years agoMerge "DALi Version 2.0.35" into devel/master
Adeel Kazmi [Fri, 16 Jul 2021 09:33:36 +0000 (09:33 +0000)]
Merge "DALi Version 2.0.35" into devel/master

3 years agoDALi Version 2.0.35 94/261394/1 dali_2.0.35
David Steele [Fri, 16 Jul 2021 09:29:04 +0000 (10:29 +0100)]
DALi Version 2.0.35

Change-Id: I536b27d652e351f8fdc3569908ab78480222f1ef

3 years agoInitialize surface before PreRender 62/260862/4
Heeyong Song [Tue, 6 Jul 2021 02:03:18 +0000 (11:03 +0900)]
Initialize surface before PreRender

Change-Id: I76419b6e29a0c761b103c596441083bce134e614

3 years agoMerge "Add GetBrightness()" into devel/master
joogab yun [Fri, 16 Jul 2021 05:24:38 +0000 (05:24 +0000)]
Merge "Add GetBrightness()" into devel/master

3 years agoMerge changes Iecf1e0b7,Iad386cdf into devel/master
David Steele [Thu, 15 Jul 2021 15:24:39 +0000 (15:24 +0000)]
Merge changes Iecf1e0b7,Iad386cdf into devel/master

* changes:
  Standalone uniform writes optimized
  Added GLES command buffer pool

3 years ago[AT-SPI] Fix logging object address in bridge-text.cpp 48/261348/3
Artur Świgoń [Thu, 15 Jul 2021 13:50:34 +0000 (15:50 +0200)]
[AT-SPI] Fix logging object address in bridge-text.cpp

The following commit introduced a null pointer dereference bug (by using
the wrong variable):

    commit 0f89686c3137b7972e41c44e48c0da5de385a360
    Author: Seoyeon Kim <seoyeon2.kim@samsung.com>
    Date:   Wed Jun 23 15:11:07 2021 +0900

        Update ATSPI code according to DALi coding rule

        <cut>
        Change-Id: Ie1a2f0185ed90846fba61a999bcea81038621ae0

The bug has been fixed by the following commit which, unfortunately,
does not restore logging the object address as is done in other
bridge-*.cpp files:

    commit 11d8929702373f3e7601b7e513f48bec42611844
    Author: David Steele <david.steele@samsung.com>
    Date:   Fri Jul 9 12:23:51 2021 +0100

        Fixing error found by static analyser

        Change-Id: I5f6083f6df7e007815c726b22d16c652a01b5be8

Note to people unfamiliar with the AT-SPI bridge: the std::domain_error
which is thrown here is serialized as an error reply on DBus which is
then sent back to the original caller (e.g. screen-reader).

Change-Id: I7e535220dbbdd78703db4af4395e5c3384db5405

3 years ago[ATSPI] Add MoveOuted interface 95/260495/11
Shinwoo Kim [Fri, 25 Jun 2021 12:05:30 +0000 (21:05 +0900)]
[ATSPI] Add MoveOuted interface

This interface is used for an object moving out of view area.
The following dali-toolkit patch is using this interface.

https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/260342/

Change-Id: Ibd0fbfa3ddb22c66ef4ece26b97ec87a439bfe1a

3 years agoMerge "Replace Signal with std::function." into devel/master
JIYUN YANG [Thu, 15 Jul 2021 09:45:18 +0000 (09:45 +0000)]
Merge "Replace Signal with std::function." into devel/master

3 years agoAdd GetBrightness() 67/260567/8
Joogab Yun [Tue, 29 Jun 2021 06:55:23 +0000 (15:55 +0900)]
Add GetBrightness()

Get the brightness value of the buffer.

Change-Id: I3b95ff0d786cfb3a60a10aeca994079504edfea8

3 years agoCanvasRenderer: Remove unnecessary header 94/261194/1
JunsuChoi [Tue, 13 Jul 2021 06:21:36 +0000 (15:21 +0900)]
CanvasRenderer: Remove unnecessary header

thorvg headr not used in common, generic profile

Change-Id: I08e72446fbfb1178c82b1f0e45757d914089eebd

3 years agoStandalone uniform writes optimized 51/261151/3
Adam Bialogonski [Mon, 12 Jul 2021 10:04:00 +0000 (11:04 +0100)]
Standalone uniform writes optimized

- Removed memcmp (replaced with custom function working on 4-byte long types)
- Only one memmove called at the end of update on the whole cache block

Change-Id: Iecf1e0b774993ad703e953a617f7cd5e837e0239

3 years agoAdded GLES command buffer pool 71/260971/8
Adam Bialogonski [Wed, 7 Jul 2021 14:57:25 +0000 (15:57 +0100)]
Added GLES command buffer pool

Added GLES command buffer pool to improve internal
commands and transient memory allocation

Change-Id: Iad386cdf8fd88aa7b7676df706163e87b6eb74ba

3 years agoFixing error found by static analyser 84/261084/1
David Steele [Fri, 9 Jul 2021 11:23:51 +0000 (12:23 +0100)]
Fixing error found by static analyser

Change-Id: I5f6083f6df7e007815c726b22d16c652a01b5be8

3 years agoMerge "DALi Version 2.0.34" into devel/master
Adeel Kazmi [Fri, 9 Jul 2021 09:28:08 +0000 (09:28 +0000)]
Merge "DALi Version 2.0.34" into devel/master

3 years agoDALi Version 2.0.34 61/261061/1 dali_2.0.34
Adam Bialogonski [Fri, 9 Jul 2021 08:44:33 +0000 (09:44 +0100)]
DALi Version 2.0.34

Change-Id: I9475fc0909abe9838134184c242271569bf55a40

3 years agoMerge "Makes the LTR/RTL alignment of text follow the system language by default...
joogab yun [Fri, 9 Jul 2021 01:54:18 +0000 (01:54 +0000)]
Merge "Makes the LTR/RTL alignment of text follow the system language by default." into devel/master

3 years agoMerge "Add class for encoded image buffer" into devel/master
Eunki Hong [Thu, 8 Jul 2021 13:25:58 +0000 (13:25 +0000)]
Merge "Add class for encoded image buffer" into devel/master

3 years agoReflection GetSamplers() returns const ref 10/260910/2
Adam Bialogonski [Tue, 6 Jul 2021 14:00:06 +0000 (15:00 +0100)]
Reflection GetSamplers() returns const ref

Change-Id: Ia556bf44b16c8cb1e73042103a6cf87d2e318651

3 years agoReplace Signal with std::function. 97/260897/5
huayong.xu [Tue, 6 Jul 2021 02:29:13 +0000 (10:29 +0800)]
Replace Signal with std::function.

Originally Signal is used to notify webview when callback of web
engine is called. If Signal is called with a std::shared_ptr<X>,
lifecyle of object X would be managed by Signal only in
csharp-binder. So if Signal are destroyed, object X would be
destroyed too. This might cause some problem.
This patch is to replace Signal with std::fuction, and replace
std:shared_ptr with unique_ptr. Lifecycle of object X would not
be associated with that of Signal.

Change-Id: I7ce7cd977994308541ac645494b6dea97765e818

3 years agoMerge "Update ATSPI code according to DALi coding rule" into devel/master
Seoyeon Kim [Wed, 7 Jul 2021 05:15:21 +0000 (05:15 +0000)]
Merge "Update ATSPI code according to DALi coding rule" into devel/master

3 years agoAdd class for encoded image buffer 26/260026/7
Eunki, Hong [Fri, 18 Jun 2021 04:41:11 +0000 (13:41 +0900)]
Add class for encoded image buffer

Add class for encoded image buffer
We can use it for
 - AnimatedImageLoading
 - VectorImageRendererPlugin
 - VectorAnimationRendererPlugin

These things may need to fix and sync a lot of codes.
So we only make new class

Change-Id: I148730de6cbddaabb2bb889520e8643bf3ee5599
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoDisabling Efreet icon cache 76/260776/3
David Steele [Fri, 2 Jul 2021 10:50:59 +0000 (11:50 +0100)]
Disabling Efreet icon cache

Change-Id: I83c26470062494463b9b50f4e6e9a06120b9a6d4

3 years agoEnsuring scene dump is valid json 96/248196/6
David Steele [Mon, 23 Nov 2020 12:46:15 +0000 (12:46 +0000)]
Ensuring scene dump is valid json

Change-Id: I6fe45a0f0da509bc4c7566543f36bcac474e9da1

3 years agoMerge "[ATSPI] missing variables provided in ReadingMaterialType" into devel/master
Seoyeon Kim [Tue, 6 Jul 2021 06:59:30 +0000 (06:59 +0000)]
Merge "[ATSPI] missing variables provided in ReadingMaterialType" into devel/master

3 years agoMakes the LTR/RTL alignment of text follow the system language by default. 70/259870/3
Joogab Yun [Wed, 16 Jun 2021 07:18:43 +0000 (16:18 +0900)]
Makes the LTR/RTL alignment of text follow the system language by default.

The MATCH_SYSTEM_LANGUAGE_DIRECTION property defaults to true.

When the layout direction of TextLabel, TextField, or TextEditor is changed,
LTR/RTL alignment of text follows the layout direction of each control.

If you set MATCH_SYSTEM_LANGUAGE_DIRECTION to false
As before, LTR/RTL is determined according to the language of the text.

Change-Id: If92e44feb942cf3024bbe56842d75b2b45a73448

3 years agoFixing network logging build 06/247606/8
David Steele [Fri, 18 Jun 2021 16:28:35 +0000 (17:28 +0100)]
Fixing network logging build

Change-Id: Ib8f184875b41c33fec6b2826daaacd6558ba3a6e

3 years agoUpdate ATSPI code according to DALi coding rule 81/260281/9
Seoyeon Kim [Wed, 23 Jun 2021 06:11:07 +0000 (15:11 +0900)]
Update ATSPI code according to DALi coding rule

- Updated accessibility and bridge code, such as description or coding style.
- Changed 'Caret' to 'Cursor' for dali text style.

The patches below should be applied together.
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/260282/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/260322/

Change-Id: Ie1a2f0185ed90846fba61a999bcea81038621ae0
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agoAdd APIs for showing/hiding context menu. 42/260242/4
huayong.xu [Tue, 22 Jun 2021 09:04:22 +0000 (17:04 +0800)]
Add APIs for showing/hiding context menu.

1) Remove APIs for customizing context menu and selecting some menu
   item.
2) Remove GetPosition of context menu.
3) Rename some APIs in web context.

Change-Id: I70a3fe2b5d41e72e58af762e60105c69eefc09a7

3 years agoMerge "DALi Version 2.0.33" into devel/master
David Steele [Fri, 2 Jul 2021 16:44:11 +0000 (16:44 +0000)]
Merge "DALi Version 2.0.33" into devel/master

3 years agoDALi Version 2.0.33 89/260789/1 dali_2.0.33
Adeel Kazmi [Fri, 2 Jul 2021 16:41:17 +0000 (17:41 +0100)]
DALi Version 2.0.33

Change-Id: I72c8a8e71975011aaf64c9fa4e8411386f9cfe0b

3 years ago[ATSPI] missing variables provided in ReadingMaterialType 32/259932/11
Lukasz Oleksak [Wed, 16 Jun 2021 17:55:04 +0000 (19:55 +0200)]
[ATSPI] missing variables provided in ReadingMaterialType

Change-Id: I0caa86f8f6fcde6dcc196a1da7004fb71d97eaf5

3 years ago[AT-SPI] Sort children spatially in navigation 38/259838/3
Artur Świgoń [Tue, 15 Jun 2021 18:09:51 +0000 (20:09 +0200)]
[AT-SPI] Sort children spatially in navigation

Without this patch, the navigation order reflects the order of adding
actors to the scene, and only by coincidence is this correct in most
cases.

Change-Id: I401adeb960963a4b2b04ce9538eec7800250a841

3 years agoSupports some tizen window features. 82/256582/21
Wonsik Jung [Wed, 7 Apr 2021 11:29:29 +0000 (20:29 +0900)]
Supports some tizen window features.

Supports some tizne window features.
1. Window resized and moved by disply server.
Supports window is resized or moved by display server.
This APIs should be called in mouse down event.
After that, the window is moved or resized with mouse move event.
When mouse up event happens, the job will be finished.

2. floating window mode.
The floating mode is to support making partial size window easliy.
It is useful to make popup style window and this window is always upper than the other normal window.
In addition, it is easy to change between popup style and normal style window.

Change-Id: I2f936a6e28740e061e32c172b7fe90121ecb9e33

3 years agoSupports IME window for Tizen keyboard application. 86/258586/22
Daekwang Ryu [Thu, 29 Apr 2021 06:44:52 +0000 (15:44 +0900)]
Supports IME window for Tizen keyboard application.

It is only for internal Tizen keyboard application.
To do that, default window should be initialized with wayland input surface
and one wayland API should be called pre rendering.
So, new APIs does not work for the other window and application.

Change-Id: I21a332d57ea939afa7059d1b9b222fea16985a93

3 years agoMerge "[AT-SPI] Remove Role check in AcceptObject" into devel/master
Seoyeon Kim [Tue, 29 Jun 2021 03:29:11 +0000 (03:29 +0000)]
Merge "[AT-SPI] Remove Role check in AcceptObject" into devel/master

3 years agoMerge "DALi Version 2.0.32" into devel/master
Adeel Kazmi [Fri, 25 Jun 2021 10:57:51 +0000 (10:57 +0000)]
Merge "DALi Version 2.0.32" into devel/master

3 years agoDALi Version 2.0.32 82/260482/1 dali_2.0.32
Richard Huang [Fri, 25 Jun 2021 10:17:20 +0000 (11:17 +0100)]
DALi Version 2.0.32

Change-Id: Ic1a59b5e8e051758b5b07e23490d01f6651d7751

3 years agoRevert "vector-animation: Imeplements rive animation" 68/260068/2
Heeyong Song [Fri, 18 Jun 2021 05:12:39 +0000 (14:12 +0900)]
Revert "vector-animation: Imeplements rive animation"

This reverts commit 8d1b39209d68a013f936d5233b9358b5ca06edb6.

Change-Id: I3eb922ec50afe6756bd668734c53dbede53623f6

3 years ago[AT-SPI] Remove Role check in AcceptObject 30/259930/4
Maria Bialota [Wed, 16 Jun 2021 12:33:20 +0000 (14:33 +0200)]
[AT-SPI] Remove Role check in AcceptObject

Removed AcceptObjectCheckRole() method and its call in AcceptObject().

Checking the AT-SPI Role of the Component to decide whether it should be
highlighted or not is not needed, as by default all Components are
non-highlightable and highlightability is decided individually
in dali-toolkit by setting the ACCESSIBILITY_HIGHLIGHTABLE property.

From now on if we want to turn on highlightability for certain
Components, we can do this in dali-toolkit on a class level
or in runtime per individual instance of a Component.

Change-Id: I4777594550765b0b8335e47cd322d7d96590fe55

3 years agoInvalidate depth and stencil buffers after finishing the rendering 80/260180/2
Richard Huang [Mon, 21 Jun 2021 13:45:02 +0000 (14:45 +0100)]
Invalidate depth and stencil buffers after finishing the rendering

Change-Id: I140a525cc748c9c411f5493aa8b34a2b7db237e8

3 years agoRemove redundant context switching 13/260113/1
Richard Huang [Fri, 18 Jun 2021 16:01:38 +0000 (17:01 +0100)]
Remove redundant context switching

Change-Id: I1d303f949834e48e00845f3cb327eca04e71bc1e

3 years agoMerge changes I7234d85c,I6a771210 into devel/master
Adeel Kazmi [Fri, 18 Jun 2021 13:29:10 +0000 (13:29 +0000)]
Merge changes I7234d85c,I6a771210 into devel/master

* changes:
  Standalone uniforms cache
  Reduced number of glTexParameteri() calls

3 years agoMerge "DALi Version 2.0.31" into devel/master
Adeel Kazmi [Fri, 18 Jun 2021 10:46:14 +0000 (10:46 +0000)]
Merge "DALi Version 2.0.31" into devel/master

3 years agoDALi Version 2.0.31 94/260094/1 dali_2.0.31
David Steele [Fri, 18 Jun 2021 10:38:01 +0000 (11:38 +0100)]
DALi Version 2.0.31

Change-Id: Ib01a1753221f5c44706f192ce6a5f35e1bc21253

3 years agoMerge "Fix related to eglImage memory" into devel/master
sunghyun kim [Fri, 18 Jun 2021 01:34:16 +0000 (01:34 +0000)]
Merge "Fix related to eglImage memory" into devel/master

3 years agoStandalone uniforms cache 30/260030/1
Adam Bialogonski [Thu, 17 Jun 2021 11:40:48 +0000 (12:40 +0100)]
Standalone uniforms cache

Change-Id: I7234d85c4f3e93f5c1a76a19e1bc41a2cb6447e2
GLES::Program uses internal uniform cache

3 years agoReduced number of glTexParameteri() calls 29/259929/2
Adam Bialogonski [Wed, 16 Jun 2021 15:19:22 +0000 (16:19 +0100)]
Reduced number of glTexParameteri() calls

Change-Id: I6a771210f015616ca9529b7d7fa03b787a06981c

3 years agoMerge "Add the exception case for window rotation." into devel/master
Wonsik Jung [Thu, 17 Jun 2021 02:31:11 +0000 (02:31 +0000)]
Merge "Add the exception case for window rotation." into devel/master

3 years agoAdd the exception case for window rotation. 02/259802/1
Wonsik Jung [Tue, 15 Jun 2021 00:49:50 +0000 (09:49 +0900)]
Add the exception case for window rotation.

When window rotaton event occurs, the window's size in rotation evnet value is initialized with 0 value.
To fix that, if window's size in rotation event value is zero, the value should be modified using DALi local data.
In addition, fix the one human error.

Change-Id: I03330dcb491b70e6b3abe1e56a9043b859adb215

3 years agoatspi: Delete assert when parent was nullptr 92/259792/1
Woochanlee [Mon, 14 Jun 2021 09:20:02 +0000 (18:20 +0900)]
atspi: Delete assert when parent was nullptr

when aurum bootstrap call command from host, this assert genereated.
it works well without assert exception here.

Change-Id: I9e0ffeb61167a2e36b8f40e383e011b8571808ff

3 years agoMerge "Changed when depth/stencil renderbuffers are created" into devel/master
Adeel Kazmi [Fri, 11 Jun 2021 11:43:32 +0000 (11:43 +0000)]
Merge "Changed when depth/stencil renderbuffers are created" into devel/master

3 years agoDALi Version 2.0.30 27/259727/1 dali_2.0.30
Adeel Kazmi [Fri, 11 Jun 2021 10:35:36 +0000 (11:35 +0100)]
DALi Version 2.0.30

Change-Id: I385d7ac8c1ce5914f1148ec7fd148ad09b7d6b9c

3 years agoChanged when depth/stencil renderbuffers are created 64/259664/1
David Steele [Thu, 10 Jun 2021 17:18:22 +0000 (18:18 +0100)]
Changed when depth/stencil renderbuffers are created

The framebuffer code incorrectly created renderbuffers
when textures were being attached. Instead, these are now
created when textures are not attached, but depth/stencil
attachments are required.

Change-Id: Ia417796e2f294ca3f6de174cb7318e4481ff92f5
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge "(gles-context.cpp) Use pipelineState directly instead of dereferencing (SVACE...
Adeel Kazmi [Thu, 10 Jun 2021 08:45:15 +0000 (08:45 +0000)]
Merge "(gles-context.cpp) Use pipelineState directly instead of dereferencing (SVACE Error)" into devel/master

3 years agoMerge "Add api for load image from encoded buffer + fix file-reader.h bug" into devel...
Eunki Hong [Thu, 10 Jun 2021 05:43:57 +0000 (05:43 +0000)]
Merge "Add api for load image from encoded buffer + fix file-reader.h bug" into devel/master

3 years agoFix Coverity issue 75/259575/1
Heeyong Song [Thu, 10 Jun 2021 01:32:38 +0000 (10:32 +0900)]
Fix Coverity issue

Change-Id: I85b25abce2007b7ee2b8393798404877f9c9d65b

3 years agoAdd api for load image from encoded buffer + fix file-reader.h bug 19/259119/5
Eunki, Hong [Wed, 2 Jun 2021 00:54:41 +0000 (09:54 +0900)]
Add api for load image from encoded buffer + fix file-reader.h bug

Add api ImageLoading::LoadImageFromBuffer(const Dali::Vector<uint8_t>&)
We can load image from encoded image buffer.
+
Fix some portential error when we use Internal::Platform::FileReader
This patch will increase the convenience
of using a Internal::Platform::FileReader

Change-Id: I0e9b77fc4665261959ed6e027e398e78db2c1d31
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years ago(gles-context.cpp) Use pipelineState directly instead of dereferencing (SVACE Error) 59/259559/1
Adeel Kazmi [Wed, 9 Jun 2021 16:22:16 +0000 (17:22 +0100)]
(gles-context.cpp) Use pipelineState directly instead of dereferencing (SVACE Error)

Change-Id: Iee2b9dc78f746e53270bbe762f7a522aba639bfc

3 years agoMerge "Fixed SVACE error in gles-context.cpp" into devel/master
Adeel Kazmi [Wed, 9 Jun 2021 11:21:17 +0000 (11:21 +0000)]
Merge "Fixed SVACE error in gles-context.cpp" into devel/master

3 years agoFix related to eglImage memory 41/259441/2
Sunghyun Kim [Tue, 8 Jun 2021 05:29:59 +0000 (14:29 +0900)]
Fix related to eglImage memory

1. Create only when there is no eglImage
2. When new eglImage is prepared, the existing eglImage need to update

Change-Id: I8a292c5744b1605b464c45ef12c2b871624c0e5e

3 years agoMerge "[AT-SPI] Add Selection interface" into devel/master
Seoyeon Kim [Wed, 9 Jun 2021 04:44:22 +0000 (04:44 +0000)]
Merge "[AT-SPI] Add Selection interface" into devel/master

3 years agoFixed SVACE error in gles-context.cpp 80/259480/1
Adeel Kazmi [Tue, 8 Jun 2021 17:35:45 +0000 (18:35 +0100)]
Fixed SVACE error in gles-context.cpp

Change-Id: I79d63e791dc00b2e9898d43c8396e09378c0bdbb

3 years agoMerge "Fixed the case when the new program is not set whe GLES Context Flush() is...
Adeel Kazmi [Tue, 8 Jun 2021 14:21:59 +0000 (14:21 +0000)]
Merge "Fixed the case when the new program is not set whe GLES Context Flush() is called." into devel/master

3 years ago[AT-SPI] Add Selection interface 13/258913/10
Artur Świgoń [Thu, 27 May 2021 13:31:47 +0000 (15:31 +0200)]
[AT-SPI] Add Selection interface

Change-Id: I893f79a9ccfb7e39fb257a798c297dc22f107cea

3 years agoCanvasRenderer: Fix build error for mac, android 58/259458/4
JunsuChoi [Tue, 8 Jun 2021 08:51:42 +0000 (17:51 +0900)]
CanvasRenderer: Fix build error for mac, android

Change-Id: I816bbc91a58c5ea82c4d7ee9c5984bdb68231346

3 years agoFixed the case when the new program is not set whe GLES Context Flush() is called. 55/259455/1
Adam Bialogonski [Tue, 8 Jun 2021 08:28:41 +0000 (09:28 +0100)]
Fixed the case when the new program is not set whe GLES Context Flush() is called.

Change-Id: I071cdb6f356f22550d5a319d90ec135d96f8d11a

3 years agoCanvasRenderer: Clean up code 33/258633/4
JunsuChoi [Fri, 21 May 2021 09:06:22 +0000 (18:06 +0900)]
CanvasRenderer: Clean up code

fix indentation and remove unnecessary code.

Change-Id: Ifc7928a1b04fb46d3a973999864c4053047c6384

3 years agoCanvasRenderer: Add missing parentheses for @copydoc 37/258537/6
JunsuChoi [Thu, 20 May 2021 04:22:31 +0000 (13:22 +0900)]
CanvasRenderer: Add missing parentheses for @copydoc

Change-Id: Id4c09f6e358a0f8a76b41bf7b41489a927295ec6

3 years agoMerge "CanvasRenderer: Refactoring tvgObject management" into devel/master
junsu choi [Tue, 8 Jun 2021 01:42:00 +0000 (01:42 +0000)]
Merge "CanvasRenderer: Refactoring tvgObject management" into devel/master

3 years agoMerge "Add CanvasRenderer::DrawableGroup class" into devel/master
junsu choi [Tue, 8 Jun 2021 01:41:55 +0000 (01:41 +0000)]
Merge "Add CanvasRenderer::DrawableGroup class" into devel/master

3 years agoAdd ETC2_EAC compressed texture format 64/259364/1
Heeyong Song [Mon, 7 Jun 2021 00:57:49 +0000 (09:57 +0900)]
Add ETC2_EAC compressed texture format

Change-Id: I0a5d5188c8241080244bc77d40c49a338f0af797

3 years agoDALi Version 2.0.29 24/259324/1 dali_2.0.29
Adam Bialogonski [Fri, 4 Jun 2021 08:56:47 +0000 (09:56 +0100)]
DALi Version 2.0.29

Change-Id: I911e991b6ca39342aa4b09ecbd46f3783293abcc

3 years agoCanvasRenderer: Refactoring tvgObject management 36/258536/8
JunsuChoi [Tue, 18 May 2021 08:08:45 +0000 (17:08 +0900)]
CanvasRenderer: Refactoring tvgObject management

Thorvg is designed for immediate rendering, tvg objects use unique ptr.
However, CanvasRenderer, Shape, Drawable, and DrawableGroup inherit BaseHandle
and work according to the lifecycle of Dali objects.
CanvasRenderer classes unnecessarily checks whether tvgObject is deleted.
So we don't push each in each AddDrawable method. Just before drawing,
we clear the canvas and push all the objects managed by the list directly.

The memory of the pushed object is managed in the canvas.
Each Drawable class only needs to manage its own tvg object.

Change-Id: I373fbe4a34c8b8a3a72d222744226f84075575d7

3 years agoAdd CanvasRenderer::DrawableGroup class 35/258535/10
JunsuChoi [Tue, 27 Apr 2021 06:31:04 +0000 (15:31 +0900)]
Add CanvasRenderer::DrawableGroup class

DrawableGroup is a class that implements ThorVG's tvg::Scene 1:1.
This feature can add and control multiple Drawable objects.
Since this class inherits Drawable, user can use Drawable's Opacity and Transformation methods.

class DALI_ADAPTOR_API DrawableGroup : public Drawable
AddDrawable
Clear

Change-Id: I8b95907c2df4510f3b2f7a62c249ab634214414e