platform/core/uifw/dali-core.git
8 years agoFixes a bug in Transform manager 97/69997/2
Ferran Sole [Tue, 17 May 2016 14:21:23 +0000 (15:21 +0100)]
Fixes a bug in Transform manager

Component wasn't marked as dirty when parent changed

Change-Id: Ib8a56326fa9ad00f515af33c8d22a305b85372a2

8 years agoUpdate Images' public header comments 62/58562/8
Seoyeon Kim [Tue, 2 Feb 2016 02:17:14 +0000 (11:17 +0900)]
Update Images' public header comments

Change-Id: I4e7841a285fa9270ae85dbc8322f777ac08d574e

8 years agoUpdate Render-tasks, Shader-effects, and Signals' public header comments 36/58836/4
Seoyeon Kim [Thu, 4 Feb 2016 01:08:57 +0000 (10:08 +0900)]
Update Render-tasks, Shader-effects, and Signals' public header comments

Change-Id: I02fec09eb05a6d01d13a78e43daa1c52e673fb55

8 years agoMerge "Use Geometry::QUAD() in UTC" into devel/master
Adeel Kazmi [Mon, 16 May 2016 17:26:06 +0000 (10:26 -0700)]
Merge "Use Geometry::QUAD() in UTC" into devel/master

8 years agoRemoved incorrectly included vector-wrapper from property 18/69518/3
Kimmo Hoikka [Fri, 13 May 2016 13:25:36 +0000 (14:25 +0100)]
Removed incorrectly included vector-wrapper from property

Change-Id: Ieefc93ca94ed08403e4133569bb497296768beb3

8 years agoUse Geometry::QUAD() in UTC 69/69769/1
Xiangyin Ma [Mon, 16 May 2016 16:00:22 +0000 (17:00 +0100)]
Use Geometry::QUAD() in UTC

Change-Id: I98b24f63730a7308f842cbb96dfb17964f97c68a

8 years agoMerge "Added static function Geometry::QUAD()" into devel/master
Adeel Kazmi [Mon, 16 May 2016 14:13:48 +0000 (07:13 -0700)]
Merge "Added static function Geometry::QUAD()" into devel/master

8 years agoMerge "Prevention of Null pointer dereference" into devel/master
Kimmo Hoikka [Mon, 16 May 2016 04:44:49 +0000 (21:44 -0700)]
Merge "Prevention of Null pointer dereference" into devel/master

8 years agoAdded static function Geometry::QUAD() 08/69308/3
Xiangyin Ma [Thu, 12 May 2016 12:53:17 +0000 (13:53 +0100)]
Added static function Geometry::QUAD()

Change-Id: I4091191b45c3516adf9967aa2dbd9405a380fca2

8 years agoDALi Version 1.1.34 93/69493/1 dali_1.1.34
Ferran Sole [Fri, 13 May 2016 10:54:39 +0000 (11:54 +0100)]
DALi Version 1.1.34

Change-Id: If90be85e9c3dc27a3b0573922ae7f2fa6eafefd2

8 years agoPrevention of Null pointer dereference 26/69226/2
Seoyeon Kim [Wed, 11 May 2016 06:49:29 +0000 (15:49 +0900)]
Prevention of Null pointer dereference

Change-Id: I79d3b9e91ac27eb7eaa4d0174997db1705e3649a
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
8 years agoMerge "Update Math's public header comments" into devel/master
Adeel Kazmi [Thu, 12 May 2016 18:04:51 +0000 (11:04 -0700)]
Merge "Update Math's public header comments" into devel/master

8 years agoMerge "Allow reading Vector2/3/4 values from Property::Value with type Vector2/3...
David Steele [Thu, 12 May 2016 17:54:36 +0000 (10:54 -0700)]
Merge "Allow reading Vector2/3/4 values from Property::Value with type Vector2/3/4, matching Dali::Vector default behaviour" into devel/master

8 years agoUpdate Math's public header comments 13/58713/3
Seoyeon Kim [Wed, 3 Feb 2016 05:07:46 +0000 (14:07 +0900)]
Update Math's public header comments

Change-Id: Ie1e3f44797c24dca4516a4195473ce315bec5008

8 years agoMerge "Moved TextureCache dispatch methods to their own class" into devel/master
Adeel Kazmi [Thu, 12 May 2016 16:36:35 +0000 (09:36 -0700)]
Merge "Moved TextureCache dispatch methods to their own class" into devel/master

8 years agoAllow reading Vector2/3/4 values from Property::Value with type Vector2/3/4, matching... 27/69327/6
Kimmo Hoikka [Thu, 12 May 2016 13:49:01 +0000 (14:49 +0100)]
Allow reading Vector2/3/4 values from Property::Value with type Vector2/3/4, matching Dali::Vector default behaviour

Change-Id: I27fcafa2d80dcc5b1d991ff14bfec75558d63b7c

8 years agoMoved TextureCache dispatch methods to their own class 94/60294/7
David Steele [Wed, 24 Feb 2016 20:37:20 +0000 (20:37 +0000)]
Moved TextureCache dispatch methods to their own class

TextureCache dispatch methods should be in their own class to enforce
the Update/Render split. This patch also cleans up all the places where
TextureCache was used in place of TextureCacheDispatcher.

The only user of TextureCacheDispatcher is now ResourceManager, with
initialization from SceneGraphBuffer object in UpdateManager (So the
dispatcher knows which buffer index to use for it's queue).

(This removes some long standing todo's...)

Change-Id: I23f5bbebd9b9348395a8f627e5d533a6a10ea58f
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoMerge "Fix the issue of actors disappearing from system overlay" into devel/master
David Steele [Tue, 10 May 2016 14:56:04 +0000 (07:56 -0700)]
Merge "Fix the issue of actors disappearing from system overlay" into devel/master

8 years agoFix the issue of actors disappearing from system overlay 88/68788/2
Xiangyin Ma [Mon, 9 May 2016 16:53:55 +0000 (17:53 +0100)]
Fix the issue of actors disappearing from system overlay

Change-Id: I64372483f68079407b7aadd2e6f602038ac337c0

8 years agoFixes an issue when element buffer count is 0 in render-geometry. 92/68592/8
Adam Bialogonski [Fri, 6 May 2016 16:29:43 +0000 (17:29 +0100)]
Fixes an issue when element buffer count is 0 in render-geometry.

- elementBufferCount = 0 states for whole or remaining buffer from elementBufferOffset.

Added two test cases covering that issue ( going out of bounds of the index buffer andusing 0 as number of elements )

Change-Id: I5d29401a3c2d717d173ce63a9cc9ba3b2ecb0e64

8 years agoMerge "Added property to Renderer to specify the depth function" into devel/master
Kimmo Hoikka [Mon, 9 May 2016 14:42:32 +0000 (07:42 -0700)]
Merge "Added property to Renderer to specify the depth function" into devel/master

8 years agoAdded property to Renderer to specify the depth function 04/68504/5
Ferran Sole [Thu, 5 May 2016 08:24:15 +0000 (09:24 +0100)]
Added property to Renderer to specify the depth function

- New property in Renderer to specify whether to enable depth testing
  and which depth function to use if enabled

Change-Id: I2964a0796209d711eb185ccf2be3d7ec1f8b202d

8 years agoChange a few minor comments in RenderTask 12/68712/1
Seoyeon Kim [Mon, 9 May 2016 11:37:38 +0000 (20:37 +0900)]
Change a few minor comments in RenderTask

Change-Id: Id0e679401925082178222c3fdf19913c511463dd
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
8 years agoMerge "RenderItem clean-up" into devel/master
Kimmo Hoikka [Mon, 9 May 2016 11:05:24 +0000 (04:05 -0700)]
Merge "RenderItem clean-up" into devel/master

8 years agoMerge "DALi Version 1.1.33" into devel/master
Adeel Kazmi [Fri, 6 May 2016 14:51:24 +0000 (07:51 -0700)]
Merge "DALi Version 1.1.33" into devel/master

8 years agoDALi Version 1.1.33 75/68575/1 dali_1.1.33
David Steele [Fri, 6 May 2016 14:47:17 +0000 (15:47 +0100)]
DALi Version 1.1.33

Change-Id: Ic6b85f54be79f7b5d0c79876819b058e1deecbb0

8 years agoRenderItem clean-up 70/68570/3
Ferran Sole [Fri, 6 May 2016 13:50:26 +0000 (14:50 +0100)]
RenderItem clean-up

Change-Id: I9ea1d07be806414ba3cb56aebe8b13021329adc0

8 years agoMerge "Removal of the Scene graph node attachment" into devel/master
David Steele [Fri, 6 May 2016 12:23:23 +0000 (05:23 -0700)]
Merge "Removal of the Scene graph node attachment" into devel/master

8 years ago(Automated Tests) Platform Abstraction now handles multiple resource requests 50/68550/1
Adeel Kazmi [Thu, 5 May 2016 19:20:53 +0000 (20:20 +0100)]
(Automated Tests) Platform Abstraction now handles multiple resource requests

Also synchronized some dali-test-suite-utils.h/cpp with toolkit.

Change-Id: I28b2ea64cd25d5107de4ea5dae175bbf01232a9f

8 years agoRemoval of the Scene graph node attachment 86/68486/6
Kimmo Hoikka [Wed, 4 May 2016 17:39:49 +0000 (18:39 +0100)]
Removal of the Scene graph node attachment

Change-Id: I1f984f6febde45db4a2db6b6e20a20c96f77f578

8 years agoProperty::Value changed to store AngleAxis instead of Quaternion 50/68350/4
David Steele [Tue, 3 May 2016 14:02:09 +0000 (15:02 +0100)]
Property::Value changed to store AngleAxis instead of Quaternion

For angles greater than 360 degrees, AngleAxis keeps it's winding
number (the number of complete rotations); whereas Quaternion loses
it. Changing Property::Value to store AngleAxis instead of Quaternion
internally enables AnimateBy to rotate 360 degrees or greater when
constructed with an AngleAxis.

Quaternions can _usually_ be converted to an Angle + Axis equivalent.
In an ideal world, there are some quaternion values that won't
convert, i.e. those for which sine(acos(.w)) is zero.

This is not an issue, as there is in practice no float value that
accurately represents N*2*PI ( for N != 0 ), consequently, the element
w generated by the Quaternion( Radian, Vector3 ) constructor is never
1 unless the initial angle was 0, which indicates no rotation.

Change-Id: I237ad5ccb1797ce7b5af9dc5e7708f65d4b785ad
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoFixed culling to take scale into consideration 56/67856/13
Ferran Sole [Thu, 28 Apr 2016 16:43:28 +0000 (17:43 +0100)]
Fixed culling to take scale into consideration

- Culling wasn't considering world scale
- Optimized world space bounding sphere calculation for nodes in the scene

Change-Id: Icf5e7918e038a662bb5e63b7b48a404da5c63d86

8 years agoFixed README typo (again) 79/68479/1
Paul Wisbey [Wed, 4 May 2016 14:56:41 +0000 (15:56 +0100)]
Fixed README typo (again)

Change-Id: I3afd00c2d2cfbbcee2221469c3a02cb5a3db4dd7

8 years agoBlending enum clean-up 77/66977/17
Paul Wisbey [Fri, 22 Apr 2016 09:53:54 +0000 (10:53 +0100)]
Blending enum clean-up

We were previously using a mixture of BLEND and BLENDING in enums.
The order of the BLEND_FACTOR enums & string names was also inconsistent.

As a rule of thumb always use Blend & BLEND for namespaces & enums/constants
(not Blending or BLENDING)

Change-Id: Iff60f4ce5c6fd59991a060fcf19fe7151d65ec5c

8 years agoMerge "Remove API to set if a geometry requires writing to the depth buffer" into...
Kimmo Hoikka [Fri, 29 Apr 2016 15:01:27 +0000 (08:01 -0700)]
Merge "Remove API to set if a geometry requires writing to the depth buffer" into devel/master

8 years agoRemove API to set if a geometry requires writing to the depth buffer 29/67529/9
Ferran Sole [Tue, 26 Apr 2016 16:08:42 +0000 (17:08 +0100)]
Remove API to set if a geometry requires writing to the depth buffer

- Removed API to set ( and get ) if a geometry requires writing to the depth buffer when rendering
- Added a property in renderer to specify whether the renderer requires writing to the depth buffer.
- Clean-up shader hints. Removed hints which were not used (i.e never checked)

Change-Id: I4c4b4f17382cefb5b94850c4cc93e64951bf9607

8 years agoDALi Version 1.1.32 24/67924/1 dali_1.1.32
Agnelo Vaz [Fri, 29 Apr 2016 08:09:46 +0000 (09:09 +0100)]
DALi Version 1.1.32

Change-Id: I4cfa7fc60e34e99f1627822f8c80a98a9a8332f2

8 years agoMerge "Fix doxygen errors" into devel/master
Adeel Kazmi [Wed, 27 Apr 2016 13:52:39 +0000 (06:52 -0700)]
Merge "Fix doxygen errors" into devel/master

8 years agoMake TextureSet a non property owner 52/67452/4
Ferran Sole [Tue, 26 Apr 2016 13:33:25 +0000 (14:33 +0100)]
Make TextureSet a non property owner

- TextureSet are no longer property owner objects
- TextureSet can not provide uniforms to renderers

Change-Id: I7c604fef8b521361ac986593ef0ec63419433a80

8 years agoFix doxygen errors 66/67466/1
Richard Huang [Tue, 26 Apr 2016 15:55:36 +0000 (16:55 +0100)]
Fix doxygen errors

Change-Id: Icecbf9c4ffce18e478cff0d370e3650a82d6b899

8 years agoRemove Geometry scene object 44/66744/14
Ferran Sole [Wed, 20 Apr 2016 15:06:34 +0000 (16:06 +0100)]
Remove Geometry scene object

* Removed geometry scene object
* Stop using PropertyBuffers for index data
* Moved RenderGeometry to the Render namespace

Change-Id: I9833a4cbe242a452b832ccecce60d21610a9a5b2

8 years ago(Automated Tests) Completely remove ImageActor & ShaderEffect test cases 26/67026/1
Adeel Kazmi [Fri, 22 Apr 2016 16:33:27 +0000 (17:33 +0100)]
(Automated Tests) Completely remove ImageActor & ShaderEffect test cases

Drops line coverage from 83.5% to 81.2% and function coverage from 83.5% to 81.9% which is still
above accepted minimum.

Change-Id: I2cfc4ea07842dd8367a820c04d1df15d913522e0

8 years agoMerge "Renderer property enum clean-up" into devel/master
Adeel Kazmi [Fri, 22 Apr 2016 13:48:59 +0000 (06:48 -0700)]
Merge "Renderer property enum clean-up" into devel/master

8 years agoRenderer property enum clean-up 09/67009/1
Paul Wisbey [Fri, 22 Apr 2016 13:08:57 +0000 (14:08 +0100)]
Renderer property enum clean-up

Change-Id: Ice8c18282db8910b43b71366a1a940d04210ee39

8 years agoMerge "DALi Version 1.1.31" into devel/master
David Steele [Fri, 22 Apr 2016 10:27:20 +0000 (03:27 -0700)]
Merge "DALi Version 1.1.31" into devel/master

8 years agoDALi Version 1.1.31 67/66967/1 dali_1.1.31
Adeel Kazmi [Fri, 22 Apr 2016 09:07:29 +0000 (10:07 +0100)]
DALi Version 1.1.31

Change-Id: I02b3afd7c9b7a298ae058728b6c5e89c989b25ff

8 years agoAdded setIndicesRange(offset, count) function to the Dali::Renderer which allows... 84/66584/6
Adam Bialogonski [Tue, 19 Apr 2016 13:46:45 +0000 (14:46 +0100)]
Added setIndicesRange(offset, count) function to the Dali::Renderer which allows to render only a part of the index buffer.

Update patchset 3: changed variable name for better code readability
Update patchset 4: added two properties INDEXED_DRAW_FIRST_ELEMENT and INDEXED_DRAW_ELEMENTS_COUNT. the public api function setIndicesRange() wraps those properties now. Added simple test case to test setIndicesRange() function. added safeguard to make sure the indices won't go out of bounds.
Update patchset 5: first element and count are not public vars anymore in the scene-graph-renderer.h
Update patchset 6: compilation error

Change-Id: I3102128c0fed753663ae2135fe11fb3a55652984

8 years agoRemoval of unnecessary Actor-attachment classes, part I - event thread 49/66549/12
Kimmo Hoikka [Tue, 19 Apr 2016 10:53:48 +0000 (11:53 +0100)]
Removal of unnecessary Actor-attachment classes, part I - event thread

- these base classes are not used for anything anymore, they just take up RAM & ROM

Change-Id: Ib0fc20e6dd0360ad2ae01441153093e081395320

8 years agoSynchronize automated tests with other repos 42/66542/1
Adeel Kazmi [Tue, 19 Apr 2016 10:39:16 +0000 (11:39 +0100)]
Synchronize automated tests with other repos

Change-Id: I5784c342607528c0e886971366ec0e480ef62fe3

8 years ago(Automated Tests) Use Renderers instead of ImageActor 66/66166/5
Adeel Kazmi [Fri, 15 Apr 2016 12:56:54 +0000 (13:56 +0100)]
(Automated Tests) Use Renderers instead of ImageActor

Change-Id: I4cae4197b1deb40b552de225becadab3370ecc3c

8 years agoMerge "Added GetImage() and GetSampler() and GetTextureCount() to TextureSet" into...
Kimmo Hoikka [Tue, 19 Apr 2016 09:09:41 +0000 (02:09 -0700)]
Merge "Added GetImage() and GetSampler() and GetTextureCount() to TextureSet" into devel/master

8 years agoRemoved incorrect API comment 05/66405/2
Kimmo Hoikka [Mon, 18 Apr 2016 16:20:59 +0000 (17:20 +0100)]
Removed incorrect API comment

- filter mode is not experimental API

Change-Id: I51a5149b0910461ddfdf5200357cf81d3861da56

8 years agoMerge "Deprecated STENCIL DrawMode Will be replaced by separate ClippingMode enum...
Paul Wisbey [Mon, 18 Apr 2016 16:59:50 +0000 (09:59 -0700)]
Merge "Deprecated STENCIL DrawMode Will be replaced by separate ClippingMode enum" into devel/master

8 years agoRemoved unused methods from scene-graph-shader.cpp 95/60295/2
David Steele [Wed, 24 Feb 2016 21:01:17 +0000 (21:01 +0000)]
Removed unused methods from scene-graph-shader.cpp

Change-Id: Id6d923191f01306a918582a64103ab152e34fe7c
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoAdded GetImage() and GetSampler() and GetTextureCount() to TextureSet 95/66395/3
Ferran Sole [Mon, 18 Apr 2016 14:17:56 +0000 (15:17 +0100)]
Added GetImage() and GetSampler() and GetTextureCount() to TextureSet

-Added getters for image and samplers in TextureSet and a method
to check the number of textures present in the TextureSet

Change-Id: I7d17988a00102f420550b6e5b438a24861cc2a14

8 years agoDeprecated STENCIL DrawMode 94/66394/2
Tom Robinson [Mon, 18 Apr 2016 14:16:17 +0000 (15:16 +0100)]
Deprecated STENCIL DrawMode
Will be replaced by separate ClippingMode enum

Change-Id: Ibaf418574ec04fb147c3086007e97a33cabcd4a0

8 years agoRendering API clean-up 49/65749/8
Ferran Sole [Wed, 6 Apr 2016 09:39:23 +0000 (10:39 +0100)]
Rendering API clean-up

Change-Id: If7c862412ac91edf6e28b2e0f729d4d0545d1247

8 years agoMerge "Added previously ommited types of geometry: LINE_STRIP, LINE_LOOP in the ...
David Steele [Fri, 15 Apr 2016 16:57:25 +0000 (09:57 -0700)]
Merge "Added previously ommited types of geometry: LINE_STRIP, LINE_LOOP in the 'switch' statement of UploadAndDraw()" into devel/master

8 years agoDALi Version 1.1.30 70/66170/1 dali_1.1.30
Adam Bialogonski [Fri, 15 Apr 2016 13:58:57 +0000 (14:58 +0100)]
DALi Version 1.1.30

Change-Id: I17c5d6491063ded9c64c89798915d5a07a0e2a25

8 years agoMerge "Removed unused CullFace features for ImageActor" into devel/master
David Steele [Thu, 14 Apr 2016 17:59:42 +0000 (10:59 -0700)]
Merge "Removed unused CullFace features for ImageActor" into devel/master

8 years agoRemoved unused CullFace features for ImageActor 23/66023/1
Adeel Kazmi [Thu, 14 Apr 2016 16:19:58 +0000 (17:19 +0100)]
Removed unused CullFace features for ImageActor

Change-Id: Ica6bfaa0f2e2e06615242b84024e9c7fc83fbf5a

8 years agoAdd REQUIRES_SYNC property to RenderTask 85/64485/4
Xiangyin Ma [Fri, 19 Feb 2016 09:33:52 +0000 (09:33 +0000)]
Add REQUIRES_SYNC property to RenderTask

Change-Id: Idca837dd62e3f66a47935f8b7d93b577999d54c7

8 years agoAdded previously ommited types of geometry: LINE_STRIP, LINE_LOOP in the 'switch... 69/65869/1
Adam Bialogonski [Wed, 13 Apr 2016 13:53:38 +0000 (14:53 +0100)]
Added previously ommited types of geometry: LINE_STRIP, LINE_LOOP in the 'switch' statement of UploadAndDraw()

Change-Id: I273ca4b0d08a5de45e20badf345207d47b23a5b5

8 years agoFix for double deletion of memory pool objects 81/65181/5
Tom Robinson [Thu, 7 Apr 2016 16:52:55 +0000 (17:52 +0100)]
Fix for double deletion of memory pool objects

Change-Id: I6bd80062f4884a220880af397264da027974967b

8 years agoDALi Version 1.1.29 20/65320/1 dali_1.1.29
Xiangyin Ma [Fri, 8 Apr 2016 10:24:08 +0000 (11:24 +0100)]
DALi Version 1.1.29

Change-Id: Ie020eafffaad4b2b4636aa25f8d680363a1f1116

8 years agoFixing doxygen for PropertyBuffer New 78/65178/2
Agnelo Vaz [Thu, 7 Apr 2016 15:49:13 +0000 (16:49 +0100)]
Fixing doxygen for PropertyBuffer New

size parameter no longer supported - https://review.tizen.org/gerrit/#/c/63022/

Change-Id: I9484588aefef6ea0e3e30a6cad1e8ddebf06bc44

8 years agoChanged rendering to remove need for sampler names. 80/64680/1
David Steele [Wed, 2 Mar 2016 20:19:30 +0000 (20:19 +0000)]
Changed rendering to remove need for sampler names.

Used glGetActiveUniform to introspect the shader and get the sampler
uniforms. No longer need to store the sampler names with the textures.

The program now generates a list of active texture sampler locations;
The renderer has been changed to bind textures using the matching sampler index.

Affects test cases that check GL state for particular sampler names, as these
are no longer queried.

Change-Id: I194570eb3ec35160a18ee0aebb6f978805855b1a
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoRevert "Removed need for sampler uniform names" 75/64675/2
Adeel Kazmi [Mon, 4 Apr 2016 13:59:08 +0000 (06:59 -0700)]
Revert "Removed need for sampler uniform names"

This reverts commit 9f94da7375ab73f889c82d60639434e72543c826.

Change-Id: I444e4aba29a14bc14daac0127f287a63c5e30776

8 years agoMerge "Removed need for sampler uniform names" into devel/master
Adeel Kazmi [Mon, 4 Apr 2016 10:51:38 +0000 (03:51 -0700)]
Merge "Removed need for sampler uniform names" into devel/master

8 years agoRemoved need for sampler uniform names 86/60886/5
David Steele [Wed, 2 Mar 2016 20:19:30 +0000 (20:19 +0000)]
Removed need for sampler uniform names

Used glGetActiveUniform to introspect the shader and get the sampler
uniforms. No longer need to store the sampler names with the textures.

Change-Id: I8f2f78ca503a3ff6b615113cfc758350c0be3665
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoUpdate doxygen groups and overview description 35/58135/4
Yoonsang Lee [Wed, 27 Jan 2016 23:19:14 +0000 (08:19 +0900)]
Update doxygen groups and overview description

- Merge "Render Tasks" and "Shader Effects" groups into "Rendering &
Effect"
- Change "Signals" to "Signal"
- Update overview of DALi core

Change-Id: I6aee5a9cdc64a9575909b0cdd1df295e56670041

8 years agoFixed bug in ImageActor::SetImage 27/64527/1
Ferran Sole [Fri, 1 Apr 2016 13:39:13 +0000 (14:39 +0100)]
Fixed bug in ImageActor::SetImage

ImageActor would add a new texture to the vector of textures in the material
every time a new image was setted instead of updating the image handle of the
texture

Change-Id: I20aca8145521a8dbcdf509b0be169924ffe5d596

8 years agoDALi Version 1.1.28 49/64449/1 dali_1.1.28
Victor Cebollada [Fri, 1 Apr 2016 08:20:56 +0000 (09:20 +0100)]
DALi Version 1.1.28

Change-Id: I759c70126213a0b75ba3be65a9cd4236d5e9baef
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
8 years agoAdded test case for SetInheritPosition/IsPositionInherited 24/64224/1
Ferran Sole [Wed, 30 Mar 2016 13:44:20 +0000 (14:44 +0100)]
Added test case for SetInheritPosition/IsPositionInherited

Change-Id: I5fe65e6d6d13ae81366bf5cc7d372dac7805dbbb

8 years agoAlways notify the derived class when removing child actor 30/63030/5
Xiangyin Ma [Mon, 21 Mar 2016 18:01:24 +0000 (18:01 +0000)]
Always notify the derived class when removing child actor

Change-Id: Id8e1276ab9f615aacd5cce5422e02a71099a3066

8 years agoMerge "Added string writers for Property::MAP and Property::ARRAY" into devel/master
Adeel Kazmi [Tue, 29 Mar 2016 12:55:59 +0000 (05:55 -0700)]
Merge "Added string writers for Property::MAP and Property::ARRAY" into devel/master

8 years agoAdded string writers for Property::MAP and Property::ARRAY 09/63009/7
David Steele [Wed, 9 Mar 2016 14:00:06 +0000 (14:00 +0000)]
Added string writers for Property::MAP and Property::ARRAY

Change-Id: Id507f8d1bde9a72cf07105156bcb65512f92dd22

8 years agoDALi Version 1.1.27 82/63582/1 dali_1.1.27
Tom Robinson [Thu, 24 Mar 2016 15:48:49 +0000 (15:48 +0000)]
DALi Version 1.1.27

Change-Id: I4c191258a2d2f9c0b0ffdc8dbbf6c5ba222bea2a

8 years agoForce the child with assigned size during relayout to do size negotiation 31/63031/4
Richard Huang [Mon, 21 Mar 2016 18:07:07 +0000 (18:07 +0000)]
Force the child with assigned size during relayout to do size negotiation

Change-Id: Ibb89b20c22717070151dbf778422c75efd987cb7

8 years agoPropertyBuffer SetData clean-up 22/63022/3
Paul Wisbey [Mon, 21 Mar 2016 16:14:36 +0000 (16:14 +0000)]
PropertyBuffer SetData clean-up

Removed potentially dangerous disconnect between size parameter,
and the actual size of the data. Note that there is not actual
SIZE property as implied by the old comments.

Change-Id: Ifa6ec50069e9609a4675c34d09cb571e8a86158b

8 years agoMerge "DALi Version 1.1.26" into devel/master
Adeel Kazmi [Fri, 18 Mar 2016 13:33:11 +0000 (06:33 -0700)]
Merge "DALi Version 1.1.26" into devel/master

8 years agoDALi Version 1.1.26 20/62820/1 dali_1.1.26
Richard Huang [Fri, 18 Mar 2016 13:09:36 +0000 (13:09 +0000)]
DALi Version 1.1.26

Change-Id: Ic3cbeaad66a03ab8101acafe41938e7acab81f53

8 years agoBug fix in data oriented transformation manager 16/62816/3
Ferran Sole [Fri, 18 Mar 2016 11:30:33 +0000 (11:30 +0000)]
Bug fix in data oriented transformation manager

TransformManagerPropertyQuaternion was not overriding the GetQuaternion()
virtual method from PropertyInputImpl causing an assert when called

Change-Id: I62d7741923eddf33853b88e0031080b5679eef52

8 years agoData oriented transform manager 01/58001/49
Ferran Sole [Tue, 26 Jan 2016 15:40:49 +0000 (15:40 +0000)]
Data oriented transform manager

Added a transform manager which computes the local to world transformations
of all the nodes in the scene. All the transformation data is stored contiguously
in memory which minimizes cache misses during updates.

Change-Id: I95caa2ffafc1ba1b7a83b6cbaf4ad6d9f0fd54fe

8 years agoDALi Version 1.1.25 73/61973/1 dali_1.1.25
Nick Holland [Fri, 11 Mar 2016 15:02:07 +0000 (15:02 +0000)]
DALi Version 1.1.25

Change-Id: I1b02093df8a101a5d24a963fc88b58cd72510bba

8 years agoPrevent renderers from drawing with unbound textures 68/51568/8
David Steele [Tue, 10 Nov 2015 16:56:08 +0000 (16:56 +0000)]
Prevent renderers from drawing with unbound textures

Changed Texture::Bind to return success/failure instead of Created/NotCreated

If the texture is not created, e.g. a NativeTexture calling out to
NativeImageInterface::GlExtensionCreate() fails for some reason, then
the Bind call will now return false to indicate that it failed.

The renderers now check the result of the Bind call, and do not draw if it is
false. This prevents the screen showing black rectangles for unbound textures.

Change-Id: I8e4c81f43a8b73b05cccdbf7799cf5ef0c8722c4
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoFixed Svace defect 83/61583/1
suhyung Eom [Wed, 9 Mar 2016 03:16:44 +0000 (12:16 +0900)]
Fixed Svace defect

[Defect - DEREF_AFTER_NULL, FALL_THROUGH]
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I9a877f7c9d815457e2d4e8998deefa46e5f22ac2

8 years agoDALi Version 1.1.24 19/61319/1 dali_1.1.24
Ferran Sole [Mon, 7 Mar 2016 09:07:26 +0000 (09:07 +0000)]
DALi Version 1.1.24

Change-Id: I131e30176842409755dd665da82c40f0eb56d21d

8 years agoResourceManager ResourcePostProcessQueue no longer double bufferred 09/60509/8
Agnelo Vaz [Fri, 26 Feb 2016 16:43:24 +0000 (16:43 +0000)]
ResourceManager ResourcePostProcessQueue no longer double bufferred

Previously the queue consisted of two buffers which held update messages.
The resouce load message would come in but may not be stored in the current buffer.
Hence the message would only be processed on the next update when the buffers switched.

As the only post process is to notify an UPLOADED texture (DELETED is a no-op) the queue is now only of resource ID's indicating resource that has uploaded.

UtcDaliInternalRequestReloadBitmapRequests01, updated as now the Upload message will be sent before having to do another render-update.

Test-suite-utils updated to show location in code of Render WARNINGs

Change-Id: Ia38a2a32e3f45f6d3e07c0061db5cdfefa54ad12

8 years agoFixed README typo 90/60690/2
Paul Wisbey [Tue, 1 Mar 2016 13:37:46 +0000 (13:37 +0000)]
Fixed README typo

Change-Id: If9b947c8150a27aa1d45662a3139355865951d1d

8 years agoMerge "Force the actors in the relayout container to do a size negotiation" into...
Kimmo Hoikka [Tue, 1 Mar 2016 13:46:57 +0000 (05:46 -0800)]
Merge "Force the actors in the relayout container to do a size negotiation" into devel/master

8 years agoDeprecate inheritance modes for position 55/60355/3
Ferran Sole [Thu, 25 Feb 2016 12:29:50 +0000 (12:29 +0000)]
Deprecate inheritance modes for position

Position will now behave as rotation and scale: either is inherited
from parent or it isn't

If an actor uses one of the following modes for position inheritance:
USE_PARENT_POSITION
USE_PARENT_POSITION_PLUS_LOCAL_POSITION

has to be changed so the actor's anchor point and parent origin is
at the CENTER and in the case of USE_PARENT_POSITION make sure that local
position is (0,0,0)

Change-Id: Iaed9e9763dcabaaaa764b4baa4b987e710bc1929

8 years agoForce the actors in the relayout container to do a size negotiation 64/60664/2
Richard Huang [Mon, 29 Feb 2016 17:35:21 +0000 (17:35 +0000)]
Force the actors in the relayout container to do a size negotiation

Change-Id: I52f7d2752ddf0f33629901fb3504580d6c64bb15

8 years agoDALi Version 1.1.23 93/60493/1 dali_1.1.23
David Steele [Fri, 26 Feb 2016 13:44:51 +0000 (13:44 +0000)]
DALi Version 1.1.23

Change-Id: I5cc2cf3a9a217440266e003a6c0daef2d5cc7310

8 years agoRemoved spurious TODOs 93/60293/1
David Steele [Wed, 24 Feb 2016 20:34:28 +0000 (20:34 +0000)]
Removed spurious TODOs

Change-Id: I9ac6d35de9e207af5fcac837866ec33f7f7bf91e
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoFixing reverse animation with ranges 50/60150/4
David Steele [Tue, 23 Feb 2016 11:36:20 +0000 (11:36 +0000)]
Fixing reverse animation with ranges

Using a PlayRange and a negative SpeedFactor to play the animation
in reverse causes a jump after each loop.

Changed wrap handling of elapsed time to use the correct remainder.
Fixed bug with animator starting too early when speed factor is
negative.

Change-Id: Ia42e51a8a2398d9976492bbff38f3f65022721a3

8 years agoMerge "Added Emscripten install to dali-env" into devel/master
Kimmo Hoikka [Wed, 24 Feb 2016 14:06:20 +0000 (06:06 -0800)]
Merge "Added Emscripten install to dali-env" into devel/master

8 years agoAdded Emscripten install to dali-env 95/54595/13
Lee Morgan [Wed, 16 Dec 2015 10:14:29 +0000 (10:14 +0000)]
Added Emscripten install to dali-env

Change-Id: I57b707094bf3a8fbf11bcd0523d5a8f2fe3662e8

8 years agoDALi Version 1.1.22 16/59916/1 dali_1.1.22
Agnelo Vaz [Fri, 19 Feb 2016 10:52:06 +0000 (10:52 +0000)]
DALi Version 1.1.22

Change-Id: Ie064872f398f333aaa4bf2322f4847819713d145

8 years agoEnsure the use of ShaderEffect in ImageActor is backwards-compatible 44/59244/2
Xiangyin Ma [Thu, 11 Feb 2016 16:49:55 +0000 (16:49 +0000)]
Ensure the use of ShaderEffect in ImageActor is backwards-compatible

Change-Id: If517adfd7b1dca2478df14747bba18518e016824