platform/core/uifw/dali-core.git
9 years agoFixed bug when adding first renderer to an on stage actor 33/50933/1
Ferran Sole [Tue, 3 Nov 2015 14:41:46 +0000 (14:41 +0000)]
Fixed bug when adding first renderer to an on stage actor

World matrix was not being updated when the first renderer was added to an
on stage actor.

Change-Id: I7d8f4758db5ad4bf0038bf2847a5588e0db0b5ee

9 years ago(ConditionalWait) Added a Notify method which takes in a ScopedLock 21/50821/3
Adeel Kazmi [Mon, 2 Nov 2015 12:24:12 +0000 (12:24 +0000)]
(ConditionalWait) Added a Notify method which takes in a ScopedLock

Avoids calling code to release a lock before calling Notify where we'd just take another lock again,
which was the case previously.

Change-Id: I94ca6ac457685e541af113e288152b3f0504c383

9 years ago(Atlas) Upload pixel data & Allow the difference in pixel format 02/50302/10
Xiangyin Ma [Tue, 27 Oct 2015 15:45:26 +0000 (15:45 +0000)]
(Atlas) Upload pixel data & Allow the difference in pixel format

Change-Id: I09b649817d506a779379bd9c3ae10d1874f750c8

9 years agoOptimize blending requirement resolution 56/50756/3
Kimmo Hoikka [Fri, 30 Oct 2015 15:36:12 +0000 (15:36 +0000)]
Optimize blending requirement resolution

- dont iterate through list of textures but store one bool per material
- stop copying bitmap metadata objects

Change-Id: I1a55a3be1cabafec68b75f3d65704c52616d6ea0

9 years agoRemove AffectsOpacity as it slows down 99.9% of use-cases and isnot even needed for... 39/50739/3
Kimmo Hoikka [Fri, 30 Oct 2015 11:51:17 +0000 (11:51 +0000)]
Remove AffectsOpacity as it slows down 99.9% of use-cases and isnot even needed for the 0.01% of marginal use-cases

Change-Id: I0b82e83fbbaed86c800f75876a0967a712bd9e82

9 years agoRemove obsolete and unnecessary animated and double buffered values from material 35/50435/6
Kimmo Hoikka [Wed, 28 Oct 2015 16:17:30 +0000 (16:17 +0000)]
Remove obsolete and unnecessary animated and double buffered values from material

- material color removed since actor color will always override if (because we can use same renderer with multiple actors)
- blend color changed to pointer in scene graph and non animateable
- blending options cached in event thread and not double buffered in update as they are almost never ever changed

Change-Id: Iec99b52f1bd5ce2d38cd2fa8888117a326383fe4

9 years agoDALi Version 1.1.8 07/50507/1 dali_1.1.8
Nick Holland [Thu, 29 Oct 2015 10:31:36 +0000 (10:31 +0000)]
DALi Version 1.1.8

Change-Id: I7505ace39ca6335bfb33116fa2168c6385bcf8bc

9 years agoMerge "Remove render thread culling as its not used for new mesh" into devel/master
Paul Wisbey [Wed, 28 Oct 2015 16:10:26 +0000 (09:10 -0700)]
Merge "Remove render thread culling as its not used for new mesh" into devel/master

9 years agoRemove dead/duplicate enum values 93/50193/4
Kimmo Hoikka [Mon, 26 Oct 2015 16:53:13 +0000 (16:53 +0000)]
Remove dead/duplicate enum values

Change-Id: I993c72813f60dff6f7eb553ac943a31d1a5e3951

9 years agoRemove render thread culling as its not used for new mesh 01/50301/2
Kimmo Hoikka [Tue, 27 Oct 2015 15:43:26 +0000 (15:43 +0000)]
Remove render thread culling as its not used for new mesh

- stop calling dynamic cast per renderer per frame
- remove render thread culling as new mesh culling is done in update

Change-Id: I9e0ce9d60022e09a67b412f0c03f04c9f648d1db

9 years agoMerge "Add UniformNameCache to keep track of unique uniform ids to avoid calculating...
Kimmo Hoikka [Tue, 27 Oct 2015 15:44:44 +0000 (08:44 -0700)]
Merge "Add UniformNameCache to keep track of unique uniform ids to avoid calculating hash values every frame" into devel/master

9 years agoPrevent assert during path animation 07/50007/5
Lee Morgan [Thu, 22 Oct 2015 15:37:30 +0000 (16:37 +0100)]
Prevent assert during path animation

Change-Id: I131e8e79a9e965eed2b8a56f2d177abdd5bd2199

9 years agoMerge "Remove some ancient dead code, Vertex3d" into devel/master
Kimmo Hoikka [Mon, 26 Oct 2015 18:20:00 +0000 (11:20 -0700)]
Merge "Remove some ancient dead code, Vertex3d" into devel/master

9 years agoMerge "Removed redundant type field" into devel/master
Adeel Kazmi [Mon, 26 Oct 2015 18:18:13 +0000 (11:18 -0700)]
Merge "Removed redundant type field" into devel/master

9 years agoMerge "Path registration with type registry" into devel/master
Adeel Kazmi [Mon, 26 Oct 2015 17:28:24 +0000 (10:28 -0700)]
Merge "Path registration with type registry" into devel/master

9 years agoAdd UniformNameCache to keep track of unique uniform ids to avoid calculating hash... 21/50121/6
Kimmo Hoikka [Fri, 23 Oct 2015 17:39:22 +0000 (18:39 +0100)]
Add UniformNameCache to keep track of unique uniform ids to avoid calculating hash values every frame

currently for dali demo we calculate hash value for sampler 32 times per frame

Change-Id: I94becba96e6c48dd732949e971e242d108e852c8

9 years agoRemove some ancient dead code, Vertex3d 92/50192/2
Kimmo Hoikka [Mon, 26 Oct 2015 16:40:45 +0000 (16:40 +0000)]
Remove some ancient dead code, Vertex3d

Change-Id: I9fb9c9ca87969863e2521488446507b0424aaa46

9 years agoMerge "Added WeakHandleBase::Reset method." into devel/master
Adeel Kazmi [Mon, 26 Oct 2015 10:44:39 +0000 (03:44 -0700)]
Merge "Added WeakHandleBase::Reset method." into devel/master

9 years agoMerge "Remove double-buffered properties from SceneGraph::Geometry" into devel/master
Kimmo Hoikka [Fri, 23 Oct 2015 16:49:31 +0000 (09:49 -0700)]
Merge "Remove double-buffered properties from SceneGraph::Geometry" into devel/master

9 years agoAdded WeakHandleBase::Reset method. 03/49603/2
Chu Hoang [Thu, 15 Oct 2015 10:15:45 +0000 (11:15 +0100)]
Added WeakHandleBase::Reset method.

Change-Id: I8dc3606b7fb23b20897a33366520f9405bf5f9d5

9 years agoCache setUniform2f values as its used quite a lot by text and 9 patch renderers 16/50116/1
Kimmo Hoikka [Fri, 23 Oct 2015 15:40:43 +0000 (16:40 +0100)]
Cache setUniform2f values as its used quite a lot by text and 9 patch renderers

Change-Id: I567105fe6d86cdb71592caad4a228af4817b4df0

9 years agoRemoved redundant type field 06/50106/3
Lee Morgan [Fri, 23 Oct 2015 12:51:32 +0000 (13:51 +0100)]
Removed redundant type field

Change-Id: Ibf4681ba76d685a620e6c149a487dbf8644540a5

9 years agoMerge "DALi Version 1.1.7" into devel/master
Adeel Kazmi [Fri, 23 Oct 2015 14:19:05 +0000 (07:19 -0700)]
Merge "DALi Version 1.1.7" into devel/master

9 years agoMerge "Stop calculating default filter and wrap modes every frame for every sampler...
Paul Wisbey [Fri, 23 Oct 2015 14:15:21 +0000 (07:15 -0700)]
Merge "Stop calculating default filter and wrap modes every frame for every sampler" into devel/master

9 years agoRemove double-buffered properties from SceneGraph::Geometry 02/50002/10
Ferran Sole [Thu, 22 Oct 2015 13:56:11 +0000 (14:56 +0100)]
Remove double-buffered properties from SceneGraph::Geometry

-Removed mCenter, mGeometryType and mRequiresDepthTest double buffered properties from SceneGraph::Geometry
-Added those properties to RenderGeometry
-When any of those properties change, RenderGeometry is updated via message to RenderManager
-Fixed RequiresDepthTest which wasn't being considered when rendering

Change-Id: Idb70db083ef9c51005a442e7cde158a13994a7f5

9 years agoPath registration with type registry 04/50104/2
Lee Morgan [Fri, 23 Oct 2015 12:38:18 +0000 (13:38 +0100)]
Path registration with type registry

Change-Id: I7d8c34e8a7822dc76129e0da008c99b0b27094c3

9 years agoStop calculating default filter and wrap modes every frame for every sampler 47/50047/3
Kimmo Hoikka [Fri, 23 Oct 2015 10:39:55 +0000 (11:39 +0100)]
Stop calculating default filter and wrap modes every frame for every sampler

Change-Id: I1b21ca06abc140252dbc7db6bd6b9b5959620a88

9 years agoDALi Version 1.1.7 33/50033/1 dali_1.1.7
Lee Morgan [Fri, 23 Oct 2015 10:00:22 +0000 (11:00 +0100)]
DALi Version 1.1.7

Change-Id: I48afab8d3fdaf983d4154cea54b5621ea7127e54

9 years agoAdded Thread abstract class 27/49927/5
Xiangyin Ma [Wed, 21 Oct 2015 15:14:35 +0000 (16:14 +0100)]
Added Thread abstract class

Change-Id: Id9be6082ef416bf2ea619bd3be7327a4f2c46f73

9 years agoMerge "Remove scene graph property buffer" into devel/master
Kimmo Hoikka [Wed, 21 Oct 2015 15:41:27 +0000 (08:41 -0700)]
Merge "Remove scene graph property buffer" into devel/master

9 years agoRemove unused constants and move to exports to reduce the bloat from constants 05/49905/3
Kimmo Hoikka [Wed, 21 Oct 2015 09:45:17 +0000 (10:45 +0100)]
Remove unused constants and move to exports to reduce the bloat from constants

Change-Id: I3d278b03577763590e42e741d18b4a7782a43668

9 years agoRemove scene graph property buffer 04/49704/13
Ferran Sole [Mon, 19 Oct 2015 08:53:02 +0000 (09:53 +0100)]
Remove scene graph property buffer

-Removed scene graph copy of PropertyBuffer
-Added render thread copy of PropertyBuffer
-Send message from event to render thread when data, size or format changes
-PropertyBuffers can now be shared between multiple geometries and it is guaranteed
 that there is only going to be one copy of the buffer in gpu memory

Change-Id: I67ccefb456a80ba833f870568ba7a0627d3b0182

9 years agoRemove 20k of unnecessary binary bloat by removing dummy constant property values 97/49897/1
Kimmo Hoikka [Wed, 21 Oct 2015 09:11:39 +0000 (10:11 +0100)]
Remove 20k of unnecessary binary bloat by removing dummy constant property values

Change-Id: Ic417769cb08d670ec57112e00884244db343a712

9 years agoStop creating string for sampler name every frame for every program 48/49848/1
Kimmo Hoikka [Tue, 20 Oct 2015 17:10:42 +0000 (18:10 +0100)]
Stop creating string for sampler name every frame for every program

Change-Id: Ic5da8308fd6e51ecce7173a159956488b83766cf

9 years agoMinor cleanup of commented out headers and @todos 99/49799/1
Kimmo Hoikka [Tue, 20 Oct 2015 10:29:54 +0000 (11:29 +0100)]
Minor cleanup of commented out headers and @todos

Change-Id: I1f07eb55544df502f74c0063cd1d3be304fc4850

9 years agoFixed bug on SetTextureUniformName 13/49613/5
Ferran Sole [Thu, 15 Oct 2015 13:56:27 +0000 (14:56 +0100)]
Fixed bug on SetTextureUniformName

-The new uniform name was not properly updated in internal material
-Added test cases for new Material APIs

Change-Id: Ib87cbbb0513e731862b04d998aeeb5e0abad9805

9 years agoMerge "BufferImage Fix for multiple area updates." into devel/master
Kimmo Hoikka [Fri, 16 Oct 2015 10:45:57 +0000 (03:45 -0700)]
Merge "BufferImage Fix for multiple area updates." into devel/master

9 years agoBufferImage Fix for multiple area updates. 15/49115/7
Richard Underhill [Thu, 15 Oct 2015 09:15:27 +0000 (10:15 +0100)]
BufferImage Fix for multiple area updates.

Change-Id: I65785011e84f83c4fb11247f8c5bec49ee212247
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoRemove some dead and non-thread safe internal uniforms 45/49545/1
Kimmo Hoikka [Wed, 14 Oct 2015 15:38:22 +0000 (16:38 +0100)]
Remove some dead and non-thread safe internal uniforms

Change-Id: I70635a012f67b75d22a411ac06d7b34f27be4659

9 years agoRemove Sampler scene object 80/49080/19
Ferran Sole [Tue, 6 Oct 2015 08:02:05 +0000 (09:02 +0100)]
Remove Sampler scene object

* Removed sampler scene object
* Created render thread sampler
* Separated samplers (specify sampling mode) from textures
* Samplers can be reused by multiple textures
* Added support for texture wrapping modes

Change-Id: I530cd6346ae828dabdeeaa2874fa9c4229b4601a

9 years agoMerge "Avoid constraint suicide during ObjectDestroyed callbacks" into devel/master
Kimmo Hoikka [Tue, 13 Oct 2015 09:34:03 +0000 (02:34 -0700)]
Merge "Avoid constraint suicide during ObjectDestroyed callbacks" into devel/master

9 years agoAvoid constraint suicide during ObjectDestroyed callbacks 29/49329/4
Paul Wisbey [Mon, 12 Oct 2015 15:38:49 +0000 (16:38 +0100)]
Avoid constraint suicide during ObjectDestroyed callbacks

Valgrind reports this when the gallery grid layout terminates:

==5351== Invalid write of size 4
==5351==    at 0x4F8FF32: Dali::Internal::ConstraintBase::ObjectDestroyed(Dali::Internal::Object&) (constraint-base.cpp:218)
==5351==    by 0x4F962B9: Dali::Internal::Object::~Object() (object-impl.cpp:1206)
==5351==    by 0x4FA810B: Dali::Internal::CustomObject::~CustomObject() (custom-object-internal.cpp:110)

The issue is that constraints commit suicide during ObjectDestroyed callbacks,
with a (dangerous) call to mTargetObject->RemoveConstraint.

Change-Id: I8da276fda1b4dfd987a8bd699ed3d908994b361e

9 years agoMoved INITIAL_HASH_VALUE from hash.cpp to hash.h 28/49328/1
Chu Hoang [Mon, 12 Oct 2015 14:41:15 +0000 (15:41 +0100)]
Moved INITIAL_HASH_VALUE from hash.cpp to hash.h

Change-Id: I474044a9e2ed7437d1792fc97327372e26a9dbc3

9 years agoMerge "Moved OwnerContainer from internal to devel-api." into devel/master
Kimmo Hoikka [Fri, 9 Oct 2015 17:17:31 +0000 (10:17 -0700)]
Merge "Moved OwnerContainer from internal to devel-api." into devel/master

9 years agoMerge "Changed WeakHandle::GetHandle() method to use a DownCast<T> instead of a reint...
Kimmo Hoikka [Fri, 9 Oct 2015 15:31:22 +0000 (08:31 -0700)]
Merge "Changed WeakHandle::GetHandle() method to use a DownCast<T> instead of a reinterpret_cast." into devel/master

9 years agoChanged WeakHandle::GetHandle() method to use a DownCast<T> instead of a reinterpret_... 42/49242/2
Chu Hoang [Fri, 9 Oct 2015 12:47:44 +0000 (13:47 +0100)]
Changed WeakHandle::GetHandle() method to use a DownCast<T> instead of a reinterpret_cast.

This allows WeakHandle::GetHandle to be usable by non Actor/customActor derived classes.

Change-Id: I4a2f2fb143fe6d50e7555846c560ffe4aabc8bc0

9 years agoMoved OwnerContainer from internal to devel-api. 37/49237/1
Chu Hoang [Fri, 9 Oct 2015 11:04:48 +0000 (12:04 +0100)]
Moved OwnerContainer from internal to devel-api.

Change-Id: I9d47ec9e11e2f44d884a758e79f402711018ed3e

9 years agoDALi Version 1.1.6 29/49229/1 dali_1.1.6
Tom Robinson [Fri, 9 Oct 2015 09:48:14 +0000 (10:48 +0100)]
DALi Version 1.1.6

Change-Id: Id025f65d0fd6e424345a43e5ab92132f7784c0ff

9 years agoMerge "Revert "Fix thread contention issues in messages and pan gestures."" into...
Adeel Kazmi [Thu, 8 Oct 2015 16:46:48 +0000 (09:46 -0700)]
Merge "Revert "Fix thread contention issues in messages and pan gestures."" into devel/master

9 years agoRevert "Fix thread contention issues in messages and pan gestures." 10/49210/2
Kimmo Hoikka [Thu, 8 Oct 2015 12:26:52 +0000 (05:26 -0700)]
Revert "Fix thread contention issues in messages and pan gestures."

This reverts commit 8be6860f402e22fa57088a25993e8340a85e812d.

Change-Id: I85d4f5ed09fff79fd790222ff41f80cb6952ea94

9 years agoCache size uniform as its often same for many renderers now as we are scaling geometry 09/49209/1
Kimmo Hoikka [Thu, 8 Oct 2015 12:21:43 +0000 (13:21 +0100)]
Cache size uniform as its often same for many renderers now as we are scaling geometry

Change-Id: Ic236e62c73b4c0db2c7ad2ab3fc13b4a957eaeaa

9 years agoChanged SceneGraph::Renderer::mOnStage flag to instead count the number of connection... 02/49102/2
Chu Hoang [Tue, 6 Oct 2015 11:09:12 +0000 (12:09 +0100)]
Changed SceneGraph::Renderer::mOnStage flag to instead count the number of connections/disconnects and only connect/disconnect once.

This fixes a bug where multiple actors share a renderer causes multiple connections/discconections.

Change-Id: I75a14ac350fb46e72da7fcaa85ba9ec8324d9e62

9 years ago(Geometry) Allow to set index buffer when using triangle strip/fan 90/48990/3
Xiangyin Ma [Fri, 2 Oct 2015 14:15:19 +0000 (15:15 +0100)]
(Geometry) Allow to set index buffer when using triangle strip/fan

Change-Id: I969530bca9df4bc22a474f26cd3d8f53e8513f26

9 years agoDALi Version 1.1.5 73/48973/1 dali_1.1.5
Chu Hoang [Fri, 2 Oct 2015 09:38:21 +0000 (10:38 +0100)]
DALi Version 1.1.5

Change-Id: I2fdb0e01c080846981241d2683b63f142da426bd

9 years agoChanged SceneGraph::CompareItems and CompareItems3D to compare the render items based... 14/48914/2
Chu Hoang [Thu, 1 Oct 2015 11:35:24 +0000 (12:35 +0100)]
Changed SceneGraph::CompareItems and CompareItems3D to compare the render items based on textureId instead of material.

This is to reduce the number of glBindTexture calls.

Change-Id: Iad24b18c5a42a53a85cdcf9522c5de71e3bf44a2

9 years agoRemoving GetDefaultFontDescription and libXML from Platform Abstraction 59/48759/4
Agnelo Vaz [Mon, 28 Sep 2015 16:32:24 +0000 (17:32 +0100)]
Removing GetDefaultFontDescription and libXML from Platform Abstraction

* Font Client now provides this functionality
* Parsing of XML file no longer needed so libXML library dependancy removed

Change-Id: Id3de780a5c813008528efd4eade6ed83e226623a
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoRearrange doxygen tags for recently deprecated or new APIs 56/48756/1
Adeel Kazmi [Mon, 28 Sep 2015 15:15:13 +0000 (16:15 +0100)]
Rearrange doxygen tags for recently deprecated or new APIs

Change-Id: Ib75a37dd4036dc6997f0f3f2a91fc6c34d66658e

9 years ago(Docs) Adding doxygen tag order to coding style 55/48755/3
Adeel Kazmi [Mon, 28 Sep 2015 12:47:21 +0000 (13:47 +0100)]
(Docs) Adding doxygen tag order to coding style

Change-Id: I0d3f2637b5d9e0d919f86c1f2665a34782c17b4c

9 years agoMerge "Allow multiple renderers per Actor and sharing renderers between actors" into...
Kimmo Hoikka [Fri, 25 Sep 2015 08:42:42 +0000 (01:42 -0700)]
Merge "Allow multiple renderers per Actor and sharing renderers between actors" into devel/master

9 years agoDALi Version 1.1.4 11/48711/1 dali_1.1.4
Adeel Kazmi [Fri, 25 Sep 2015 07:45:40 +0000 (08:45 +0100)]
DALi Version 1.1.4

Change-Id: Ie3c75c8886fdce0f5edf3d4c527db572fa0d6677

9 years agoMerge "Remove the actor from exclusive list in RenderTaskList when the actor is destr...
HyunJu Shin [Fri, 25 Sep 2015 01:52:16 +0000 (18:52 -0700)]
Merge "Remove the actor from exclusive list in RenderTaskList when the actor is destroyed" into devel/master

9 years agoModify doxygen group names 52/48652/2
Yoonsang Lee [Thu, 24 Sep 2015 07:46:33 +0000 (16:46 +0900)]
Modify doxygen group names

- "-" in group names causes javascript errors when used in doxygen
1.7.6.1 with GENERATE_TREEVIEW option - by which Tizen API reference
is generated (not sure for later version)
- It makes DALi items in the tree view cannot be opened.
- Replace all "-" to "_" in doxygen group names to solve the problem.

Change-Id: If61d3da158c2c3d90fe1c67fbbb114767f37e698

9 years agoMerge "Marked new API's since 1.1.4" into devel/master
Adeel Kazmi [Thu, 24 Sep 2015 13:10:18 +0000 (06:10 -0700)]
Merge "Marked new API's since 1.1.4" into devel/master

9 years agoMarked new API's since 1.1.4 10/48610/3
Lee Morgan [Wed, 23 Sep 2015 15:04:16 +0000 (16:04 +0100)]
Marked new API's since 1.1.4

Change-Id: I36ed0f90917a19ed967948af2ae160657c02a227

9 years agoAllow multiple renderers per Actor and sharing renderers between actors 70/47770/25
Ferran Sole [Tue, 8 Sep 2015 14:37:30 +0000 (15:37 +0100)]
Allow multiple renderers per Actor and sharing renderers between actors

-Separate Renderers from NodeAttachments
-Actor has references to Renderer handles
-Node has references to SceneGraph renderers
-UpdateManager owns SceneGraph renderers
-RenderManager owns render thread renderers
-Moved render thread renderers to Render namespace
-Added support for triange strips and triangle fans

Change-Id: I854f92821b52098b59d639542b0eb1c01572c69b

9 years agoMerge "Remove dead code: BitmapExternal; not been used for a while, not even included...
Kimmo Hoikka [Thu, 24 Sep 2015 09:19:48 +0000 (02:19 -0700)]
Merge "Remove dead code: BitmapExternal; not been used for a while, not even included in the build" into devel/master

9 years agoRemove the actor from exclusive list in RenderTaskList when the actor is destroyed 75/48575/2
Heeyong Song [Wed, 23 Sep 2015 06:23:56 +0000 (15:23 +0900)]
Remove the actor from exclusive list in RenderTaskList when the actor is destroyed

Change-Id: Id8030de0b865d5670372f3e6d992ec8c9ba1d1cb

9 years agoRemove dead code: BitmapExternal; not been used for a while, not even included in... 13/48613/1
Kimmo Hoikka [Wed, 23 Sep 2015 16:27:07 +0000 (17:27 +0100)]
Remove dead code: BitmapExternal; not been used for a while, not even included in the build

Change-Id: I9e47e8ef7d14ee97e4aa5d037439cba0e24c0e49

9 years agoChanged NinePatchImage to always load images without any filtering. 09/48609/1
Chu Hoang [Wed, 23 Sep 2015 15:04:30 +0000 (16:04 +0100)]
Changed NinePatchImage to always load images without any filtering.

This is so that the stretch borders metadata is not filtered and become incorrect.

Change-Id: I3cd4be5c8511e39938a159de5431ab2ef88c015d

9 years agoMerge "Changed NinePatchImage to support parsing of n-patches." into devel/master
Adeel Kazmi [Wed, 23 Sep 2015 09:24:43 +0000 (02:24 -0700)]
Merge "Changed NinePatchImage to support parsing of n-patches." into devel/master

9 years agoMerged NativeFrameBufferTexture into FrameBufferTexture 84/48184/4
Paul Wisbey [Tue, 15 Sep 2015 17:46:18 +0000 (18:46 +0100)]
Merged NativeFrameBufferTexture into FrameBufferTexture

Change-Id: I5b4b3a7b811bb56a8fb6ccee9ca54478a68f4eee

9 years agoChanged NinePatchImage to support parsing of n-patches. 49/48449/5
Chu Hoang [Mon, 21 Sep 2015 13:44:53 +0000 (14:44 +0100)]
Changed NinePatchImage to support parsing of n-patches.

Change-Id: Id05ea194408730460b4bd62571b1fd2f5ec814e2

9 years agoAdded version when deprecated to the documentation for ShaderEffect 09/48409/2
Adeel Kazmi [Mon, 21 Sep 2015 10:28:05 +0000 (11:28 +0100)]
Added version when deprecated to the documentation for ShaderEffect

Change-Id: I4266f704d1e394e8119b7a8b6abf6787cb4f47ac

9 years agoDALi Version 1.1.3 49/48349/1 dali_1.1.3
Xiangyin Ma [Fri, 18 Sep 2015 10:02:54 +0000 (11:02 +0100)]
DALi Version 1.1.3

Change-Id: Id93f8ab3376daee874438e7a3361b88d54475651

9 years agoDeprecated load and resource policies as they dont work and cause more harm than... 72/48172/3
Kimmo Hoikka [Tue, 15 Sep 2015 13:12:21 +0000 (14:12 +0100)]
Deprecated load and resource policies as they dont work and cause more harm than benefits

Change-Id: I7927a21a8d35a27a38e620a1a0c88f8b227eeafb

9 years agoMerge "Added GetUniformName to Sampler." into devel/master
Kimmo Hoikka [Tue, 15 Sep 2015 15:21:37 +0000 (08:21 -0700)]
Merge "Added GetUniformName to Sampler." into devel/master

9 years agoMerge "Fixed Material::RemoveSampler not calling SceneGraph::RemoveSamplerMessage...
Kimmo Hoikka [Tue, 15 Sep 2015 15:21:11 +0000 (08:21 -0700)]
Merge "Fixed Material::RemoveSampler not calling SceneGraph::RemoveSamplerMessage to match Material::AddSampler." into devel/master

9 years agoAdded GetUniformName to Sampler. 62/48162/2
Chu Hoang [Mon, 14 Sep 2015 15:20:50 +0000 (16:20 +0100)]
Added GetUniformName to Sampler.

Change-Id: I962305f3cdf5b19ac5d2d1c23186c3204057be6e

9 years agoFixed Material::RemoveSampler not calling SceneGraph::RemoveSamplerMessage to match... 41/48041/4
Chu Hoang [Fri, 11 Sep 2015 10:40:26 +0000 (11:40 +0100)]
Fixed Material::RemoveSampler not calling SceneGraph::RemoveSamplerMessage to match Material::AddSampler.

Change-Id: I2614bcb803d587a8e76486f00b9f2ac49fbb9695

9 years agoConditionalWait moved to Core & add check for how many locks we're keeping 00/48000/4
Adeel Kazmi [Thu, 10 Sep 2015 08:50:46 +0000 (09:50 +0100)]
ConditionalWait moved to Core & add check for how many locks we're keeping

Option can be enabled via --enable-lock-backtrace which will show the backtrace for all locks
whenever more than 1 is held on a given thread.

Change-Id: Ib4b51f1167371922e57cee0e68909ac6bd83377f

9 years agoDALi Version 1.1.2 60/47960/1 dali_1.1.2
Richard Huang [Thu, 10 Sep 2015 10:04:56 +0000 (11:04 +0100)]
DALi Version 1.1.2

Change-Id: Ifb617c7e2266e59fd117102e0e7ea70b2b520bf9

9 years agoMerge "Stability/Performance for update buffer index" into devel/master
Adeel Kazmi [Wed, 9 Sep 2015 14:31:53 +0000 (07:31 -0700)]
Merge "Stability/Performance for update buffer index" into devel/master

9 years agoMerge "BufferImage mirrors an external Pixel Buffer on creation." into devel/master
Kimmo Hoikka [Wed, 9 Sep 2015 14:24:14 +0000 (07:24 -0700)]
Merge "BufferImage mirrors an external Pixel Buffer on creation." into devel/master

9 years agoStability/Performance for update buffer index 72/47872/2
Kimmo Hoikka [Wed, 9 Sep 2015 12:10:28 +0000 (13:10 +0100)]
Stability/Performance for update buffer index

- use the same update buffer index rather than call getter function multiple times per update
- swap index as the last thing of update

Change-Id: I8507bfed16600d0b14eabf4fd052304cc0443364

9 years agoFixed Helgrind issue with SceneGraph::Animator creation 44/47744/3
Paul Wisbey [Tue, 8 Sep 2015 10:12:28 +0000 (11:12 +0100)]
Fixed Helgrind issue with SceneGraph::Animator creation

Change-Id: Ieabaf8f2c7a607cdbfeea448d03ef690174642ad

9 years agoBufferImage mirrors an external Pixel Buffer on creation. 10/44910/21
Richard Underhill [Tue, 8 Sep 2015 09:10:07 +0000 (10:10 +0100)]
BufferImage mirrors an external Pixel Buffer on creation.

BufferImage now will maintain its own internal copy of a buffer
and will not own any external buffer.

BufferImage will Update() from the external buffer and it is
the application's responsibility to not destroy that if an
Update() is required.

If there is no future Update() after the BufferImage is created
then the external buffer can be safely destroyed.

Change-Id: Idd1224a7a5d2d022455018ec23b98e8b734abe31
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoScenGraph::ConstraintBase does not need to inherit from PropertyOwner 30/47630/1
Adeel Kazmi [Mon, 7 Sep 2015 08:36:30 +0000 (09:36 +0100)]
ScenGraph::ConstraintBase does not need to inherit from PropertyOwner

Change-Id: I37d3842a082c0eb824f8626f9d2992711f0ecea1

9 years agoFix thread contention issues in messages and pan gestures. 60/47560/1
Richard Underhill [Fri, 4 Sep 2015 12:34:12 +0000 (13:34 +0100)]
Fix thread contention issues in messages and pan gestures.

Change-Id: I21db78ce7a8504dfc9eb2241330ab51e8007d97f
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoMerge "Prevents an invalid texture cache being interrogated for a texture. This ...
Adeel Kazmi [Fri, 4 Sep 2015 12:07:09 +0000 (05:07 -0700)]
Merge "Prevents an invalid texture cache being interrogated for a texture. This 'fixes' the crash reported in gallery. An investigation of the root cause is underway." into devel/master

9 years agoMerge "Doxygen grouping" into devel/master
Adeel Kazmi [Fri, 4 Sep 2015 10:04:34 +0000 (03:04 -0700)]
Merge "Doxygen grouping" into devel/master

9 years agoPrevents an invalid texture cache being interrogated for a texture. 54/47354/1
Richard Underhill [Wed, 2 Sep 2015 12:34:47 +0000 (13:34 +0100)]
Prevents an invalid texture cache being interrogated for a texture.
This 'fixes' the crash reported in gallery.
An investigation of the root cause is underway.

Change-Id: I30f48e33148a2399f23e81d71749c0bad6335919
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoDoxygen grouping 35/45135/5
Yoonsang Lee [Thu, 23 Jul 2015 05:38:18 +0000 (14:38 +0900)]
Doxygen grouping

- Grouping using @defgroup, @ingroup, @addtogroup
- Results are shown in the "Modules" tab of the generated doxygen html
- Grouping doxygen comments are in doc/xxx_doc.h
- Install doc/xxx_doc.h as well when conducting 'make install'

Change-Id: I46830ecf57a4ad842a6cd5cb63a98968f0a23dda

9 years agoMerge changes I02677edb,If59805d2 into devel/master
Adeel Kazmi [Tue, 1 Sep 2015 13:50:08 +0000 (06:50 -0700)]
Merge changes I02677edb,If59805d2 into devel/master

* changes:
  Fix VD prevent issues
  Fix prevent issues

9 years agoFix VD prevent issues 26/46826/3
taeyoon [Wed, 26 Aug 2015 07:19:49 +0000 (16:19 +0900)]
Fix VD prevent issues

 - Add copy constructor & assignment operator (undefined, private member)
 - Add KeyFrameBaseSpec<V>& operator=(...)

Change-Id: I02677edba93b122fe59ad3d0e9ee2a4155d5b8fb

9 years agoFix prevent issues 25/46825/4
taeyoon [Tue, 25 Aug 2015 09:45:28 +0000 (18:45 +0900)]
Fix prevent issues

 - Handling NULL by if()

 - 451521, 451524, 451534, 453410, 453417
Change-Id: If59805d26be51c63e0b65d19d9f639f3128fa672

9 years agoFix for Valgrind reporting loss from QuramBitmapFactory in MCD. 78/46378/3
Richard Underhill [Wed, 19 Aug 2015 15:38:18 +0000 (16:38 +0100)]
Fix for Valgrind reporting loss from QuramBitmapFactory in MCD.

There is a delete[]/free mismatch changed Dali to use malloc/free to
help with third party libraries.

Change-Id: Ib3fbe62f9b00cea5062b44cf1169de1f6dda3bf0
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
9 years agoMerge "Fix VD prevent issues - DIVIDE_BY_ZERO" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 16:58:47 +0000 (09:58 -0700)]
Merge "Fix VD prevent issues - DIVIDE_BY_ZERO" into devel/master

9 years agoMerge "Basic pan-gesture resampling for when prediction is off" into devel/master
Adeel Kazmi [Fri, 28 Aug 2015 16:47:13 +0000 (09:47 -0700)]
Merge "Basic pan-gesture resampling for when prediction is off" into devel/master

9 years agoMerge "Removed default in AnimatorBase::ApplyAlphaFunction switch statement to ensure...
Kimmo Hoikka [Fri, 28 Aug 2015 14:29:49 +0000 (07:29 -0700)]
Merge "Removed default in AnimatorBase::ApplyAlphaFunction switch statement to ensure that compiler will warn if any new built in alpha functions aren't handled." into devel/master

9 years agoBasic pan-gesture resampling for when prediction is off 86/46986/2
Tom Robinson [Tue, 25 Aug 2015 17:21:26 +0000 (18:21 +0100)]
Basic pan-gesture resampling for when prediction is off

Change-Id: Ib75998b9051ac495870dc6cf6333b1536fe42c03
Signed-off-by: Tom Robinson <tom.robinson@samsung.com>
UTC pan-gesture fix

Change-Id: I24728b70c44d1f11798ee9fd7230c0987b8b686f
Signed-off-by: Tom Robinson <tom.robinson@samsung.com>