platform/core/uifw/dali-core.git
3 years agoChange TOUCH_AREA to TOUCH_AREA_OFFSET 87/257287/1
Joogab Yun [Thu, 22 Apr 2021 02:09:26 +0000 (11:09 +0900)]
Change TOUCH_AREA to TOUCH_AREA_OFFSET

You can set offset the touch area.

for example)
  Actor actor = Actor::New();
  actor.SetProperty(Actor::Property::SIZE, Vector2(10.0f, 10.0f));
  actor.SetProperty(DevelActor::Property::TOUCH_AREA_OFFSET, Rect<int>(-100, 100, 100, -100));
  actor.TouchedSignal().Connect(OnTouchCallback);

then touch area is 210x210.
this is actor.width + touchAreaOffset.right - touchAreaOffset.left
and actor.height + touchAreaOffset.bottom -touchAreaOffset.top

This reverts commit 611aa0a439969daefa33e9428d294ce4f9c03f1b.

Change-Id: Ifaafb243f18ec24cfd0089e009a62505e54f60ec

3 years agoRevert "Change TOUCH_AREA to TOUCH_AREA_OFFSET" 84/257084/1
Joogab Yun [Mon, 19 Apr 2021 08:23:23 +0000 (17:23 +0900)]
Revert "Change TOUCH_AREA to TOUCH_AREA_OFFSET"

Change-Id: Ib036e525002837901293a1b190f4005c62b490f0

3 years agoMerge "Change TOUCH_AREA to TOUCH_AREA_OFFSET" into devel/master
joogab yun [Mon, 19 Apr 2021 04:12:17 +0000 (04:12 +0000)]
Merge "Change TOUCH_AREA to TOUCH_AREA_OFFSET" into devel/master

3 years agoDALi Version 2.0.22 23/257023/1 dali_2.0.22
David Steele [Fri, 16 Apr 2021 13:02:48 +0000 (14:02 +0100)]
DALi Version 2.0.22

Change-Id: Ie73e61e60224ab4b85124f151ffd8ec1dbf27772

3 years agoChange TOUCH_AREA to TOUCH_AREA_OFFSET 20/256620/17
Joogab Yun [Thu, 8 Apr 2021 06:37:41 +0000 (15:37 +0900)]
Change TOUCH_AREA to TOUCH_AREA_OFFSET

You can set offset the touch area.

for example)
  Actor actor = Actor::New();
  actor.SetProperty(Actor::Property::SIZE, Vector2(10.0f, 10.0f));
  actor.SetProperty(DevelActor::Property::TOUCH_AREA_OFFSET, Rect<int>(-100, 100, 100, -100));
  actor.TouchedSignal().Connect(OnTouchCallback);

then touch area is 210x210.
this is actor.width + touchAreaOffset.right - touchAreaOffset.left
and actor.height + touchAreaOffset.bottom -touchAreaOffset.top

Change-Id: I558ecb7d4166144326ecb2915f13f1e3ec3c8a3c

3 years agoAdded a comment to explain FrameCallback behaviour 10/256910/1
Adeel Kazmi [Wed, 14 Apr 2021 11:26:41 +0000 (12:26 +0100)]
Added a comment to explain FrameCallback behaviour

Change-Id: I713da28a82794c23af3b83deeb84d762855fecaf

3 years agoFix heap-use-after-free in FrameCallback 83/256783/1
Heeyong Song [Tue, 13 Apr 2021 02:44:35 +0000 (11:44 +0900)]
Fix heap-use-after-free in FrameCallback

Change-Id: I7716726947779b934d690a2b9ee45d28e2725c89

3 years agoFix Property::Value memory leak 54/256754/1
Heeyong Song [Mon, 12 Apr 2021 09:08:47 +0000 (18:08 +0900)]
Fix Property::Value memory leak

Change-Id: I6d5130298b886d870ddc87d3196da7170f13c9ff

3 years agoSkip rendering before the first renderer is added to node 43/256743/2
Heeyong Song [Mon, 12 Apr 2021 07:33:49 +0000 (16:33 +0900)]
Skip rendering before the first renderer is added to node

Change-Id: Id48c2fe92790ddbdcf926d754b60a6f6e5d8fd7a

3 years agoDALi Version 2.0.21 97/256697/1 dali_2.0.21
Adam Bialogonski [Fri, 9 Apr 2021 08:43:15 +0000 (09:43 +0100)]
DALi Version 2.0.21

Change-Id: Ic6e6427c4afc28e6acd55041ba4e6cab91736412

3 years agoFixed memory leaks 59/256659/2
Adam Bialogonski [Thu, 8 Apr 2021 16:02:15 +0000 (17:02 +0100)]
Fixed memory leaks

Change-Id: Idd16d26c91495cc84f98ccc182a0b8cea360e177

3 years agoMerge "Fix incorrect rotation angle." into devel/master
Wonsik Jung [Wed, 7 Apr 2021 00:31:59 +0000 (00:31 +0000)]
Merge "Fix incorrect rotation angle." into devel/master

3 years agoMerge "Fix Coverity issue" into devel/master
Heeyong Song [Fri, 2 Apr 2021 04:50:04 +0000 (04:50 +0000)]
Merge "Fix Coverity issue" into devel/master

3 years agoFix incorrect rotation angle. 78/256378/2
Wonsik Jung [Thu, 1 Apr 2021 12:59:16 +0000 (21:59 +0900)]
Fix incorrect rotation angle.

Fix incorrect rotation angle for setting glViewport.

Change-Id: I4eac8e1d67936bc599731bc3281ffcda70a1b023

3 years agoMerge "(Automated Tests) Delete unused TestGraphicsProgram constructor" into devel...
David Steele [Thu, 1 Apr 2021 13:44:05 +0000 (13:44 +0000)]
Merge "(Automated Tests) Delete unused TestGraphicsProgram constructor" into devel/master

3 years ago(Automated Tests) Delete unused TestGraphicsProgram constructor 57/256357/2
Adeel Kazmi [Thu, 1 Apr 2021 09:54:59 +0000 (10:54 +0100)]
(Automated Tests) Delete unused TestGraphicsProgram constructor

Change-Id: Ia914a433ebef3f7fe27a5daa44d5ee73f5e6cd34

3 years agoDALi Version 2.0.20 62/256362/1 dali_2.0.20
Richard Huang [Thu, 1 Apr 2021 11:15:23 +0000 (12:15 +0100)]
DALi Version 2.0.20

Change-Id: I285b98591ee052570798c4ec5e226814ff5fa098

3 years agoFix Coverity issue 77/256277/1
Heeyong Song [Thu, 1 Apr 2021 01:37:51 +0000 (10:37 +0900)]
Fix Coverity issue

Change-Id: I21a9bab7dce1ab8b97d4b1260a9aaf0350eb96e2

3 years agoFix some SVACE issues 20/256120/1
Adeel Kazmi [Mon, 29 Mar 2021 16:38:21 +0000 (17:38 +0100)]
Fix some SVACE issues

Change-Id: Ib885010b8c9a4ab3dfa0254167f19bca9fa3c4a6

3 years agoMerge branch 'devel/graphics' into devel/master 34/256034/2 graphics-backend-release-1
Adeel Kazmi [Fri, 26 Mar 2021 20:15:36 +0000 (20:15 +0000)]
Merge branch 'devel/graphics' into devel/master

Change-Id: I46eea117a4473066239d1c82de013eb49a45689a

3 years ago(Automated Tests) Tests Sync 37/256037/1
Adeel Kazmi [Fri, 26 Mar 2021 20:14:15 +0000 (20:14 +0000)]
(Automated Tests) Tests Sync

Change-Id: I01f0f418aaa065a7061dfe3e1a04b8d1432dae52

3 years agoMerge branch 'devel/master' into devel/graphics 23/256023/1
Adeel Kazmi [Fri, 26 Mar 2021 16:22:23 +0000 (16:22 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I573e8a3631457f1a5604cb88e616fe5dd7035c43

3 years agoDALi Version 2.0.19 07/256007/1 dali_2.0.19
Adeel Kazmi [Fri, 26 Mar 2021 11:00:27 +0000 (11:00 +0000)]
DALi Version 2.0.19

Change-Id: Ie36bb70019773c892715aeeae9267a2a57147aa2

3 years agoFix partial update issue 80/255680/3
Heeyong Song [Mon, 22 Mar 2021 09:56:09 +0000 (18:56 +0900)]
Fix partial update issue

Node should set the updated flag when its visibility is changed or it is added to the Scene.

Change-Id: I5a1617c4a59c3426a9ed5bc63411b6e28af66ddc

3 years agoAdd scissor/viewport handling 10/255310/5
David Steele [Thu, 11 Mar 2021 16:59:00 +0000 (16:59 +0000)]
Add scissor/viewport handling

Moved scissor/viewport handling for Layers to use graphics API
Not yet moved clearing of framebuffer for partial renderering.

Change-Id: I34a9c752415793d0cb9379c05a3c6f4bc9142650

3 years agoRestructure Render::Renderer 09/255309/5
David Steele [Tue, 9 Mar 2021 12:25:38 +0000 (12:25 +0000)]
Restructure Render::Renderer

Change-Id: Ia6039dbc4c15761b6b2e861e3548661ce94af25a

3 years agoDALi Version 2.0.18 00/255600/1 dali_2.0.18
David Steele [Fri, 19 Mar 2021 10:33:56 +0000 (10:33 +0000)]
DALi Version 2.0.18

Change-Id: I648455938e1b2645d841c8001d36d3d30a7afdfa

3 years agoMerge "Command union has been named" into devel/graphics
David Steele [Tue, 16 Mar 2021 17:26:53 +0000 (17:26 +0000)]
Merge "Command union has been named" into devel/graphics

3 years agoIt should be touched as much as the area set by the TOUCH_AREA property in the View. 93/255093/3
Joogab Yun [Fri, 12 Mar 2021 02:51:25 +0000 (11:51 +0900)]
It should be touched as much as the area set by the TOUCH_AREA property in the View.

There was no consideration for TouchArea in SphereTest().

For information 'TouchArea' sets the touch area of ​​the View.

Change-Id: Iad3431fc4b6fdb4d971dd0a1e8e158ad42241dbb

3 years agoMerge branch 'devel/master' into devel/graphics graphics-backend-pre-release-3
David Steele [Fri, 12 Mar 2021 13:05:16 +0000 (13:05 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I75929a1bc44cf444b7504e91557290d6e01ccf7d

3 years agoDALi Version 2.0.17 35/255135/1 dali_2.0.17
Adam Bialogonski [Fri, 12 Mar 2021 10:50:52 +0000 (10:50 +0000)]
DALi Version 2.0.17

Change-Id: Id5915da56563f2b0eabe2bc405bbdbfb6f3b2ec9

3 years agoCommand union has been named 66/255066/1
Adam Bialogonski [Thu, 11 Mar 2021 17:49:29 +0000 (17:49 +0000)]
Command union has been named

Change-Id: Ic8afdfeac79c74b7ec70abccf9f3d450501e32f8

3 years agoFix build error for implicitly constructing templated arrays of unique ptrs with... 57/255057/4
David Steele [Thu, 11 Mar 2021 13:54:12 +0000 (13:54 +0000)]
Fix build error for implicitly constructing templated arrays of unique ptrs with deleters

Change-Id: Icf5994e4f99d0a4f9d72dcb1d143b60d9ef5799e

3 years agoHarden shader cache against memory corruption 52/255052/1
David Steele [Thu, 11 Mar 2021 11:17:00 +0000 (11:17 +0000)]
Harden shader cache against memory corruption

Valgrind reports that the vectors used in creating shaders are deleted
before being used in graphics implementation.

Change-Id: Ife99c84530ebe1b373407bdf909c4da6a5489c94

3 years agoFix potential memory scribbling issue in Render::UniformBuffer 19/254819/1
Richard Huang [Tue, 9 Mar 2021 15:40:23 +0000 (15:40 +0000)]
Fix potential memory scribbling issue in Render::UniformBuffer

Change-Id: If9bc93b3ab46919432844b9f8a33fef01968edf8

3 years agoRemove unused code in Program 07/254807/1
Richard Huang [Tue, 9 Mar 2021 11:44:06 +0000 (11:44 +0000)]
Remove unused code in Program

Change-Id: I57fe7fd4609edeff7483b975ee30597ead7c3bbb

3 years agoWrite default uniforms in UBO before the properties in the uniform map 04/254804/1
Richard Huang [Tue, 9 Mar 2021 10:37:18 +0000 (10:37 +0000)]
Write default uniforms in UBO before the properties in the uniform map

Change-Id: I331991bd521ade1f8daad4c690e98a20cc56e18b

3 years agoTest harness for custom uniform support in uniform block 14/254714/5
Richard Huang [Mon, 8 Mar 2021 14:50:55 +0000 (14:50 +0000)]
Test harness for custom uniform support in uniform block

Change-Id: Ic323a50da0251d9880d5934950af1308df42d4c2

3 years agoTest harness for UBO 67/254567/5
Adam Bialogonski [Fri, 5 Mar 2021 16:50:26 +0000 (16:50 +0000)]
Test harness for UBO

- Added test command buffer implementation
- Added UBO support

Change-Id: I783671f0392d151ed3910d839701ddb5d8d63647

3 years agoUBO support on the Core side using CPU-based Buffer memory 11/254411/11
Adam Bialogonski [Fri, 5 Mar 2021 16:50:05 +0000 (16:50 +0000)]
UBO support on the Core side using CPU-based Buffer memory

Change-Id: I376b6f831d28342e1ecc5313eff6f56aa9f92ef3

3 years agoCreate UBO for uniform buffer bindings 91/254291/12
Richard Huang [Thu, 25 Feb 2021 16:42:13 +0000 (16:42 +0000)]
Create UBO for uniform buffer bindings

Change-Id: Ie863070d46b92b4ce135e5eba87172641e13bd8b

3 years agoTest harness sync with Sampler update 50/254650/1
David Steele [Fri, 5 Mar 2021 13:50:24 +0000 (13:50 +0000)]
Test harness sync with Sampler update

Change-Id: I84e312cfcbf1a1d8e332ca1e66d727a7988a1036

3 years agoDALi Version 2.0.16 35/254635/1 dali_2.0.16
Richard Huang [Fri, 5 Mar 2021 11:51:47 +0000 (11:51 +0000)]
DALi Version 2.0.16

Change-Id: I2e328f06084520fbad2471a250e9d53b5fc80167

3 years agoSyncing test harness changes 96/254496/2
David Steele [Wed, 3 Mar 2021 15:00:29 +0000 (15:00 +0000)]
Syncing test harness changes

Change-Id: I8db7f8b561b5a739bef3a3a8d49739281fe600d8

3 years agoUpdating Program to remove shader compilation 16/254416/5
David Steele [Tue, 2 Mar 2021 12:25:54 +0000 (12:25 +0000)]
Updating Program to remove shader compilation

New Graphics API manages it's own shader compilation.

Change-Id: I86b08673e64e2cd3b2c70a082c9c0823337a90ec

3 years agoMerge branch 'devel/master' into devel/graphics 69/254369/1
Adeel Kazmi [Mon, 1 Mar 2021 19:10:36 +0000 (19:10 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I4a5b22ad8eebe88d8eae1f8f5412898d1ec53958

3 years agoAllow actor without loaded textures to continue rendering. 64/254364/1 graphics-backend-pre-release-2
David Steele [Mon, 1 Mar 2021 15:49:53 +0000 (15:49 +0000)]
Allow actor without loaded textures to continue rendering.

If an actor has a texture that hasn't yet had data set on
it, allow the actor to continue rendering.

(Previously, only stopped rendering if the glBind failed,
e.g. for NativeImage, but that is not done in Renderer any more).

Change-Id: I0d9084ab1eb0fcf396679774ae2982df48f9ae10

3 years agoBugfix: Gfx program discarded while DALi ProgramCache still holds to the GL resource 63/254363/2
Adam Bialogonski [Mon, 1 Mar 2021 14:06:05 +0000 (14:06 +0000)]
Bugfix: Gfx program discarded while DALi ProgramCache still holds to the GL resource

Fix:
DALi Program takes now ownership over Gfx Program and keep's it alive as long as necessary.

Change-Id: If8563d5474510d460c712188702e0ab64541a311

3 years agoTest harness updates 42/254342/3
David Steele [Fri, 26 Feb 2021 17:27:10 +0000 (17:27 +0000)]
Test harness updates

Change-Id: I70deadb6518fc66077b2a5d2517479d1b1566c32

3 years agoGfx Shader support 85/254185/8
Adam Bialogonski [Thu, 25 Feb 2021 17:03:53 +0000 (17:03 +0000)]
Gfx Shader support

Change-Id: Iad029d20494b801eccd20eb7148b52234e7a3d2f

3 years agoDALi Version 2.0.15 28/254328/1 dali_2.0.15
David Steele [Fri, 26 Feb 2021 12:43:23 +0000 (12:43 +0000)]
DALi Version 2.0.15

Change-Id: Icc4ba99412aafd78ea4c51437c1fdb53da229870

3 years agoAttribute reflection 97/253697/5
David Steele [Mon, 15 Feb 2021 13:02:14 +0000 (13:02 +0000)]
Attribute reflection

Added graphics-program.h to allow shader reflection to work
without pipeline.

Updated attribute setting to use basic reflection through
the graphics API.

Change-Id: I02681571bb04c4bdd8b0b75c611287a31be76be5

3 years agoShader Reflection 94/253494/8
Richard Huang [Fri, 12 Feb 2021 09:19:03 +0000 (09:19 +0000)]
Shader Reflection

Change-Id: I46180e218c853c13ef02f32b911241a267d09207

3 years agoDALi Version 2.0.14 05/253905/1 dali_2.0.14
Adam Bialogonski [Fri, 19 Feb 2021 08:45:53 +0000 (08:45 +0000)]
DALi Version 2.0.14

Change-Id: I1a2f26ed703a551edfc5c6f3fd7821b145aa29f2

3 years agoMoving CullFace mode and Blending modes to Pipeline 76/253476/3
David Steele [Tue, 9 Feb 2021 15:36:07 +0000 (15:36 +0000)]
Moving CullFace mode and Blending modes to Pipeline

Change-Id: Ieffad68a3db9276a14c7b69427a47d8dc544bd13
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge branch 'devel/master' into devel/graphics 58/253558/2
Adeel Kazmi [Mon, 15 Feb 2021 13:19:02 +0000 (13:19 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I9830e8fe51829e833e04e152cdfc5c661e09a924

3 years agoFixing vertex buffer upload issues. 12/253512/1 graphics-backend-pre-release-1
David Steele [Fri, 12 Feb 2021 14:50:26 +0000 (14:50 +0000)]
Fixing vertex buffer upload issues.

At present, we get into the rendering calls even if a vertex buffer
hasn't yet been uploaded. Fixed null pointer traversal, and
prevented draw call if not ready.

Ensured that if the vertex buffer upload exceeds the allocated
capacity that the buffer is reallocated first.

Change-Id: Iad6271dc510e09be9afbb1f89a1c4767bb1ae5de
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoDALi Version 2.0.13 96/253496/1 dali_2.0.13
Adeel Kazmi [Fri, 12 Feb 2021 09:54:24 +0000 (09:54 +0000)]
DALi Version 2.0.13

Change-Id: I2d3b998ed4026165956ab0d443197163364e204d

3 years agoImplemented Draw and basic pipeline for vertex format and topology 23/253123/11
David Steele [Fri, 29 Jan 2021 12:13:28 +0000 (12:13 +0000)]
Implemented Draw and basic pipeline for vertex format and topology

This sets up a pipeline with just enough information so
that the Draw command can be executed.
Submission of command buffer moved after draw.

Change-Id: Ia2708f9c70ed3c122a5215091a34807afad8d9f9

3 years agoOnly call cmd::BindTextures if there are valid textures 89/253489/1
David Steele [Thu, 11 Feb 2021 12:41:51 +0000 (12:41 +0000)]
Only call cmd::BindTextures if there are valid textures

Added test case to check the command buffer

Change-Id: I7ec40ae45dec4a2a4ca8f5d809ddf822d4c2c842

3 years agoMerge "Move shader program creation from update side to render side" into devel/master
Adeel Kazmi [Wed, 10 Feb 2021 11:21:50 +0000 (11:21 +0000)]
Merge "Move shader program creation from update side to render side" into devel/master

3 years agoConverted GPU buffers for geometry to new API 20/253120/5
David Steele [Wed, 27 Jan 2021 23:29:45 +0000 (23:29 +0000)]
Converted GPU buffers for geometry to new API

Added test code and traces to ensure gl behaviour can be followed.

Existing buffer test cases pass.

Change-Id: I53ebd874c708fc44b9d1d4484f0cea29b9e60a27

3 years agoMigrating render-texture and render-sampler to new API 80/252980/8
David Steele [Tue, 19 Jan 2021 16:03:30 +0000 (16:03 +0000)]
Migrating render-texture and render-sampler to new API

Implementation of CommandBuffer::BindTextures &
Controller::SubmitCommandBuffers to handle binding textures
before drawing.

Upgrading test harness to allow traced calls to be logged.

Added first pass of TestGraphicsController with enough setup to
emulate textures using the GlAbstraction.

Added test-graphics-samplers.

All gl tests are now passing, w/exception of GenerateMipmaps, which
has been commented out.

Change-Id: I08050f1e9784fa9e73b3a2959f304c4187babddc

3 years agoAdded custom deleter for graphics types 31/253231/5
Adam Bialogonski [Mon, 8 Feb 2021 15:48:40 +0000 (15:48 +0000)]
Added custom deleter for graphics types

Change-Id: Ic4718808048f874f489e91b73661c430e43f7c20

3 years agoMove shader program creation from update side to render side 89/253389/3
Richard Huang [Tue, 9 Feb 2021 11:12:50 +0000 (11:12 +0000)]
Move shader program creation from update side to render side

Change-Id: I99580c6f9225351e30a7e503c950a48706867d37

3 years agoMerge "Add KeyFrames APIs" into devel/master
JIYUN YANG [Tue, 9 Feb 2021 00:50:31 +0000 (00:50 +0000)]
Merge "Add KeyFrames APIs" into devel/master

3 years agoMerge branch 'devel/master' into devel/graphics 10/253310/1
Adeel Kazmi [Mon, 8 Feb 2021 17:50:00 +0000 (17:50 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I1de1d81b5d76d785c86466e5c15f28eb70480b3e

3 years agoAdd KeyFrames APIs 74/252974/10
Jiyun Yang [Wed, 3 Feb 2021 12:14:03 +0000 (21:14 +0900)]
Add KeyFrames APIs

* GetKeyFrameCount
* GetKeyFrame

This method creates a new KeyFrames with difference type from the original.

Change-Id: I03e1767958332c548c99a936da8e3779ef5b8b5e
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoDALi Version 2.0.12 03/253203/1 dali_2.0.12
Richard Huang [Fri, 5 Feb 2021 11:58:09 +0000 (11:58 +0000)]
DALi Version 2.0.12

Change-Id: I55e9f95139bb3d023d2d0cd03ff4c8a15a708948

3 years agoMerge branch 'devel/master' into devel/graphics 24/253124/1
Adeel Kazmi [Thu, 4 Feb 2021 17:55:56 +0000 (17:55 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I761cfc0f25774b14003e936be295501aeb71bcd1

3 years agoGraphics API 70/252970/4
Adam Bialogonski [Wed, 3 Feb 2021 12:30:53 +0000 (12:30 +0000)]
Graphics API

Change-Id: I3eee6d5ce548614231b3e9786bb4eb91bb3c1b6c

3 years ago(HitTest) Check clipped actor if it is really touchable before using as hit-actor 07/252707/3
Adeel Kazmi [Mon, 1 Feb 2021 19:55:58 +0000 (19:55 +0000)]
(HitTest) Check clipped actor if it is really touchable before using as hit-actor

Change-Id: I073f6ddab910acb7aaf850d1f1c93fd6d15e1ebe

3 years agoTemporarily removed caching for GL call status 03/252703/1
Richard Huang [Fri, 29 Jan 2021 15:02:37 +0000 (15:02 +0000)]
Temporarily removed caching for GL call status

Change-Id: I303944970af86251fe03fcc5e4696af1700d3aef

3 years agoDo not call NotifyObjects in case of finished animations 36/252436/2
Heeyong Song [Thu, 28 Jan 2021 04:35:15 +0000 (13:35 +0900)]
Do not call NotifyObjects in case of finished animations

Change-Id: Iaa0f7d0dca73fdfd672a869d83a899ff8755a992

3 years agoDALi Version 2.0.11 83/252583/1 dali_2.0.11
David Steele [Fri, 29 Jan 2021 12:53:28 +0000 (12:53 +0000)]
DALi Version 2.0.11

Change-Id: I8f648ae125c4cd74a4e132e3b73c5fe9ab5b8b2d

3 years agoMerge "Updated all code to new format" into devel/master
Adeel Kazmi [Thu, 28 Jan 2021 16:52:37 +0000 (16:52 +0000)]
Merge "Updated all code to new format" into devel/master

3 years agoUpdated all code to new format 01/252401/2
David Steele [Wed, 27 Jan 2021 13:12:32 +0000 (13:12 +0000)]
Updated all code to new format

Change-Id: Ieac01f36cf9d059ea83ad10c2877fefb070328e5

3 years agoAdd EraseIf() api to OwnerContainer for proper implementaion of Erase-Remove idiom. 87/252387/2
Subhransu Mohanty [Wed, 27 Jan 2021 09:20:24 +0000 (18:20 +0900)]
Add EraseIf() api to OwnerContainer for proper implementaion of Erase-Remove idiom.

std::remove_if() moves the end object to the removed object position.
as OwnerContainer keeps the raw pointer, have introduced a higher order function
which will free the object if predicate returns true.

Change-Id: I0e69fee7ef115d9e15cc36e8cbe6889b3ad77c4d

3 years agoMerge "Ensure we check for null when freeing from the memory pool" into devel/master
David Steele [Tue, 26 Jan 2021 10:14:09 +0000 (10:14 +0000)]
Merge "Ensure we check for null when freeing from the memory pool" into devel/master

3 years agoMerge "Fix the synchronization issue when window is resized or rotated" into devel...
Wonsik Jung [Tue, 26 Jan 2021 00:35:48 +0000 (00:35 +0000)]
Merge "Fix the synchronization issue when window is resized or rotated" into devel/master

3 years agoEnsure we check for null when freeing from the memory pool 13/252213/3
Adeel Kazmi [Mon, 25 Jan 2021 19:18:14 +0000 (19:18 +0000)]
Ensure we check for null when freeing from the memory pool

Change-Id: Ifd805f9cd0476864455dfc1751e4f110e1ea6846

3 years agoMerge "Refactor Node class and TransformManagerproperty* class to optimize Object...
David Steele [Mon, 25 Jan 2021 13:01:29 +0000 (13:01 +0000)]
Merge "Refactor Node class and TransformManagerproperty* class to optimize Object Size." into devel/master

3 years agoRefactor Node class and TransformManagerproperty* class to optimize Object Size. 15/251315/3
Subhransu Mohanty [Tue, 12 Jan 2021 04:35:27 +0000 (13:35 +0900)]
Refactor Node class and TransformManagerproperty* class to optimize Object Size.

Introduced TransformManagerData and keep a pointer instead of keeping
{TxManager, TxId} pair. hence reducing 8bytes per member.

Also templated  TransformManagerPropertyVector3 based on TransformManagerProperty to
avoid storing the Property type in the class object.

This patch reduced the Node size from 976 byte to 896 byte, saving 80 bytes per object.

Change-Id: Ib608dfe73c12861277379208a8506904eedfc6e9

3 years agoFix performance issue in UpdateManager::AddNode() 20/251020/2
Subhransu Mohanty [Thu, 7 Jan 2021 03:11:27 +0000 (12:11 +0900)]
Fix performance issue in UpdateManager::AddNode()

As node pointes are allocated by FixedMeomrySizedPool and the pool
allocates pages and page can be allocated at any location by global new.
it won't help with cache locality by keeping nodes in sorted order by address.

creating 100,000 actor takes 3 Second and 200,000 actor takes 11 Second .

Change-Id: Ic3b0da35ebd98d994d876083ffe3ee44f082d8c0

3 years agoFix the synchronization issue when window is resized or rotated 29/248429/15
Wonsik Jung [Thu, 26 Nov 2020 10:47:10 +0000 (19:47 +0900)]
Fix the synchronization issue when window is resized or rotated

Window position, size and rotaton angle information are in both main and update thread.
To complete the works, the information should be synchronized in both main and update thread.
In addition, when multiple windows works and one of them resized or rotated, all windows are resized or rotated.
For fixing them, this patch has the informations are in the related modules (as Intergration::Scene, SceneGraph::Scene ... )
and are compared.

Change-Id: I79f12b8f7e15ce2ae07f161959f3450e65f2f1a0

3 years agoDALi Version 2.0.10 14/252114/1 dali_2.0.10
Adeel Kazmi [Fri, 22 Jan 2021 17:15:51 +0000 (17:15 +0000)]
DALi Version 2.0.10

Change-Id: I0399a258942ac6e35dfe57d6d1c99a2c6a1ff76c

3 years agoMerge "Removed scene-graph dependency from internal actor headers" into devel/master
David Steele [Wed, 20 Jan 2021 16:05:42 +0000 (16:05 +0000)]
Merge "Removed scene-graph dependency from internal actor headers" into devel/master

3 years agoRemoved scene-graph dependency from internal actor headers 29/251829/2
David Steele [Tue, 19 Jan 2021 15:11:18 +0000 (15:11 +0000)]
Removed scene-graph dependency from internal actor headers

actor-impl.h unnecessarily included update-manager.h.

Modified header to remove dependency, and fixed up errors, moving
to use forward declarations where possible, and moving inline
dependencies into source files.

Change-Id: I330a70fc374eb11a414ae257e34858ab061d84ca
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoAll test execution now outputs results to xml files 88/250088/3
David Steele [Fri, 18 Dec 2020 16:47:55 +0000 (16:47 +0000)]
All test execution now outputs results to xml files

Change-Id: I2eaba2f830dc479f2720bf5ec9b7ef726b85f888

3 years agoMerge "Reduce Actor Class Size by using ConstString" into devel/master
Adeel Kazmi [Tue, 19 Jan 2021 17:17:43 +0000 (17:17 +0000)]
Merge "Reduce Actor Class Size by using ConstString" into devel/master

3 years agoInitial refactoring of graphics interface 14/251614/5
David Steele [Thu, 14 Jan 2021 19:14:11 +0000 (19:14 +0000)]
Initial refactoring of graphics interface

Core now takes a Graphics::Controller as a parameter
For now, this wraps references to old GlAbstraction, GlSyncAbstraction &
GlContextHelperAbstraction.

Changed up internal interfaces to use this graphics controller rather
than storing refs to GlAbstraction etc (except for Context)

Change-Id: Id1707dd4bddd8578d1227244757b309b0e33228b

3 years agoDALi Version 2.0.9 99/251599/1 dali_2.0.9
adam.b [Fri, 15 Jan 2021 11:16:25 +0000 (11:16 +0000)]
DALi Version 2.0.9

Change-Id: I933b0dc928ae1935423258d43f182e0e2667969a

3 years agoReduce Actor Class Size by using ConstString 42/248642/3
Subhransu Mohanty [Tue, 1 Dec 2020 06:05:41 +0000 (15:05 +0900)]
Reduce Actor Class Size by using ConstString

Actor size reduced from 392 byte to 368 byte in 64bit system.

Change-Id: I28da21c56acfe6dc7f799b5ffe509bccb2284d2c

3 years agoDo not calculate dirty rects when rendering is skipped 78/250678/2
Heeyong Song [Thu, 31 Dec 2020 04:41:49 +0000 (13:41 +0900)]
Do not calculate dirty rects when rendering is skipped

- Dirty rect should not be calculated when rendring is skipped
- Fix also RenderItem::mUpdateSize value

Change-Id: I82472d2f1fdeccd5e1d29517cfe5cc80d3169e8d

3 years agoFix Rendering behavior issue 53/250653/2
Heeyong Song [Thu, 31 Dec 2020 00:49:02 +0000 (09:49 +0900)]
Fix Rendering behavior issue

Ensure to keep rendering if the rendering behavior is CONTINUOUSLY

Change-Id: I65bb42d4a230c48009ff65ec9a249fc2726fb774

3 years agoDALi Version 2.0.8 45/251145/1 dali_2.0.8
Richard Huang [Fri, 8 Jan 2021 14:35:24 +0000 (14:35 +0000)]
DALi Version 2.0.8

Change-Id: Idda91357d8c0c533b9918bdaacd68b25a6d3d4b3

3 years agoUpdated macOS instructions 80/251080/2
Adeel Kazmi [Thu, 7 Jan 2021 18:18:28 +0000 (18:18 +0000)]
Updated macOS instructions

Change-Id: I86c11734748764fdf374496699caa0c9191509f3

3 years agoAdd installation instructions for MacOS 17/245917/6
Lucas Cavalcante de Sousa [Tue, 13 Oct 2020 18:31:11 +0000 (15:31 -0300)]
Add installation instructions for MacOS

Change-Id: I77679aff52590015a25e53b818e6ebfdd8a81672

3 years agoMatch Apple clang 11/249211/3
Wander Lairson Costa [Tue, 8 Dec 2020 19:20:51 +0000 (16:20 -0300)]
Match Apple clang

In macOS, the clang shipped with macOS has the string 'AppleClang' in
cmake.

Change-Id: I0995c3853fded17b35e41595398421d3c4001bf1

3 years agoFix scissor clipping issue 93/250593/1
Heeyong Song [Wed, 30 Dec 2020 04:25:45 +0000 (13:25 +0900)]
Fix scissor clipping issue

- Should consider y-axis inversion for the scissor box

Change-Id: I27d3e0842d0095198caf243d80ce2b2af6825750