platform/core/uifw/dali-core.git
8 years agoMerge "100% Coverage for Rendering API" into devel/master
Adeel Kazmi [Fri, 15 Jul 2016 11:56:02 +0000 (04:56 -0700)]
Merge "100% Coverage for Rendering API" into devel/master

8 years agoMerge "DALi Version 1.1.43" into devel/master
Adeel Kazmi [Fri, 15 Jul 2016 11:40:17 +0000 (04:40 -0700)]
Merge "DALi Version 1.1.43" into devel/master

8 years agoDALi Version 1.1.43 56/80256/1 dali_1.1.43
David Steele [Fri, 15 Jul 2016 11:26:37 +0000 (12:26 +0100)]
DALi Version 1.1.43

Change-Id: I82bcab0866b0ec6d89a2360c2d51c4a4fceba169

8 years ago100% Coverage for Rendering API 50/80250/1
Tom Robinson [Fri, 15 Jul 2016 11:05:38 +0000 (12:05 +0100)]
100% Coverage for Rendering API

Change-Id: I051bf96c0f1488b1a5bb9f2d8586cd981a77d83f

8 years ago(Automated Tests) Combined dali and dali-devel 29/80229/1
Adeel Kazmi [Fri, 15 Jul 2016 09:28:27 +0000 (10:28 +0100)]
(Automated Tests) Combined dali and dali-devel

Total 1907 tests, 1 less than combined total before.
This is because UtcLinearConstrainerApply was duplicated in both dali and dali-devel.

Change-Id: I52ae9e9da91d10259db0d7cc5dd1dc2ba45ecd63

8 years agoMoved UTC tests for public API to dali directory 30/80130/1
Tom Robinson [Thu, 14 Jul 2016 17:30:21 +0000 (18:30 +0100)]
Moved UTC tests for public API to dali directory

Change-Id: I553bc2553cab1f281da56e4fade7385e337dcb08

8 years agoAvoid std::string crash when NULL is returned 28/80128/1
Adeel Kazmi [Thu, 14 Jul 2016 15:46:34 +0000 (16:46 +0100)]
Avoid std::string crash when NULL is returned

GetDefaultPropertyName() can return NULL.
If we try to initialise a std::string with NULL, this causes an exception.

The solution is to just check that the returned value from GetDefaultPropertyName()
and return an empty std::string if it is NULL.

Change-Id: Iecf02228cade112b2922a0fbf0e9cef73a0df13d

8 years agoMerge "Removed dead code from Actor & fixed minor bugs in GestureDetector" into devel...
Adeel Kazmi [Thu, 14 Jul 2016 16:23:08 +0000 (09:23 -0700)]
Merge "Removed dead code from Actor & fixed minor bugs in GestureDetector" into devel/master

8 years agoRemoved dead code from Actor & fixed minor bugs in GestureDetector 20/80120/2
Adeel Kazmi [Thu, 14 Jul 2016 14:54:49 +0000 (15:54 +0100)]
Removed dead code from Actor & fixed minor bugs in GestureDetector

Change-Id: I7c4a1ccfc909ecd9e82824e2d132e3561e7bf15d

8 years agoMoved Core Rendering API from devel-api to public-api 19/79919/17
Tom Robinson [Wed, 13 Jul 2016 10:46:47 +0000 (11:46 +0100)]
Moved Core Rendering API from devel-api to public-api

Change-Id: I8222979f89afd60137d2b148fcadc6175a41a6fe

8 years agoFixed bug in Dali::Texture 65/79965/1
Ferran Sole [Wed, 13 Jul 2016 15:44:31 +0000 (16:44 +0100)]
Fixed bug in Dali::Texture

- Protected texture to make sure it doesn't call into Core after it has been destroyed

Change-Id: Ie1b6dedc1d42134f8702fd907ac2b13cb8ffdf80

8 years agoRemove Geometry::QUAD() API 46/79546/5
Xiangyin Ma [Mon, 11 Jul 2016 16:57:23 +0000 (09:57 -0700)]
Remove Geometry::QUAD() API

Change-Id: I962d0e570f3f7be3efa7b84179533ca490fda214

8 years agoMoved TextureSet::SetImage() to separate devel-api module 99/79499/7
Tom Robinson [Mon, 11 Jul 2016 13:02:12 +0000 (14:02 +0100)]
Moved TextureSet::SetImage() to separate devel-api module

Change-Id: I44a5be3e98c76a73b6672c079e1f1d9084113994

8 years agoMerge "(Automated Tests) Added coverage for SlotDelegate" into devel/master
David Steele [Fri, 8 Jul 2016 17:22:47 +0000 (10:22 -0700)]
Merge "(Automated Tests) Added coverage for SlotDelegate" into devel/master

8 years agoMerge "DALi Version 1.1.42" into devel/master
Adeel Kazmi [Fri, 8 Jul 2016 16:52:37 +0000 (09:52 -0700)]
Merge "DALi Version 1.1.42" into devel/master

8 years agoDALi Version 1.1.42 99/79199/1 dali_1.1.42
Agnelo Vaz [Fri, 8 Jul 2016 16:43:16 +0000 (17:43 +0100)]
DALi Version 1.1.42

Change-Id: I99eb0bc65e5082246509042388c590406af19f08

8 years ago(Automated Tests) Added coverage for SlotDelegate 93/79193/2
Adeel Kazmi [Fri, 8 Jul 2016 14:59:55 +0000 (15:59 +0100)]
(Automated Tests) Added coverage for SlotDelegate

Change-Id: I6fbf72d44b1785b0ff7d5498ca74819a64332f86

8 years agoChanged Texture::Upload to return a boolean to indicate whether the update can be... 42/78742/3
Ferran Sole [Wed, 6 Jul 2016 14:46:23 +0000 (15:46 +0100)]
Changed Texture::Upload to return a boolean to indicate whether the update can be performed

Upload will return true if the upload operation can be performed, false otherwise

Change-Id: I94d852d65bddaa5c4b59b9b26bd84fd753c8a036

8 years ago(AutomatedTests) Stop Calling Internal APIs from public tests 51/78751/1
Adeel Kazmi [Wed, 6 Jul 2016 16:23:19 +0000 (17:23 +0100)]
(AutomatedTests) Stop Calling Internal APIs from public tests

Change-Id: I936e65ba7de5fa142c8ccfdf9d4ad3000be05009

8 years agoAdded test cases for public api. 37/78237/1
David Steele [Mon, 4 Jul 2016 18:42:12 +0000 (19:42 +0100)]
Added test cases for public api.

Coverage of public API methods showed that some methods had no
test cases. Have added test cases for all relevant methods.

Reminder: No C++ method coverage can be 100% complete ( compiler
generated virtual destructors cannot always be called ).

Change-Id: Ia3dc12b5e8262ea1e20c17141378d2a2f3c91b8e
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoDALi Version 1.1.41 16/77916/1 dali_1.1.41
adam.b [Fri, 1 Jul 2016 13:28:12 +0000 (14:28 +0100)]
DALi Version 1.1.41

Change-Id: I3726e601f807f636bbfe6ce06414d1765ada93ed

8 years agoUpdated desktop test harness for easier TC debugging 39/77639/2
David Steele [Thu, 30 Jun 2016 10:41:29 +0000 (11:41 +0100)]
Updated desktop test harness for easier TC debugging

Added a new "-d" option to execute.sh to invoke the debugger
on the speficied test case.

Change-Id: I7b791ff184c0b14e21a1a1c3700c82fa6cbab748
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoMerge "Added support for compressed texture upload to Render::NewTexture" into devel...
Kimmo Hoikka [Wed, 29 Jun 2016 16:54:46 +0000 (09:54 -0700)]
Merge "Added support for compressed texture upload to Render::NewTexture" into devel/master

8 years agoAdded support for compressed texture upload to Render::NewTexture 24/77124/5
Ferran Sole [Tue, 28 Jun 2016 15:46:45 +0000 (16:46 +0100)]
Added support for compressed texture upload to Render::NewTexture

Change-Id: I864026078391a5b98caaa62ffa2c2d9a0db6a919

8 years agoFix Svace issue 63/76963/4
Seoyeon Kim [Tue, 28 Jun 2016 04:41:20 +0000 (13:41 +0900)]
Fix Svace issue

- Return value of a function GetMap() has to be checked for NULL at shader-impl.cpp

Change-Id: Ib28207bcb87b073eea34887233514c31958c11f1

8 years agoMerge "DALi Version 1.1.40" into devel/master
Adeel Kazmi [Fri, 24 Jun 2016 08:02:25 +0000 (01:02 -0700)]
Merge "DALi Version 1.1.40" into devel/master

8 years agoDALi Version 1.1.40 49/76549/1 dali_1.1.40
Victor Cebollada [Fri, 24 Jun 2016 07:22:57 +0000 (08:22 +0100)]
DALi Version 1.1.40

Change-Id: Ie05785cab691fdc260eaed9bf7f8f2320cad3a7e
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
8 years agoDALi Version 1.1.40
Victor Cebollada [Fri, 24 Jun 2016 07:22:57 +0000 (08:22 +0100)]
DALi Version 1.1.40

Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
8 years agoFixed bug in texture-set 29/75829/2
Ferran Sole [Tue, 21 Jun 2016 15:10:41 +0000 (16:10 +0100)]
Fixed bug in texture-set

mHasAlpha was being overwritten in Prepare method when using Render::Textures ( TextureSets which only use Render::Textures
should not do anything in the Prepare method )

Change-Id: I21b8fba7f81d5c83b03dfa10d8fe281026b28489

8 years agoUpdated test harness to add map of named parameters to Gl traces. 95/75595/2
David Steele [Mon, 20 Jun 2016 13:57:04 +0000 (14:57 +0100)]
Updated test harness to add map of named parameters to Gl traces.

As well as storing the parameter list as a single string, have added
(for GlAbstraction) a named parameter map. This should prevent changes
to the trace from breaking existing tests in the future, and also
provides a slightly easier to use method for searching for methods with
specific parameters.

Change-Id: Iab726d2e2bcae805fa39b48c0675ea5a96faa64d
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoMerge "Implemented Upload methods in Texture to upload data from PixelData objects...
Paul Wisbey [Fri, 17 Jun 2016 16:39:41 +0000 (09:39 -0700)]
Merge "Implemented Upload methods in Texture to upload data from PixelData objects" into devel/master

8 years agoDALi Version 1.1.39 23/75323/1 dali_1.1.39
Adeel Kazmi [Fri, 17 Jun 2016 10:42:56 +0000 (11:42 +0100)]
DALi Version 1.1.39

Change-Id: I6df60de02d4942e5bdf5db884f20480a0669173a

8 years agoImplemented Upload methods in Texture to upload data from PixelData objects 92/74692/5
Ferran Sole [Wed, 15 Jun 2016 08:26:00 +0000 (09:26 +0100)]
Implemented Upload methods in Texture to upload data from PixelData objects

Change-Id: I5d451dcf4a8a28bf3561e56b4280f352392c3c65

8 years agoRevert bug fix in renderer 87/75287/1
Ferran Sole [Fri, 17 Jun 2016 08:27:42 +0000 (09:27 +0100)]
Revert bug fix in renderer

Change-Id: Ie4154b9522943df483bd68226e71ddf2b80163b4

8 years ago(Touch) Added pressure, radius & angle information 79/74579/8
Adeel Kazmi [Mon, 13 Jun 2016 15:32:11 +0000 (16:32 +0100)]
(Touch) Added pressure, radius & angle information

Refactored Integration and internal touch processing to use new Point rather than TouchPoint
so we can store the new parameters.

Change-Id: If35d6c4a156c19391c736b750c7673631a7a4ef0

8 years agoExtend Property::Map to support Index-Value pairs 31/74831/3
Xiangyin Ma [Wed, 15 Jun 2016 17:27:45 +0000 (18:27 +0100)]
Extend Property::Map to support Index-Value pairs

Change-Id: I34039e8f6a41e3d41a364c668652c12cbeaba535

8 years agoAllow new texture to be created from native images 30/74230/8
Ferran Sole [Mon, 13 Jun 2016 08:59:10 +0000 (09:59 +0100)]
Allow new texture to be created from native images

* Added new constructor to Textures so they can be created from a native image

Change-Id: Id040668bbd37b864fa24935452cb786b4ad79f07

8 years agoMerge "(Actor) Add ability to connect to new touch signal via scripts" into devel...
David Steele [Mon, 13 Jun 2016 12:30:37 +0000 (05:30 -0700)]
Merge "(Actor) Add ability to connect to new touch signal via scripts" into devel/master

8 years agoMerge "Remove unnecessary functions from Scripting, support strings in actor properti...
David Steele [Mon, 13 Jun 2016 10:27:55 +0000 (03:27 -0700)]
Merge "Remove unnecessary functions from Scripting, support strings in actor properties" into devel/master

8 years agoMerge "Removed HasRendered() from Core RenderStatus." into devel/master
Paul Wisbey [Mon, 13 Jun 2016 10:19:05 +0000 (03:19 -0700)]
Merge "Removed HasRendered() from Core RenderStatus." into devel/master

8 years ago(Actor) Add ability to connect to new touch signal via scripts 39/74239/1
Adeel Kazmi [Mon, 13 Jun 2016 09:50:36 +0000 (10:50 +0100)]
(Actor) Add ability to connect to new touch signal via scripts

Change-Id: I59e46cc70473e729415cc16ae056b7c5de9d237b

8 years agoRemove unnecessary functions from Scripting, support strings in actor properties 46/73846/4
Adeel Kazmi [Thu, 9 Jun 2016 17:24:04 +0000 (18:24 +0100)]
Remove unnecessary functions from Scripting, support strings in actor properties

- Removed unused methods from Scripting
- Parse property string to set AnchorPoint & ParentOrigin
- Modify some of the property helper macros to output DALi coding standard variables

Change-Id: Ic600ee626aec7f6355edfb792232d329d19bf074

8 years agoDALi Version 1.1.38 13/74013/1 dali_1.1.38
Xiangyin Ma [Fri, 10 Jun 2016 10:47:39 +0000 (11:47 +0100)]
DALi Version 1.1.38

Change-Id: Ie3d05b6be645799770ca337dcdbedc1d1223a4dc

8 years agoRemoved HasRendered() from Core RenderStatus. 49/73849/2
adam.b [Thu, 9 Jun 2016 17:59:10 +0000 (18:59 +0100)]
Removed HasRendered() from Core RenderStatus.

Change-Id: Ib45517e36e515bd9bf288a71bb1f7358e5ecaba7

8 years agoNew Texture API clean-up 60/73760/4
Ferran Sole [Thu, 9 Jun 2016 10:25:28 +0000 (11:25 +0100)]
New Texture API clean-up

- New API to upload data to textures and to set output texture of a framebuffer
- Added test cases for Texture and FrameBuffer objects

Change-Id: I99aa20da83ab2a6c76655b331d1520cdc90c7916

8 years ago(Documentation) Remove reference to ImageView in RenderTask 55/73555/2
Adeel Kazmi [Wed, 8 Jun 2016 12:27:12 +0000 (13:27 +0100)]
(Documentation) Remove reference to ImageView in RenderTask

Change-Id: I0671f77b8cbd5f797462b21cc2611e9a5b2714ad

8 years ago(Documentation) Remove references to Toolkit controls 08/73308/2
Adeel Kazmi [Tue, 7 Jun 2016 11:53:24 +0000 (12:53 +0100)]
(Documentation) Remove references to Toolkit controls

Change-Id: I5a4eb87e762ba3df58b2a966de5985a53616cf25

8 years agoChanged SINCE tags for new APIs introduced by New Texture 67/73067/3
Ferran Sole [Mon, 6 Jun 2016 08:21:59 +0000 (09:21 +0100)]
Changed SINCE tags for new APIs introduced by New Texture

- "SINCE" tags for new APIs introduced by patch "Added Texture object
   and FrameBuffer object to rendering API" were incorrect
- Added test cases for apis SetFrameBuffer and GetFrameBuffer in RenderTask

Change-Id: I613e86aa18613c2988295f07de74870843232f8d

8 years agoMerge "Change PixelData to use the handle/body pattern" into devel/master
Kimmo Hoikka [Fri, 3 Jun 2016 16:11:47 +0000 (09:11 -0700)]
Merge "Change PixelData to use the handle/body pattern" into devel/master

8 years agoMerge "New DepthTestMode API in Renderer" into devel/master
Paul Wisbey [Fri, 3 Jun 2016 16:11:17 +0000 (09:11 -0700)]
Merge "New DepthTestMode API in Renderer" into devel/master

8 years agoNew DepthTestMode API in Renderer 92/72592/15
Tom Robinson [Wed, 1 Jun 2016 16:29:36 +0000 (17:29 +0100)]
New DepthTestMode API in Renderer

DepthTestMode in Renderer:
  OFF - Renderer does not read from the depth buffer
  AUTO - Renderer only reads from the depth buffer if in a 3D layer (Default)
  ON - Renderer reads from the depth buffer regardless of layer type

Note: The SetDepthTestDisabled() API in Layer overrides Renderer.
If SetDepthTestDisabled( true ) is called, depth testing is NEVER done (regardless of Renderer properties).
If SetDepthTestDisabled( false ) is called, depth testing is MAY be done. This will be dependant on the Renderer properties.

Note: The default for DepthTestDisabled in Layer is now True. IE. Depth testing is disabled by default.

When the Layer behavior is changed ( Layer::SetBehavior() ), this will update Layer::SetDepthTestDisabled() with appropriate default behavior. IE:

Layer::SetBehavior( Dali::Layer::LAYER_2D ) -> Depth testing is turned off
Layer::SetBehavior( Dali::Layer::LAYER_3D ) -> Depth testing is turned on

This is to encourage optimal settings, but Layer::SetDepthTestDisabled() CAN be modified after changed layer behavior if required.

Change-Id: I874f45eca283e3960b6f6265272754e3e66d267c

8 years agoChange PixelData to use the handle/body pattern 13/71513/5
Xiangyin Ma [Wed, 25 May 2016 14:22:58 +0000 (15:22 +0100)]
Change PixelData to use the handle/body pattern

Change-Id: I54d2c96b1111f90dd214ac257b82ade79cdacb9a

8 years agoMerge "DALi Version 1.1.37" into devel/master
Paul Wisbey [Fri, 3 Jun 2016 14:20:06 +0000 (07:20 -0700)]
Merge "DALi Version 1.1.37" into devel/master

8 years agoDALi Version 1.1.37 12/73012/1 dali_1.1.37
Tom Robinson [Fri, 3 Jun 2016 13:33:18 +0000 (14:33 +0100)]
DALi Version 1.1.37

Change-Id: I7513dc130ff0974fb67aff77ffbcf4cd30b424a7

8 years agoAdded Texture object and FrameBuffer object to rendering API 34/71834/19
Ferran Sole [Fri, 27 May 2016 08:53:58 +0000 (09:53 +0100)]
Added Texture object and FrameBuffer object to rendering API

* New Texture object which can be used in TextureSets to provide data to shaders
* Textures can be 2D or Cube maps and can have mipmaps
* Mipmaps can be generated manually or automatically by the GPU
* Added sampling modes which requires mipmaps (NEAREST_MIPMAP_NEAREST,LINEAR_MIPMAP_NEAREST,...)
* New FrameBuffer object which can use Texture as color output
* Added API to set FrameBuffer as the target for a RenderTask

Change-Id: Ia41e9cd11b3a4b4a49e5141fabf90a9cc50b1a97

8 years agoAdded class to replace TouchEvent 08/70808/12
Adeel Kazmi [Thu, 19 May 2016 17:18:33 +0000 (18:18 +0100)]
Added class to replace TouchEvent

Fixes following review:

Removed Internal::TouchData::GetPoint()
Cleaned up signal sending from TouchEventProcessor
Changed new Actor::TouchSignal to pass TouchData handle as const ref.
Changed new Stage::TouchedSignal to pass TouchData handle as const ref.
Changed API of TouchData to return by value where appropriate and removed
all asserts.
Changed API of TouchData to use size_t for point index and point count.

Added test cases for touch processing using touch data ( a copy and paste
of the existing test cases, plus a negative test case for the out of bounds
check in the public API for TouchData )

Change-Id: I8a58775f7a70a3bed8514439c627f261ac4f5807

8 years agoDALi Version 1.1.36 90/71890/1 dali_1.1.36
Richard Huang [Fri, 27 May 2016 11:20:15 +0000 (12:20 +0100)]
DALi Version 1.1.36

Change-Id: Ic813f231541869597d4848f3fa19a816993931b0

8 years agoMerge "Allows debug builds to be enabled for GBS builds" into devel/master
Adeel Kazmi [Thu, 26 May 2016 07:31:40 +0000 (00:31 -0700)]
Merge "Allows debug builds to be enabled for GBS builds" into devel/master

8 years agoMerge "Removed unused TouchData from Integration API & TouchResampler" into devel...
Adeel Kazmi [Wed, 25 May 2016 10:19:48 +0000 (03:19 -0700)]
Merge "Removed unused TouchData from Integration API & TouchResampler" into devel/master

8 years agoFix comments in child property registration API 26/71426/1
Richard Huang [Wed, 25 May 2016 09:58:09 +0000 (10:58 +0100)]
Fix comments in child property registration API

Change-Id: Ia2f955996486312b121f3ef0005e3d059829653f

8 years agoAllows debug builds to be enabled for GBS builds 88/71188/5
Tom Robinson [Tue, 24 May 2016 10:51:18 +0000 (11:51 +0100)]
Allows debug builds to be enabled for GBS builds

You can now enable a debug build of DALi via GBS by adding the following to your GBS build line:

--define "%enable_debug 1"

Details in README file.

Change-Id: Icd0eccda950ceeb21eaa50956bebc78deb6973e5

8 years agoRemoved unused TouchData from Integration API & TouchResampler 18/71218/1
Adeel Kazmi [Tue, 24 May 2016 11:49:34 +0000 (12:49 +0100)]
Removed unused TouchData from Integration API & TouchResampler

Change-Id: Idec16fe60b9f5ec1cecbc9835e0a7aabb861c98f

8 years agoMerge "Type registry helper: Core change to make usable for all implementations of...
Adeel Kazmi [Fri, 20 May 2016 17:25:12 +0000 (10:25 -0700)]
Merge "Type registry helper: Core change to make usable for all implementations of CustomActor" into devel/master

8 years agoType registry helper: Core change to make usable for all implementations of CustomActor 68/69768/13
Tom Robinson [Mon, 16 May 2016 15:21:56 +0000 (16:21 +0100)]
Type registry helper: Core change to make usable for all implementations of CustomActor

Change-Id: I0a0313a560739b2d033b6be619637072b66900ca

8 years agoObject::GetPropertyType should return Property::NONE for non-existing child properties 95/70795/1
Richard Huang [Fri, 20 May 2016 14:17:42 +0000 (15:17 +0100)]
Object::GetPropertyType should return Property::NONE for non-existing child properties

Change-Id: Ib1383338deaa369636fb4c2b5ae86a29d6386c97

8 years agoDALi Version 1.1.35 50/70750/1 dali_1.1.35
Nick Holland [Fri, 20 May 2016 10:17:15 +0000 (11:17 +0100)]
DALi Version 1.1.35

Change-Id: I213ca1ca8377b409e35f83be72e61420d6400db6

8 years agoSupport for child properties registration 74/70174/4
Richard Huang [Wed, 18 May 2016 12:05:20 +0000 (13:05 +0100)]
Support for child properties registration

The object should be able to use type registry to register properties
that it (as a parent) supports in its children.

This can be done through TypeRegistry::ChildPropertyRegistration or
the macro DALI_CHILD_PROPERTY_REGISTRATION.

Change-Id: Ic83ab5bc4afeb5ed41c46a6a300bd329d2a4b443

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