platform/core/uifw/dali-adaptor.git
2 years agoDALi Version 2.0.43 41/263841/1 dali_2.0.43
David Steele [Fri, 10 Sep 2021 15:20:39 +0000 (16:20 +0100)]
DALi Version 2.0.43

Change-Id: Id358222187f24e8a86fe65196f67de9d9df51117

2 years agoDALi Version 2.0.42 96/263496/1 dali_2.0.42
Adeel Kazmi [Fri, 3 Sep 2021 15:04:20 +0000 (16:04 +0100)]
DALi Version 2.0.42

Change-Id: I3446c117b52ce72b5ea1f41eb3f958dd6a830a4c

2 years ago[ATSPI] Calculate Window state in atspi tree 80/263280/6
Bartlomiej Grzelewski [Mon, 30 Aug 2021 13:05:14 +0000 (15:05 +0200)]
[ATSPI] Calculate Window state in atspi tree

Window state in atspi tree should not be
ACTIVE/VISIBLE when window is hidden or
minimalized.

Change-Id: I2fe1e9d38c4e9fb55d8c25b18a1dc154bca0293b

2 years ago[ATSPI] Added support for ToolkitName and Version to dali 14/256714/15
Bartlomiej Grzelewski [Wed, 25 Aug 2021 16:08:01 +0000 (18:08 +0200)]
[ATSPI] Added support for ToolkitName and Version to dali

Change-Id: Ibee9189930452c4c04856a8a2c1f0fd4512b1680

2 years agoFix SVACE errors in Graphics Backend 04/263204/1
Adeel Kazmi [Fri, 27 Aug 2021 12:26:40 +0000 (13:26 +0100)]
Fix SVACE errors in Graphics Backend

Change-Id: I59401140ab4cb22fef23cd654c9d0e81c930ed85

2 years agoMerge "DALi Version 2.0.41" into devel/master
David Steele [Fri, 27 Aug 2021 11:43:03 +0000 (11:43 +0000)]
Merge "DALi Version 2.0.41" into devel/master

2 years agoDALi Version 2.0.41 86/263186/1 dali_2.0.41
Adam Bialogonski [Fri, 27 Aug 2021 09:49:29 +0000 (10:49 +0100)]
DALi Version 2.0.41

Change-Id: I6c001384e3a6452a70e50a0365f9836abef9e859

2 years agoMerge "Fix activate window list bug for aurum" into devel/master
Wonsik Jung [Fri, 27 Aug 2021 00:42:34 +0000 (00:42 +0000)]
Merge "Fix activate window list bug for aurum" into devel/master

2 years agoMerge "Add input region APIs" into devel/master
Wonsik Jung [Thu, 26 Aug 2021 08:36:10 +0000 (08:36 +0000)]
Merge "Add input region APIs" into devel/master

2 years agoImplement more request interceptor APIs. 62/263062/1
huayong.xu [Tue, 24 Aug 2021 01:38:40 +0000 (09:38 +0800)]
Implement more request interceptor APIs.

Change-Id: Id2c0a9eca5043ef3c9b559aee4d1713037dd3145

2 years agoMerge "[ATSPI] Add a function to check whether accessibility is enabled" into devel...
Seoyeon Kim [Wed, 25 Aug 2021 05:16:53 +0000 (05:16 +0000)]
Merge "[ATSPI] Add a function to check whether accessibility is enabled" into devel/master

2 years agoFix activate window list bug for aurum 39/262839/2
Wonsik Jung [Fri, 20 Aug 2021 10:34:26 +0000 (19:34 +0900)]
Fix activate window list bug for aurum

When application is closed, deactivate signal is not emitted.
To fix, deactivated signal's emitting is in application's destructor.
It is temporary solution.

Change-Id: I61040570ae65730e988d8d880db7198e56441e13

2 years ago[ATSPI] Add a function to check whether accessibility is enabled 61/262961/2
Seoyeon Kim [Tue, 24 Aug 2021 04:48:30 +0000 (13:48 +0900)]
[ATSPI] Add a function to check whether accessibility is enabled

- Added `IsEnabled()` to check accessibility state

Change-Id: I18153b3570b6a20f8af37e86c9e71ba1ea733d89
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
2 years agoRemove unused custom shader prefix method 83/262883/2
seungho [Mon, 23 Aug 2021 05:15:19 +0000 (14:15 +0900)]
Remove unused custom shader prefix method

Change-Id: I7e376ba6d4ac9250d7b6971476514086d16cd454
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoAdd input region APIs 32/262232/11
Wonsik Jung [Wed, 4 Aug 2021 23:10:13 +0000 (08:10 +0900)]
Add input region APIs

Add input region APIs about including and excluding.

Change-Id: I12f3fa15bbdf311aa5b51e56b16bbd993e1726e1

2 years agoDALi Version 2.0.40 42/262842/1 dali_2.0.40
David Steele [Fri, 20 Aug 2021 11:18:41 +0000 (12:18 +0100)]
DALi Version 2.0.40

Change-Id: Idc1c929465a1ad07f4481937139b2c8da2501534

2 years agoFix static analysis issue 71/262571/2
Heeyong Song [Fri, 13 Aug 2021 08:32:42 +0000 (17:32 +0900)]
Fix static analysis issue

Should return unsigned int type.

Change-Id: I863f772e9542f176465acc8ba70553daf2b5c311

2 years agoChange window visibility changed signal 05/262705/1
Heeyong Song [Wed, 18 Aug 2021 07:20:55 +0000 (16:20 +0900)]
Change window visibility changed signal

Emit window visibility changed signal before the adaptor is paused / resumed
to ensure messages queued during the callback are processed.

Change-Id: I34917dcfa274f31c5e372ccdaa74bb98156d9857

2 years agoMerge "Clipboard: fix integer underflow" into devel/master
Bowon Ryu [Tue, 17 Aug 2021 01:03:22 +0000 (01:03 +0000)]
Merge "Clipboard: fix integer underflow" into devel/master

2 years agoMerge "DALi Version 2.0.39" into devel/master
David Steele [Fri, 13 Aug 2021 13:03:54 +0000 (13:03 +0000)]
Merge "DALi Version 2.0.39" into devel/master

2 years agoDALi Version 2.0.39 90/262590/1 dali_2.0.39
Adeel Kazmi [Fri, 13 Aug 2021 12:46:32 +0000 (13:46 +0100)]
DALi Version 2.0.39

Change-Id: Ic74ee71fc4093781d2d531400d72afd96dd2b250

2 years agoClipboard: fix integer underflow 84/262584/1
Bowon Ryu [Fri, 13 Aug 2021 09:56:35 +0000 (18:56 +0900)]
Clipboard: fix integer underflow

GetCount() returns an int, but NumberOfItems() returns an unsigned int.
If GetCount() returns a negative number, NumberOfItems() may return an unintended value.
There is also the risk of underflow.

Change-Id: I8db63963257c616b7a281c14b1c8f2480fbdc91e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoCanvasRenderer: Do not use c-style type cast 28/262528/1
JunsuChoi [Fri, 13 Aug 2021 01:40:29 +0000 (10:40 +0900)]
CanvasRenderer: Do not use c-style type cast

changed to static_cast or const_cast

Change-Id: I64ea9cee3b6f0fa2cde3a0445427ac3c10d361cb

2 years agoCanvasRenderer::Shape: Add AddPath() Api 73/262073/6
JunsuChoi [Mon, 2 Aug 2021 08:51:16 +0000 (17:51 +0900)]
CanvasRenderer::Shape: Add AddPath() Api

Adds an API that adds a large path information.
The PathCommands structure has a PathCommandType array, a Point array
and the number of each array.

ex)
//Prepare Path Commands
Dali::CanvasRenderer::Shape::PathCommandType commands[11];
commands[0] = Dali::CanvasRenderer::Shape::PathCommandType::MOVE_TO;
commands[1] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[2] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[3] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[4] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[5] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[6] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[7] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[8] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[9] = Dali::CanvasRenderer::Shape::PathCommandType::LINE_TO;
commands[10] = Dali::CanvasRenderer::Shape::PathCommandType::CLOSE;

//Prepare Path Points
float points[20] = {-1.0f, -165.0f,
                    53.0f, -56.0f,
                    174.0f, -39.0f,
                    87.0f, 45.0f,
                    107.0f, 166.0f,
                    -1.0f, 110.0f,
                    -103.0f, 166.0f,
                    -88.0f, 46.0f,
                    -174.0f, -38.0f,
                    -54.0f, -56.0f};

Dali::CanvasRenderer::Shape::PathCommands starPath = { commands, 11, points, 20 };

Dali::CanvasRenderer::Shape star = Dali::CanvasRenderer::Shape::New();
star.AddPath(starPath);
mCanvasView.AddDrawable(star);

Change-Id: I36cea22b1e80bfe2182cdb7fb2a8e262523c2a4f

2 years agoMerge "CanvasRenderer:: Add Picture class" into devel/master
junsu choi [Fri, 13 Aug 2021 00:25:36 +0000 (00:25 +0000)]
Merge "CanvasRenderer:: Add Picture class" into devel/master

2 years agoMerge "CanvasRenderer: Change GetSize() method to const" into devel/master
junsu choi [Fri, 13 Aug 2021 00:14:47 +0000 (00:14 +0000)]
Merge "CanvasRenderer: Change GetSize() method to const" into devel/master

2 years agoMerge "CanvasRenderer: Add Gradient, LinearGradient, RadialGradient classes" into...
junsu choi [Fri, 13 Aug 2021 00:08:38 +0000 (00:08 +0000)]
Merge "CanvasRenderer: Add Gradient, LinearGradient, RadialGradient classes" into devel/master

2 years agoCanvasRenderer:: Add Picture class 65/261765/6
JunsuChoi [Mon, 26 Jul 2021 01:46:26 +0000 (10:46 +0900)]
CanvasRenderer:: Add Picture class

Add Picture class to rasterize Image to canvas with vector primitive.

ex)
Dali::CanvasRenderer::Picture picture = Dali::CanvasRenderer::Picture::New();
picture.Load(IMAGE_PATH);
picture.SetSize(Vector2(100, 400));
CanvasView.AddDrawable(picture);

Change-Id: I5a74a3b8baef206893aa1cf2a6559b6cf854707b

2 years agoMerge "CanvasRenderer::DrawableGroup: Add RemoveDrawable() API" into devel/master
junsu choi [Wed, 11 Aug 2021 01:00:13 +0000 (01:00 +0000)]
Merge "CanvasRenderer::DrawableGroup: Add RemoveDrawable() API" into devel/master

2 years agoMerge "CanvasRenderer::Shape: Remove unnecessary header" into devel/master
junsu choi [Wed, 11 Aug 2021 01:00:01 +0000 (01:00 +0000)]
Merge "CanvasRenderer::Shape: Remove unnecessary header" into devel/master

2 years agoCanvasRenderer::DrawableGroup: Add RemoveDrawable() API 44/262044/3
JunsuChoi [Mon, 2 Aug 2021 05:24:18 +0000 (14:24 +0900)]
CanvasRenderer::DrawableGroup: Add RemoveDrawable() API

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

Change-Id: I0fc908d5282e9bd7297670a66554d1500e2f262f

2 years agoMerge "DALi Version 2.0.38" into devel/master
Adeel Kazmi [Fri, 6 Aug 2021 10:28:03 +0000 (10:28 +0000)]
Merge "DALi Version 2.0.38" into devel/master

2 years agoDALi Version 2.0.38 14/262314/1 dali_2.0.38
Richard Huang [Fri, 6 Aug 2021 09:47:45 +0000 (10:47 +0100)]
DALi Version 2.0.38

Change-Id: I2f9d0c81cc035ffed5b7344a6279251787bde18f

2 years agoCanvasRenderer: Add Gradient, LinearGradient, RadialGradient classes 17/261217/15
JunsuChoi [Tue, 13 Jul 2021 06:12:31 +0000 (15:12 +0900)]
CanvasRenderer: Add Gradient, LinearGradient, RadialGradient classes

Add Gradient, LinearGradient, and RadialGradient classes that
implement Linear and Radial Gradient features.
Each Gradient can be applied to Fill and Stroke of Shape after
setting Bounds and ColorStop suitable for style.

ex)
//Radial Gradient with Fill color
Dali::CanvasRenderer::RadialGradient radial = Dali::CanvasRenderer::RadialGradient::New();
Dali::Vector<Dali::CanvasRenderer::Gradient::ColorStop> stops;
stops.PushBack( {0.0f, Vector4(1.0f, 0.0f, 1.0f, 1.0f)} );
stops.PushBack( {1.0f, Vector4(0.5f, 1.0f, 0.0f, 1.0f)} );

radial.SetBounds(Vector2(110, 100), 50);
radial.SetColorStops(stops);
shape.SetFillGradient(radial);

//Linear Gradient with Stroke color
Dali::CanvasRenderer::LinearGradient linear = Dali::CanvasRenderer::LinearGradient::New();
Dali::Vector<Dali::CanvasRenderer::Gradient::ColorStop> stops;
stops.PushBack( {0.0f, Vector4(1.0f, 0.0f, 1.0f, 1.0f)} );
stops.PushBack( {1.0f, Vector4(0.5f, 1.0f, 0.0f, 1.0f)} );

linear.SetBounds(Vector2(10, 10), Vector2(100, 100));
linear.SetColorStops(stops);
shape.SetStrokeGradient(linear);

Change-Id: I747614bf1c6bcd59f30a74a23c4001cfdfe19d1a

2 years agoMerge "Add SetTapMaximumAllowedTime" into devel/master
joogab yun [Fri, 6 Aug 2021 04:50:26 +0000 (04:50 +0000)]
Merge "Add SetTapMaximumAllowedTime" into devel/master

2 years agoMerge "[ATSPI] Fix for SCREEN coordinate type in GetExtents" into devel/master
Eunki Hong [Fri, 6 Aug 2021 03:46:23 +0000 (03:46 +0000)]
Merge "[ATSPI] Fix for SCREEN coordinate type in GetExtents" into devel/master

2 years agoAdd SetTapMaximumAllowedTime 70/261670/7
joogab.yun [Thu, 22 Jul 2021 08:34:19 +0000 (17:34 +0900)]
Add SetTapMaximumAllowedTime

Sets the MaximumAllowedTime of the tap gesture as an environment variable.

Change-Id: I465a41c39cce8ec5e67b85bc014f5b1063e20710

2 years agoFix to build incrementally with gbs 77/260077/3
Daekwang Ryu [Thu, 17 Jun 2021 09:03:47 +0000 (18:03 +0900)]
Fix to build incrementally with gbs

Incremental build with gbs calls the prep section in the rpm spec once.
It doesn't execute the section from second.

Change-Id: I20f7f48464e0c2823fd69e79794bb580ba6192a9

2 years agoCanvasRenderer::Shape: Remove unnecessary header 86/261986/2
JunsuChoi [Fri, 30 Jul 2021 04:46:35 +0000 (13:46 +0900)]
CanvasRenderer::Shape: Remove unnecessary header

connection-tracker.h is unused

Change-Id: I483be0491446f6f3cb7587642c5b11d829dc7baf

2 years agoCanvasRenderer: Change GetSize() method to const 45/262245/1
JunsuChoi [Thu, 5 Aug 2021 04:52:02 +0000 (13:52 +0900)]
CanvasRenderer: Change GetSize() method to const

Change-Id: I279b3aee1b8586e6eb216c4e39e59eb8547bfc31

2 years agoChange ColorDepth to ColorFormat in NativeImageSourceQueue 58/262058/5
Daekwang Ryu [Mon, 2 Aug 2021 06:40:58 +0000 (15:40 +0900)]
Change ColorDepth to ColorFormat in NativeImageSourceQueue

To clarify, ColorDepth enum changed to ColorFormat.

Change-Id: Id79463561ce8416e09a294ad501d53bbdb1d6fb5

2 years ago[ATSPI] Fix for SCREEN coordinate type in GetExtents 65/261965/2
Lukasz Oleksak [Thu, 29 Jul 2021 19:06:58 +0000 (21:06 +0200)]
[ATSPI] Fix for SCREEN coordinate type in GetExtents

Change-Id: Iacb43e0ec0799b73a433bc56bf32f4bfccc86255

2 years agoMerge "Fix comments of encoded image buffer" into devel/master
Eunki Hong [Mon, 2 Aug 2021 10:15:06 +0000 (10:15 +0000)]
Merge "Fix comments of encoded image buffer" into devel/master

2 years agoCanvasRenderer: Change name DrawableGroup::Clear() to RemoveAllDrawables() 39/262039/1
JunsuChoi [Mon, 2 Aug 2021 04:19:30 +0000 (13:19 +0900)]
CanvasRenderer: Change name DrawableGroup::Clear() to RemoveAllDrawables()

Since the method name of the same concept in CanvasRenderer is used as
'RemoveAllDrawables', change it to maintain the concept.

Change-Id: I772f07ab437f96554696b4ac9be65a93195337fd

2 years agoImplemented VAO for GLES3+ 01/261901/6
Adam Bialogonski [Wed, 28 Jul 2021 14:03:02 +0000 (15:03 +0100)]
Implemented VAO for GLES3+

Change-Id: I6bc68271afaf07a3066a14d696e6d26db640b4a8

2 years agoDALi Version 2.0.37 02/262002/1 dali_2.0.37
Adam Bialogonski [Fri, 30 Jul 2021 10:21:43 +0000 (11:21 +0100)]
DALi Version 2.0.37

Change-Id: I3533aba5d4ca2acdbbc0e68972d7614ec9a27843

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

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

2 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

2 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

2 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

2 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

2 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

2 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

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

2 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

2 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

2 years agoFix comments of encoded image buffer 27/261327/2
Eunki Hong [Thu, 15 Jul 2021 09:10:16 +0000 (02:10 -0700)]
Fix comments of encoded image buffer

Remove some uneccessary comments of encoded image buffer
and note that raw buffer will be copied inside.

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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

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

2 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

2 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

2 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

2 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

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