platform/core/uifw/dali-core.git
3 years agoRestored Devel::Renderer::AddDrawCommand test cases 68/257468/1
David Steele [Mon, 26 Apr 2021 10:52:17 +0000 (11:52 +0100)]
Restored Devel::Renderer::AddDrawCommand test cases

Change-Id: Ifa7ac6aa788b485d69117f48dbcf1a51c4f938a1

3 years agoMoving owner of secondary command buffers 48/257248/2
David Steele [Wed, 21 Apr 2021 15:59:38 +0000 (16:59 +0100)]
Moving owner of secondary command buffers

Current owner is renderer, but this is problematic because a single
renderer can be rendered more than once per frame, e.g. because it's
in more than one RenderTask, or referenced by more than one node, or
it has both opaque and transparent external draw commands.

Changed owner to RenderList.

Changed management of Pipeline to have one handler per renderer per node per instruction per blend
to ensure that owner is unique per render (as ptr to Pipeline is shallow copied in BindPipeline).

Change-Id: I39cf2e991ba3179fb6ea6c9b80ff26d8bf7b0a95
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoRemoving old Program code 35/257035/2
David Steele [Thu, 15 Apr 2021 11:38:25 +0000 (12:38 +0100)]
Removing old Program code

Render still had a Program::Use call, this has now been removed.
Cleaned up Program and Render::Renderer to remove much unused code.

Moved sampler uniform initialization to implementation in adaptor.

Change-Id: I831c4adb7dbac071f6b95edc77723b74e063e2b6

3 years agoRemoving some uses of gl Context object 06/256906/3
David Steele [Wed, 14 Apr 2021 10:45:32 +0000 (11:45 +0100)]
Removing some uses of gl Context object

Change-Id: I556fe872264bfbc90ee0ccac074da17b8401502a

3 years agoFixed test cases and other minor fixes (like doxy) 20/256920/3
Adam Bialogonski [Wed, 14 Apr 2021 14:18:01 +0000 (15:18 +0100)]
Fixed test cases and other minor fixes (like doxy)

Change-Id: Iacebc1160968b4ba92898a9ce0adfa5d028eb294

3 years agoRenderPass and presentation 78/256578/6
adam.b [Wed, 7 Apr 2021 11:42:13 +0000 (12:42 +0100)]
RenderPass and presentation

Change-Id: I5630cb63e25b86a065001d8879b88537489ff2b8

3 years agoFixing up test cases following render pass changes 47/256547/4
David Steele [Tue, 6 Apr 2021 17:09:59 +0000 (18:09 +0100)]
Fixing up test cases following render pass changes

Change-Id: I899839a1b007efbcae4f24ab9c6cfdff7bd394d4

3 years agoDisabling Stencil test cases temporarily 45/256545/5
David Steele [Tue, 6 Apr 2021 13:32:42 +0000 (14:32 +0100)]
Disabling Stencil test cases temporarily

Change-Id: I691d5925c2fd9ca3df7d8287ee37edf3390296fe

3 years agoInitialize framebuffer before render pass used 19/256119/11
David Steele [Mon, 29 Mar 2021 16:10:08 +0000 (17:10 +0100)]
Initialize framebuffer before render pass used

Change-Id: I5eed0a0311cf4eec22b8b629db273d25f455e4a8

3 years agoCreate render pass for surface rendering 21/256021/12
Adam Bialogonski [Tue, 30 Mar 2021 17:19:01 +0000 (18:19 +0100)]
Create render pass for surface rendering

Change-Id: I09069aab42d4e7af67aee7700e2a4e4c2ec27db4

3 years agoAdded RenderPass and RenderTarget support 15/255315/17
adam.b [Thu, 1 Apr 2021 12:44:13 +0000 (13:44 +0100)]
Added RenderPass and RenderTarget support

Change-Id: I324b4f47c389fbef6c6b18f91acee2948cd5fa48

3 years agoImplementing Framebuffer object 01/255701/4
David Steele [Thu, 11 Feb 2021 15:59:16 +0000 (15:59 +0000)]
Implementing Framebuffer object

Added framebuffer object, and setup pipeline to use it when rendering
offscreens.

Change-Id: Id11981cc6e75fff19b84756380ab8007c5d61652

3 years agoMerge branch 'devel/master' into devel/graphics 04/256804/1
Adam Bialogonski [Tue, 13 Apr 2021 09:04:39 +0000 (10:04 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I0347ae3fa47740fafc1ddd077a67a2cc15e582b2

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 branch 'devel/master' into devel/graphics 44/256644/1
Adeel Kazmi [Thu, 8 Apr 2021 09:54:36 +0000 (10:54 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I64efe224f8dd1cce0af9b01a5c6a1a1e9ea8ac89

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