platform/core/uifw/dali-core.git
3 years agoProtect dereferencing null in Node 18/265418/1
Heeyong Song [Tue, 19 Oct 2021 04:17:17 +0000 (13:17 +0900)]
Protect dereferencing null in Node

Change-Id: I60506f563fefc31c9c70b7067fc45f91d6929b96

3 years agoSkip rendering if the damaged rect is empty 99/265199/5
Heeyong Song [Tue, 12 Oct 2021 14:41:28 +0000 (23:41 +0900)]
Skip rendering if the damaged rect is empty

Change-Id: I9424cf079d68a4afd00fda11a5e01d740be8155a

3 years agoDALi Version 2.0.48 50/265350/1 dali_2.0.48
Richard Huang [Fri, 15 Oct 2021 09:43:41 +0000 (10:43 +0100)]
DALi Version 2.0.48

Change-Id: I1ba13133446071912493467c53f22ba7573eed68

3 years agoMerge "Adding photoshop blend modes to the GFX API" into devel/master
Adeel Kazmi [Fri, 8 Oct 2021 17:46:04 +0000 (17:46 +0000)]
Merge "Adding photoshop blend modes to the GFX API" into devel/master

3 years agoDALi Version 2.0.47 94/265094/1 dali_2.0.47
David Steele [Fri, 8 Oct 2021 13:54:22 +0000 (14:54 +0100)]
DALi Version 2.0.47

Change-Id: Ie0ca363284bc1ed55f9cc02359cd7730d20c2e9f

3 years agoAdding photoshop blend modes to the GFX API 46/265046/3
David Steele [Thu, 7 Oct 2021 16:41:34 +0000 (17:41 +0100)]
Adding photoshop blend modes to the GFX API

Change-Id: I9274f02b9e0098ebc06caa4c569944624bc56030

3 years agoDALi Version 2.0.46 80/264880/1 dali_2.0.46
Adeel Kazmi [Fri, 1 Oct 2021 17:22:50 +0000 (18:22 +0100)]
DALi Version 2.0.46

Change-Id: I9c473ddd86cd66ded7dc18d19cd143fa4d6e193c

3 years agoPrevent unused attributes from binding bad location 26/264826/1
David Steele [Thu, 30 Sep 2021 09:29:43 +0000 (10:29 +0100)]
Prevent unused attributes from binding bad location

Change-Id: I2655aa8d6e2fb42cc2aed1f06ce91cd05dc37b5d

3 years agoAdd Default Uniform : uActorColor 70/264570/2
Eunki, Hong [Fri, 24 Sep 2021 11:26:14 +0000 (20:26 +0900)]
Add Default Uniform : uActorColor

Previously, DevelRenderer always merged into uColor.a value.
When we use Borderline feature, it will occure some problems.

This patch add one more default uniform : named "uActorColor"
So now we can split MIX_COLOR.a and Actor::COLOR.a

Change-Id: Ib74731fab0bca87fd3970abb8e4f290a09c45e88
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoDALi Version 2.0.45 48/264548/1 dali_2.0.45
Adam Bialogonski [Fri, 24 Sep 2021 08:47:34 +0000 (09:47 +0100)]
DALi Version 2.0.45

Change-Id: I002cb962e0df531e8fd3f5edcdfbf14f6aae2d91

3 years agoDALi Version 2.0.44 32/264432/1 dali_2.0.44
Richard Huang [Fri, 17 Sep 2021 10:42:04 +0000 (11:42 +0100)]
DALi Version 2.0.44

Change-Id: Ic23ea29b6caa984854d00ed525c4b3181ff66f36

3 years agoPerform AABB test in the viewport space for renderers when not processing a 3D layer 13/263213/14
Richard Huang [Fri, 27 Aug 2021 17:26:18 +0000 (18:26 +0100)]
Perform AABB test in the viewport space for renderers when not processing a 3D layer

Change-Id: Ib95e9fb1a4c0c4dd7b8ef8260ab9cbe2f4c3c706

3 years ago(dali_env) Install the correct package depending on the Ubuntu version 47/264147/3
Adeel Kazmi [Mon, 13 Sep 2021 17:29:33 +0000 (18:29 +0100)]
(dali_env) Install the correct package depending on the Ubuntu version

Change-Id: I007d91f7e6f38abfd387c8bd4bd86a578959289f

3 years agoMerge "Enable assert always in Dali::Vector" into devel/master
Heeyong Song [Mon, 13 Sep 2021 03:03:52 +0000 (03:03 +0000)]
Merge "Enable assert always in Dali::Vector" into devel/master

3 years agoMerge "DALi Version 2.0.43" into devel/master
Adeel Kazmi [Fri, 10 Sep 2021 15:24:12 +0000 (15:24 +0000)]
Merge "DALi Version 2.0.43" into devel/master

3 years agoDALi Version 2.0.43 40/263840/1 dali_2.0.43
David Steele [Fri, 10 Sep 2021 15:20:34 +0000 (16:20 +0100)]
DALi Version 2.0.43

Change-Id: I7a05dbf8094a9348cb16cf68861f45883b3c3623

3 years agoEnable assert always in Dali::Vector 39/263739/2
Heeyong Song [Thu, 9 Sep 2021 05:39:34 +0000 (14:39 +0900)]
Enable assert always in Dali::Vector

Change-Id: I1bcc79fd84665d4a127f9572e89fa9331542bd86

3 years agoAdd BlendMode::ON_WITHOUT_CULL to keep rendering even Transparent. 69/263369/5
Eunki Hong [Wed, 1 Sep 2021 07:35:59 +0000 (00:35 -0700)]
Add BlendMode::ON_WITHOUT_CULL to keep rendering even Transparent.

Previously, DevelRenderer always merged into uColor.a value.
This situation usally have no problem.

But when we want to use both MIX_COLOR and BORDERLINE_COLOR
there was no way to split Actor's opacity and MIX_COLOR's opacity.
So BORDERLINE_COLOR.a is always pre-multiplired by MIX_COLOR.a.
And also, when MIX_COLOR.a is zero, There is no way to render BORDERLINE only.

This patch try to fix this issue.

First, Add some flag keep-rendering logic.
Second, Turn on that flag only if borderline required (dali-toolkit)
Third, Add new custom uniform which have same value with actor's color (dali-toolkit)

Change-Id: I7115ecfa252eaaa862e4115b7fb41f208ca7026f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
3 years agoDALi Version 2.0.42 95/263495/1 dali_2.0.42
Adeel Kazmi [Fri, 3 Sep 2021 15:04:09 +0000 (16:04 +0100)]
DALi Version 2.0.42

Change-Id: I3cf99a2cb04241eaecb1123d32ffe1f9bbf96c80

3 years agoFix SVACE error in tap-gesture-detector-impl.cpp 44/263444/1
Adeel Kazmi [Thu, 2 Sep 2021 09:36:54 +0000 (10:36 +0100)]
Fix SVACE error in tap-gesture-detector-impl.cpp

Change-Id: I7699e9ead0867c86b32ef795a22d0f168e2f4091

3 years agoMerge "Add KEYBOARD_FOCUSABLE_CHILDREN property. Whether the children of this actor...
joogab yun [Mon, 30 Aug 2021 05:07:22 +0000 (05:07 +0000)]
Merge "Add KEYBOARD_FOCUSABLE_CHILDREN property. Whether the children of this actor can be focusable by keyboard navigation." into devel/master

3 years agoFix SVACE errors in Graphics Backend 03/263203/1
Adeel Kazmi [Fri, 27 Aug 2021 12:25:23 +0000 (13:25 +0100)]
Fix SVACE errors in Graphics Backend

Change-Id: I64b21bef750b84777af3c2438ba3f853c7c416db

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

3 years agoDALi Version 2.0.41 85/263185/1 dali_2.0.41
Adam Bialogonski [Fri, 27 Aug 2021 09:49:13 +0000 (10:49 +0100)]
DALi Version 2.0.41

Change-Id: I2d78b35b5fe72003d9a35f890e0f9073c1b8ce19

3 years agoAdd KEYBOARD_FOCUSABLE_CHILDREN property. 62/262762/6
joogab.yun [Thu, 19 Aug 2021 08:18:21 +0000 (17:18 +0900)]
Add KEYBOARD_FOCUSABLE_CHILDREN property.
Whether the children of this actor can be focusable by keyboard navigation.

Change-Id: I9a2093aeb9bb0a4c3ace6dcb888cbe8b1b1cfd28

3 years agoAdd ReceiveAllTapEvents(bool) 83/262983/6
joogab.yun [Tue, 24 Aug 2021 07:57:08 +0000 (16:57 +0900)]
Add ReceiveAllTapEvents(bool)

If MaximumTaps is greater than MinimumTaps, the event is sent by checking whether it is the correct single tap or multi tap.
However, there are cases when I want to receive all tap events without these checks.

Change-Id: Icad048eec6f87b6a0efca9907904afecee70fe08

3 years agoMerge "Remove unused custom shader prefix method" into devel/master
Adeel Kazmi [Tue, 24 Aug 2021 18:01:24 +0000 (18:01 +0000)]
Merge "Remove unused custom shader prefix method" into devel/master

3 years agoRemove unused custom shader prefix method 84/262884/1
seungho [Mon, 23 Aug 2021 05:14:14 +0000 (14:14 +0900)]
Remove unused custom shader prefix method

Change-Id: I1f9fe11db6e4d4ba324122deff111d3b66537224
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMerge "Fix PropertyNotification issue" into devel/master
Heeyong Song [Mon, 23 Aug 2021 04:59:13 +0000 (04:59 +0000)]
Merge "Fix PropertyNotification issue" into devel/master

3 years agoMerge "Fix static analysis issue" into devel/master
Adeel Kazmi [Fri, 20 Aug 2021 17:03:06 +0000 (17:03 +0000)]
Merge "Fix static analysis issue" into devel/master

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

Change-Id: Iccbc8b899c20eed780b838e9003903886ba8ee1e

3 years agoFix static analysis issue 68/262568/3
Heeyong Song [Fri, 13 Aug 2021 08:21:41 +0000 (17:21 +0900)]
Fix static analysis issue

- The type of pixelDataType is unsigned.

Change-Id: I13e7b2fa79217bfd6502164f5957a02f6a0cb6ac

3 years agoFix PropertyNotification issue 83/262683/1
Heeyong Song [Wed, 18 Aug 2021 01:21:12 +0000 (10:21 +0900)]
Fix PropertyNotification issue

Compare each component value for Vector3

Change-Id: I82ea7661a5bbaee24b0d5cfaf7d306e5d9d04d04

3 years agoDALi Version 2.0.39 89/262589/1 dali_2.0.39
Adeel Kazmi [Fri, 13 Aug 2021 12:46:16 +0000 (13:46 +0100)]
DALi Version 2.0.39

Change-Id: I2a73948f85d537a96da37965941a6920c20ce9c7

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

3 years agoDALi Version 2.0.38 13/262313/1 dali_2.0.38
Richard Huang [Fri, 6 Aug 2021 09:47:31 +0000 (10:47 +0100)]
DALi Version 2.0.38

Change-Id: I42ba89fcdf6d54efd2996eb397232dad919b9756

3 years agoAdd SetTapMaximumAllowedTime 69/261669/14
joogab.yun [Thu, 22 Jul 2021 08:33:32 +0000 (17:33 +0900)]
Add SetTapMaximumAllowedTime

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

Change-Id: Ic506a936171860aeb4c5e6e96fcdc9fa244c64f1

3 years ago1. Revert "Sets the tap gesture timer to 330ms." 38/261938/12
joogab.yun [Thu, 29 Jul 2021 17:09:43 +0000 (02:09 +0900)]
1. Revert "Sets the tap gesture timer to 330ms."

2. Revert "Add Timer at TapGestureRecognizer"

3. Add Timer at TapGestureDetector

   Currently, when double tap operation is performed,
   single tap and double tap are always transmitted together.

   So, when single and double taps are required, then after one tap, we wait for the timeout,
   if the timeout happens, then we emit the single-tap,
   if we tap again during this time, then we emit a double-tap instead.

Change-Id: Iac7cfd964a3f9d58593325e85841d2a6ee53b9ac

3 years agoDALi Version 2.0.37 01/262001/1 dali_2.0.37
Adam Bialogonski [Fri, 30 Jul 2021 10:21:27 +0000 (11:21 +0100)]
DALi Version 2.0.37

Change-Id: I24e3f60f5107e633121ca19f930f1e2af000cbd3

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

Change-Id: I769463aa45227b6c375765afa426fc42adaf4274

3 years agoMoved SetUpdate propagation to UpdateNodes 83/261583/1
David Steele [Wed, 21 Jul 2021 15:25:55 +0000 (16:25 +0100)]
Moved SetUpdate propagation to UpdateNodes

Change-Id: I6c8f7be591e23a9fd776665d0fc074353fa027ee

3 years agoMerge "Changed RenderDataProvider to remove copy" into devel/master
Adeel Kazmi [Wed, 21 Jul 2021 12:15:40 +0000 (12:15 +0000)]
Merge "Changed RenderDataProvider to remove copy" into devel/master

3 years agoMerge "Just block notifying OnScene and OffScene callback during SwithParent." into...
Seungho BAEK [Wed, 21 Jul 2021 06:30:13 +0000 (06:30 +0000)]
Merge "Just block notifying OnScene and OffScene callback during SwithParent." into devel/master

3 years agoMerge "Add ApplyCustomFragmentPrefix" into devel/master
Heeyong Song [Wed, 21 Jul 2021 06:23:35 +0000 (06:23 +0000)]
Merge "Add ApplyCustomFragmentPrefix" into devel/master

3 years agoChanged RenderDataProvider to remove copy 29/261529/1
David Steele [Tue, 20 Jul 2021 17:21:05 +0000 (18:21 +0100)]
Changed RenderDataProvider to remove copy

Previously, RenderDataProvider had it's own data, and
we copied in texture & sampler ptrs whenever texture changed.
Changed RenderDataProvider to a pure interface with no data.

Changed to make SceneGraph::Renderer a RenderDataProvider,
and removed copies & TextureSet observers.

Change-Id: I6f19fc667f0abafd07b29c664dec316f86e88ebb
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoSets the tap gesture timer to 330ms. 89/261489/2
Joogab Yun [Tue, 20 Jul 2021 05:06:54 +0000 (14:06 +0900)]
Sets the tap gesture timer to 330ms.

Change-Id: I57bf55b7f4a8783699e263516872fd6d427366b3

3 years agoMerge changes I6d6c0232,I6667d1d6,I43e227fc into devel/master
David Steele [Mon, 19 Jul 2021 09:24:29 +0000 (09:24 +0000)]
Merge changes I6d6c0232,I6667d1d6,I43e227fc into devel/master

* changes:
  Removed memcpy() from uniform write
  Uniform data cached locally in the uniform map
  Updating geometry without iterating render items

3 years agoAdd Timer at TapGestureRecognizer 45/260645/14
Joogab Yun [Wed, 30 Jun 2021 07:06:18 +0000 (16:06 +0900)]
Add Timer at TapGestureRecognizer

Currently, when double tap operation is performed,
single tap and double tap are always transmitted together.

So, when single and double taps are required, then after one tap, we wait for the timeout,
if the timeout happens, then we emit the single-tap,
if we tap again during this time, then we emit a double-tap instead.

Change-Id: I4a5faecc8cf1cc50734b51ad1701e4823c44baab

3 years agoJust block notifying OnScene and OffScene callback during SwithParent. 30/261430/1
seungho [Mon, 12 Jul 2021 10:12:40 +0000 (19:12 +0900)]
Just block notifying OnScene and OffScene callback during SwithParent.

 - Currently, during SwitchParent, too many works were blocked
   such as changing node hierarchy and changing tree depth.
 - This patch just block only notifying OnScene and OffScene signal and callback.

Change-Id: I642bd22d7886933d5999fcd73d31eda8892e6fbe
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMerge "DALi Version 2.0.35" into devel/master
Adeel Kazmi [Fri, 16 Jul 2021 09:33:31 +0000 (09:33 +0000)]
Merge "DALi Version 2.0.35" into devel/master

3 years agoMerge "Revert "Correctly aging renderer uniformMap"" into devel/master
Adeel Kazmi [Fri, 16 Jul 2021 09:30:29 +0000 (09:30 +0000)]
Merge "Revert "Correctly aging renderer uniformMap"" into devel/master

3 years agoDALi Version 2.0.35 93/261393/1 dali_2.0.35
David Steele [Fri, 16 Jul 2021 09:28:59 +0000 (10:28 +0100)]
DALi Version 2.0.35

Change-Id: I79e64f40c6c1051bf6f2fe05d57ca45f0cd860b2

3 years agoRemoved memcpy() from uniform write 57/261157/4
Adam Bialogonski [Mon, 12 Jul 2021 11:58:30 +0000 (12:58 +0100)]
Removed memcpy() from uniform write

memcpy() replaced by word-size writes.

Change-Id: I6d6c02327424fac69beec4b98ef547076775aecf

3 years agoUniform data cached locally in the uniform map 01/260901/8
Adam Bialogonski [Thu, 15 Jul 2021 15:41:53 +0000 (16:41 +0100)]
Uniform data cached locally in the uniform map

Change-Id: I6667d1d63cafb949f1553318f9b2233d886903df

3 years agoUpdating geometry without iterating render items 40/260840/7
Adam Bialogonski [Fri, 16 Jul 2021 08:54:29 +0000 (09:54 +0100)]
Updating geometry without iterating render items

Change-Id: I43e227fc5ef0b88adc08af298d7f8742f5ecfaa8

3 years agoGesture is interrupted if even one of several views is consumed. 48/258748/5
Joogab Yun [Tue, 25 May 2021 06:15:50 +0000 (15:15 +0900)]
Gesture is interrupted if even one of several views is consumed.

This is a problem for backward-compatibility.

So, I remove the code that interrupts Gesture when the touch event is consumed

Change-Id: I01379cffb8edbfa1b82cdb585c08517752f64335

3 years agoRevert "Correctly aging renderer uniformMap" 62/261162/2
Adeel Kazmi [Mon, 12 Jul 2021 15:50:49 +0000 (15:50 +0000)]
Revert "Correctly aging renderer uniformMap"

This reverts commit 66d2e8abd97025440598b6cb7da0ba68e21348c8.

Change-Id: I9ffb1ad3a782854f45d27f0545cd8fa9536895ce

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

Change-Id: I182c3bc2ae54579272df1e8a1f75f6f3304849e1

3 years agoReflection GetSamplers() returns const ref 09/260909/5
Adam Bialogonski [Tue, 6 Jul 2021 14:32:47 +0000 (15:32 +0100)]
Reflection GetSamplers() returns const ref

Change-Id: I41dfbc9269f375c193d5f9c1c6d56d74c64368ca

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

Change-Id: Iee7b41cbf1ccda9639a1f9a1c1726acec41c9115

3 years agoAdd ApplyCustomFragmentPrefix 08/260408/5
seungho [Thu, 24 Jun 2021 07:11:20 +0000 (16:11 +0900)]
Add ApplyCustomFragmentPrefix

 - Apply suitable prefix for the native image fragment shader

Change-Id: I86b34a3086e1326b0568cc1ac1a3a37e6c8c37b0
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoOptimized program retrieval from the cache 39/260339/5
Adam Bialogonski [Fri, 25 Jun 2021 14:25:48 +0000 (15:25 +0100)]
Optimized program retrieval from the cache

Change-Id: I6dda5244b32a2cc5c21285673d7a125cd36caaee

3 years agoAdded local pipeline cache on the dali-core side 59/260259/9
Adam Bialogonski [Fri, 25 Jun 2021 14:11:14 +0000 (15:11 +0100)]
Added local pipeline cache on the dali-core side

Change-Id: I29865baefea49d9e8856663a43381ff2d16e6e13

3 years agoSimplified uniform write 83/260183/7
Adam Bialogonski [Fri, 25 Jun 2021 14:18:57 +0000 (15:18 +0100)]
Simplified uniform write

Change-Id: I9e9871ccdc9a18c7624ce97ef9611cdf072bd58c

3 years agoRemoved 'bindings' parameter from WriteUniform() functions 82/260182/4
Adam Bialogonski [Mon, 21 Jun 2021 11:05:05 +0000 (12:05 +0100)]
Removed 'bindings' parameter from WriteUniform() functions

Change-Id: Id04fcbcf0822f062ed385b3d9dfa02286e1f63bf

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

Change-Id: I9e46086707ee0734b654bb87b5c5cf8823b20d8b

3 years agoCorrectly aging renderer uniformMap 51/260251/1
David Steele [Tue, 22 Jun 2021 11:09:21 +0000 (12:09 +0100)]
Correctly aging renderer uniformMap

Change-Id: Ie3378269d8f4c6b84b4a17b2c730806b7245c20f

3 years agoMerge "Removing GL usage from dali core" into devel/master
Adeel Kazmi [Tue, 22 Jun 2021 10:42:51 +0000 (10:42 +0000)]
Merge "Removing GL usage from dali core" into devel/master

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

3 years agoDALi Version 2.0.31 93/260093/1 dali_2.0.31
David Steele [Fri, 18 Jun 2021 10:37:56 +0000 (11:37 +0100)]
DALi Version 2.0.31

Change-Id: I035176ecaccc7fbb8c0a1b6b0d1c1f95c7f14a94

3 years agoFix window/screen rotation issue. 09/259309/7
Wonsik Jung [Fri, 4 Jun 2021 06:39:56 +0000 (15:39 +0900)]
Fix window/screen rotation issue.

Fix window/screen rotation issue when scissor clipping is used.

Change-Id: I2a8e6dbfcc30e36551e6a8640499d98cf05b26c9

3 years agoRemoving GL usage from dali core 01/260001/1
David Steele [Thu, 17 Jun 2021 09:48:28 +0000 (10:48 +0100)]
Removing GL usage from dali core

Removed texture dependency syncing from render manager
(Not used/useful, needs to be re-implemented in graphics impl
differently)

Removed usages of glconfighelper, removed references to GL, GL defines
and GL types.

Cleaned up includes.

Change-Id: I85b76d2c1714e7993ec13b558a3c971c7b5f2a68
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge "Add TOUCH_FOCUSABLE property" into devel/master
joogab yun [Tue, 15 Jun 2021 05:35:25 +0000 (05:35 +0000)]
Merge "Add TOUCH_FOCUSABLE property" into devel/master

3 years agoMerge "Add input source type to TapGesture. This is similar to MouseButton in TouchEv...
joogab yun [Tue, 15 Jun 2021 05:34:55 +0000 (05:34 +0000)]
Merge "Add input source type to TapGesture. This is similar to MouseButton in TouchEvent." into devel/master

3 years agoMerge "Fixed depth/stencil renderbuffer attachments" into devel/master
Adeel Kazmi [Fri, 11 Jun 2021 11:43:33 +0000 (11:43 +0000)]
Merge "Fixed depth/stencil renderbuffer attachments" into devel/master

3 years agoMerge "DALi Version 2.0.30" into devel/master
David Steele [Fri, 11 Jun 2021 10:45:28 +0000 (10:45 +0000)]
Merge "DALi Version 2.0.30" into devel/master

3 years agoMerge "Add SwitchParent api in actor-devel" into devel/master
Seungho BAEK [Fri, 11 Jun 2021 10:36:29 +0000 (10:36 +0000)]
Merge "Add SwitchParent api in actor-devel" into devel/master

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

Change-Id: Ifbed5cc644dfecd305b23fe9ae60f1308717badb

3 years agoAdd TOUCH_FOCUSABLE property 58/259258/15
Joogab Yun [Thu, 3 Jun 2021 06:43:05 +0000 (15:43 +0900)]
Add TOUCH_FOCUSABLE property

This is a property that allows you to have focus even when touched.

It works only when KEYBOARD_FOCUSABLE is set to true.

KEYBOARD_FOCUSABLE :  whether the view can have focus or not
TOUCH_FOCUSABLE    :  Whether the user can focus by touch

Change-Id: Id991d7a0bd734718164b874f013e24235476e789

3 years agoFixed depth/stencil renderbuffer attachments 63/259663/1
David Steele [Thu, 10 Jun 2021 17:15:09 +0000 (18:15 +0100)]
Fixed depth/stencil renderbuffer attachments

If no depth or depth/stencil texture was attached, but depth/stencil
attachment was requested on initialization, then the renderbuffer
attachments weren't being created.

Added usage flags to the Graphics::DepthStencilAttachment to indicate
when RenderBuffers are required.

Also, the load/clear ops were set incorrectly for depth/stencil,
so each renderpass wasn't working as intended.

Change-Id: I6a77bf67628a7225007ab40bef31ffa271023f1f
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoAdd input source type to TapGesture. 77/259077/13
Joogab Yun [Tue, 1 Jun 2021 02:00:53 +0000 (11:00 +0900)]
Add input source type to TapGesture.
This is similar to MouseButton in TouchEvent.

Now, you can see from which input the tap was made.

Change-Id: I80800ebd805e283581486d76d046b5e269cbb8ba

3 years agoAdd ETC2_EAC compressed texture format 62/259362/1
Heeyong Song [Mon, 7 Jun 2021 00:48:50 +0000 (09:48 +0900)]
Add ETC2_EAC compressed texture format

Change-Id: I70801783da355a28f17004cf507381774ecfb6be

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

Change-Id: Ie234f7bb71d0341355f8d6a62257fba000e31313

3 years agoAdd SwitchParent api in actor-devel 49/250549/65
Seungho Baek [Tue, 29 Dec 2020 10:16:31 +0000 (19:16 +0900)]
Add SwitchParent api in actor-devel

 - SwitchParent changes parent of an actor without add/remove notification.
 - SwitchParent make an actor keep on Scene during changing parent.
 - To use SwitchParent, both the actor and new parent must be on scene

Change-Id: Ieb2114227b69cfd1fcbbe97930f21bf902e3b2d8
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoMerge "Add Gesture Propagation" into devel/master
joogab yun [Tue, 1 Jun 2021 03:09:02 +0000 (03:09 +0000)]
Merge "Add Gesture Propagation" into devel/master

3 years agoAdd Gesture Propagation 43/258143/17
Joogab Yun [Tue, 11 May 2021 07:13:35 +0000 (16:13 +0900)]
Add Gesture Propagation

This is used when the parent actor wants to listen to gesture events.

example)
  The child is overlapped on the parent.
  So, if you tap a child, the parent cannot listen to the tap event.
  Now, If set to SetNeedGesturePropagation(true), the parent can receive gesture events.

 {
     Actor parent = Actor::New();
     Actor child = Actor::New();
     parent.Add(child);
     pTapDetector = TapGestureDetector::New();
     cTapDetector = TapGestureDetector::New();
     pTapDetector.Attach(parent);
     cTapDetector.Attach(child);
     pTapDetector.DetectedSignal().Connect(this, &OnParentTap);
     cTapDetector.DetectedSignal().Connect(this, &OnChildTap);
  }

  void OnChildTap(Dali::Actor actor, const Dali::TapGesture& tap)
  {
     // If you set SetNeedGesturePropagation to true here, the parent actor can also listen to events
     Dali::DevelActor::SetNeedGesturePropagation(Self(), true);
  }

Change-Id: I0e6c16c2b2dec1dfa873caa453302cc746c3f258

3 years agoMerge "Fixed an issue the triple tap did not work." into devel/master
joogab yun [Mon, 31 May 2021 05:44:08 +0000 (05:44 +0000)]
Merge "Fixed an issue the triple tap did not work." into devel/master

3 years agoFix scissor clipping in case of a transparent Renderer 78/258978/2
Heeyong Song [Fri, 28 May 2021 09:37:22 +0000 (18:37 +0900)]
Fix scissor clipping in case of a transparent Renderer

Change-Id: I40f61a5b9079de256c4421e15f638e2c18cbb81a

3 years agoDALi Version 2.0.28 66/258966/1 dali_2.0.28
Richard Huang [Fri, 28 May 2021 09:50:51 +0000 (10:50 +0100)]
DALi Version 2.0.28

Change-Id: I4de94ec35f1a600a404b232e65fa1b42f47a7743

3 years agoFixed SVACE errors in Test Graphics 99/258899/1
Adeel Kazmi [Thu, 27 May 2021 09:40:10 +0000 (10:40 +0100)]
Fixed SVACE errors in Test Graphics

Change-Id: Ia0f62b58be5a3b533f373cef5230fe415507ee9a

3 years agoFix node tree logging 44/258744/2
Heeyong Song [Tue, 25 May 2021 05:23:36 +0000 (14:23 +0900)]
Fix node tree logging

Change-Id: I7d01d54fee9dae84f2e2ae9364b4e0a8066104ac

3 years agoMerge branch 'devel/master' into devel/graphics 93/258793/2
David Steele [Tue, 25 May 2021 23:25:37 +0000 (00:25 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: Ia4b90e49af7ce16a94a245c83677522cfb728aa5

3 years agoFixed an issue the triple tap did not work. 66/258466/13
Joogab Yun [Tue, 18 May 2021 10:04:13 +0000 (19:04 +0900)]
Fixed an issue the triple tap did not work.

The mState value is wrong.
So, only single and double taps are possible,
and no more taps are called.

And it removes unreachable code.

   uint32_t deltaBetweenTouchDownTouchUp = event.time - mTouchTime;

   if(deltaBetweenTouchDownTouchUp < MAXIMUM_TIME_ALLOWED)
   {
     // mLastTapTime is equal to or greater than mTouchTime;
     // so If deltaBetweenTouchDownTouchUp is less than MAXIMUM_TIME_ALLOWED
     // then timeDelta is never it cannot be greater than MAXIMUM_TIME_ALLOWED.

     uint32_t timeDelta = event.time - mLastTapTime;
     if(timeDelta > MAXIMUM_TIME_ALLOWED)
     {
       // unreachable block
     }
   }

Change-Id: Icd719bda146a82f0b25cb123e36395c9b5aa8f5f

3 years agoManaged uniform buffer support. 27/257327/17 devel/graphics
Adam Bialogonski [Mon, 17 May 2021 09:50:59 +0000 (10:50 +0100)]
Managed uniform buffer support.
Single uniform buffer is created in order to store uniform data for all rendered items.

- UniformBuffer is made of one or many Graphics::Buffer objects
- Memory of UniformBuffer is continuous
- UniformBuffer may resize if needed
- UniformBufferView is now used to access uniform data for individual items
- UniformBUfferPoolView manages memory allocation using stack/pool allocation strategy
- UniformBufferPoolView lives only through a single frame and then rolls back all memory

Change-Id: I2f1d2a007a132a7745b6927912353f57a96be791

3 years agoDALi Version 2.0.27 34/258634/1 dali_2.0.27
David Steele [Fri, 21 May 2021 09:17:40 +0000 (10:17 +0100)]
DALi Version 2.0.27

Change-Id: If43baea1f5bc5e258f864ccfc409fa603980fbfb

3 years agoMerge "Add methods to get current size and orientation to Scene" into devel/master
Heeyong Song [Thu, 20 May 2021 01:21:41 +0000 (01:21 +0000)]
Merge "Add methods to get current size and orientation to Scene" into devel/master

3 years agoAdding graphics sync object 88/258488/2
David Steele [Wed, 19 May 2021 14:46:26 +0000 (15:46 +0100)]
Adding graphics sync object

Capture requires a pollable sync object so that we can
know when a texture has been written to on the GPU.

Added Graphics::SyncObject, which can be added to
CommandBuffer::END_RENDER_PASS. This is a pollable object
that will test positive when the render pass has been
flushed.

This is owned by RenderTracker; a container of which
is owned by RenderManager separately to the RenderInstruction
which communicates when a sync object is needed.

Renamed Integration::GlSyncAbstraction to Integration::GraphicsSyncAbstraction

Change-Id: I4b5aa27755f1261532a188a9235d088c8bd4ec57
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge "Adding packed small float pixel format." into devel/graphics
Adeel Kazmi [Fri, 14 May 2021 16:42:25 +0000 (16:42 +0000)]
Merge "Adding packed small float pixel format." into devel/graphics

3 years agoDALi Version 2.0.26 84/258384/1 dali_2.0.26
Adam Bialogonski [Fri, 14 May 2021 10:20:46 +0000 (11:20 +0100)]
DALi Version 2.0.26

Change-Id: I8144c54fa5f146f3f857c4e70b25c95b5f6aebcb

3 years agoAdd methods to get current size and orientation to Scene 10/257610/4
Heeyong Song [Wed, 28 Apr 2021 07:09:53 +0000 (16:09 +0900)]
Add methods to get current size and orientation to Scene

Change-Id: I91922312b720d31c1cb05650c094534ded2470ac