platform/core/uifw/dali-core.git
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

8 years agoDALi Version 1.1.21 09/59309/1 dali_1.1.21
Adeel Kazmi [Fri, 12 Feb 2016 10:31:45 +0000 (10:31 +0000)]
DALi Version 1.1.21

Change-Id: Ie8e9b1bfc8f740c08e2a744c376473815bbeb573

8 years agoMerge "Upgraded test harness" into devel/master
Adeel Kazmi [Tue, 9 Feb 2016 14:45:52 +0000 (06:45 -0800)]
Merge "Upgraded test harness" into devel/master

8 years agoFix for building error on gcc 4.6.3 43/59043/2
Ferran Sole [Mon, 8 Feb 2016 16:05:54 +0000 (16:05 +0000)]
Fix for building error on gcc 4.6.3

Change-Id: I7d810c8f5387f0c36f40b62907367572414d3dca

8 years agoFix problems introduced by doxygen changes 45/59045/1
Adeel Kazmi [Mon, 8 Feb 2016 18:48:45 +0000 (18:48 +0000)]
Fix problems introduced by doxygen changes

Change-Id: Ibf4f5cad2b4fc0abfbbcd997c5d7abe41b55f6f3

8 years agoMerge "Update Object's public header comments" into devel/master
Adeel Kazmi [Mon, 8 Feb 2016 18:29:20 +0000 (10:29 -0800)]
Merge "Update Object's public header comments" into devel/master

8 years agoMerge "Update Events' public header comments" into devel/master
Adeel Kazmi [Mon, 8 Feb 2016 18:29:09 +0000 (10:29 -0800)]
Merge "Update Events' public header comments" into devel/master

8 years agoMerge "Update Common's public header comments" into devel/master
Adeel Kazmi [Mon, 8 Feb 2016 18:27:57 +0000 (10:27 -0800)]
Merge "Update Common's public header comments" into devel/master

8 years agoMerge "Update Animation's public header comments" into devel/master
Adeel Kazmi [Mon, 8 Feb 2016 18:27:09 +0000 (10:27 -0800)]
Merge "Update Animation's public header comments" into devel/master

8 years agoMerge "Update Actors' public header comments" into devel/master
Adeel Kazmi [Mon, 8 Feb 2016 18:25:29 +0000 (10:25 -0800)]
Merge "Update Actors' public header comments" into devel/master

8 years agoUpgraded test harness 33/58533/7
David Steele [Mon, 1 Feb 2016 16:26:31 +0000 (16:26 +0000)]
Upgraded test harness

A new Serial mode has been added to the test harness that will run
test cases in serial without using Testkit Lite. This executes all
the dali test cases in ~35 seconds, and dumps the test case output
to stdout/stderr. It can be run using "execute.sh -S"

Have changed the Parallel mode to always re-run failing test cases,
causing it to display the failing checks.

All types of execution now write to summary.xml, and display a human
readable version of it before exiting.

execute.sh's exit status has been changed - 0 means no failures,
1 means there was a test case failure.

Ensured TestGLAbstraction initialization covers all member variables.

Change-Id: I14c46b190f0ab4c832746971f39a4ecce0eee03d
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoMerge "Move blending and culling options from Material to Renderer" into devel/master
Kimmo Hoikka [Mon, 8 Feb 2016 12:55:52 +0000 (04:55 -0800)]
Merge "Move blending and culling options from Material to Renderer" into devel/master

8 years agoMove blending and culling options from Material to Renderer 65/57965/8
x1ma [Tue, 26 Jan 2016 10:51:59 +0000 (10:51 +0000)]
Move blending and culling options from Material to Renderer

Change-Id: I9a8ee1a658d750ed84d7cd0c044ca3b8d1bcb2b2

8 years agoAdded Animation GetState() 27/58527/9
Lee Morgan [Mon, 1 Feb 2016 15:51:33 +0000 (15:51 +0000)]
Added Animation GetState()

Change-Id: I3c8103c4752f65840ed16f8b3406279049a57912

8 years agoDALi Version 1.1.20 45/58945/1 dali_1.1.20
Xiangyin Ma [Fri, 5 Feb 2016 08:52:40 +0000 (08:52 +0000)]
DALi Version 1.1.20

Change-Id: I54d1000a06e8575ea6ef6b8576dc8da071376200

8 years agoEnsuring GL Sync is only used for RefreshOnce render tasks 59/58259/6
David Steele [Thu, 28 Jan 2016 14:37:21 +0000 (14:37 +0000)]
Ensuring GL Sync is only used for RefreshOnce render tasks

GL Sync is currently used when a framebuffer is backed with a native
image.  It is tracked using a RenderTracker, which is created in
SceneGraph::RenderTask::PrepareRenderInstruction.  In
RenderManager::DoRender, if the render tracker is available, then this
creates a sync object.  Consequently, if the render task is a
RefreshAlways task, then a sync object is created each frame.

This change ensures that a render tracker is only created for a
RefreshOnce render tracker, and that the sync object is created only
once, rather than every frame.

Change-Id: I93f5c2649c58cc3100b4ddc8546cf023cd728e5a
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoUpdate Actors' public header comments 45/58545/6
Seoyeon Kim [Tue, 2 Feb 2016 00:43:07 +0000 (09:43 +0900)]
Update Actors' public header comments

Change-Id: I4e3e80cef878265603ec85e368feb341879a2b12

8 years agoUpdate Events' public header comments 57/58557/3
Seoyeon Kim [Tue, 2 Feb 2016 01:47:50 +0000 (10:47 +0900)]
Update Events' public header comments

Change-Id: I5bfe89ed6d8f25a41966d8ed595753446f3a8868

8 years agoUpdate Common's public header comments 56/58556/3
Seoyeon Kim [Tue, 2 Feb 2016 01:41:50 +0000 (10:41 +0900)]
Update Common's public header comments

Change-Id: I9eaee3ab5a4eed4bc1867ff35b9ed67827c3a31f

8 years agoUpdate Animation's public header comments 55/58555/3
Seoyeon Kim [Tue, 2 Feb 2016 01:33:32 +0000 (10:33 +0900)]
Update Animation's public header comments

Change-Id: I7997fdce2be6deda51f49742264a308555566873

8 years agoFix Layer 3D documentation 02/58002/3
Nick Holland [Tue, 26 Jan 2016 15:50:18 +0000 (15:50 +0000)]
Fix Layer 3D documentation

Current description is incorrect.

Change-Id: Ia6751617149f7191688a65d30fc9c8f53e9d3afb

8 years agoUpdate Object's public header comments 27/58727/1
Seoyeon Kim [Wed, 3 Feb 2016 06:09:13 +0000 (15:09 +0900)]
Update Object's public header comments

Change-Id: I19b209539446e2ded3849a668b08633c4f968dcc

8 years agoMerge "NativeImageSource with tbm_surface for tizen 3.0 wayland" into devel/master
taeyoon [Tue, 2 Feb 2016 01:29:57 +0000 (17:29 -0800)]
Merge "NativeImageSource with tbm_surface for tizen 3.0 wayland" into devel/master

8 years ago(FrameBufferImage) Store ReleasePolicy to satisfy Tizen API policy 25/58525/2
Adeel Kazmi [Mon, 1 Feb 2016 15:31:41 +0000 (15:31 +0000)]
(FrameBufferImage) Store ReleasePolicy to satisfy Tizen API policy

Only store the ReleasePolicy set as it's required satisfy Tizen API policy. However, it is not
used internally.

Change-Id: I768f7871d8110476a232f794acb787ed02e3a81b

8 years agoMerge "Add @DEPRECATED to all public symbols of ImageActor & ShaderEffect" into devel...
Adeel Kazmi [Mon, 1 Feb 2016 12:48:47 +0000 (04:48 -0800)]
Merge "Add @DEPRECATED to all public symbols of ImageActor & ShaderEffect" into devel/master

8 years agoMerge "Added Animation loop count" into devel/master
Adeel Kazmi [Mon, 1 Feb 2016 12:45:03 +0000 (04:45 -0800)]
Merge "Added Animation loop count" into devel/master

8 years agoNativeImageSource with tbm_surface for tizen 3.0 wayland 76/52176/15
taeyoon [Thu, 19 Nov 2015 13:01:56 +0000 (22:01 +0900)]
NativeImageSource with tbm_surface for tizen 3.0 wayland

 - NativeImageSource uses XPixmap or Ecore Pixmap type in x windows system.
 - Tizen 3.0 wayland doesn't support the pixmap type.
 -> Replaces pixmap to tbm_surface.
 -> Adds two public-APIs to get sampler type and prefix for tbm_surface rendering
 -> Adds NativeImageInterface::Extension header as devel-api

Change-Id: I5c8cadd96f87d4d1db9e30101cd647c697e3c7ea

8 years agoAdded Animation loop count 39/56939/20
Lee Morgan [Wed, 13 Jan 2016 16:26:46 +0000 (16:26 +0000)]
Added Animation loop count

Change-Id: Ic944007d1963c22642b568f8fd7b1c78b44a4fa8

8 years agoDALi Version 1.1.19 42/58342/1 dali_1.1.19
Tom Robinson [Fri, 29 Jan 2016 11:33:11 +0000 (11:33 +0000)]
DALi Version 1.1.19

Change-Id: I2ded14e11f19e1364dcb1aa784b201266dd7a2d2

8 years agoMerge "Fixed Builder not allowing nested maps for properties" into devel/master
Adeel Kazmi [Thu, 28 Jan 2016 18:39:58 +0000 (10:39 -0800)]
Merge "Fixed Builder not allowing nested maps for properties" into devel/master

8 years agoMarked STEREO_INTERLACED as deprecated from public api 27/58127/4
Tom Robinson [Wed, 27 Jan 2016 16:55:00 +0000 (16:55 +0000)]
Marked STEREO_INTERLACED as deprecated from public api

Change-Id: I0d17d33b5a8a741987cf33cf6bc7571e55bbb16c

8 years agoFixed Builder not allowing nested maps for properties 90/57290/2
Tom Robinson [Mon, 18 Jan 2016 15:50:01 +0000 (15:50 +0000)]
Fixed Builder not allowing nested maps for properties

Change-Id: I4ff1fa3edddd0cd76310f495fbf53bf199dc768f

8 years agoAdd @DEPRECATED to all public symbols of ImageActor & ShaderEffect 31/58031/2
Yoonsang Lee [Wed, 27 Jan 2016 03:03:30 +0000 (12:03 +0900)]
Add @DEPRECATED to all public symbols of ImageActor & ShaderEffect

Change-Id: Id5e39573f38bbf94fe67b1ea0df5989b05f8ae30

8 years agoApply the new doxygen tagging rule for @DEPRECATED 12/57712/4
Yoonsang Lee [Fri, 22 Jan 2016 04:43:00 +0000 (13:43 +0900)]
Apply the new doxygen tagging rule for @DEPRECATED

- Change @deprecrated 1.x.x to @DEPRECATED_1_x.x to follow the new doxygen tagging rule.

Change-Id: Ic8b4fbc7462777cdcfcad1aad3a856bd1e21bb0c

8 years agoApply the new doxygen tagging rule for @SINCE 44/57544/9
Yoonsang Lee [Fri, 22 Jan 2016 00:13:06 +0000 (09:13 +0900)]
Apply the new doxygen tagging rule for @SINCE

- Change @since 1.1.x to @SINCE_1_1.x to follow the new doxygen tagging rule.
- Add @SINCE_1_0.0 for all symbols not having @since tag.
- Sort the order of doxygen tags as guided by the Tizen guideline.
  ('platform','deprecated','brief','details','since_tizen','privlevel',
   'privilege', 'remarks','param','return','retval','exception','pre','post',
   'note','see')

Change-Id: I99ce2a063f1d28130bc7951de212c47b5af06509

8 years agoMerge "Added @since to type-registry.h API change" into devel/master
Adeel Kazmi [Fri, 22 Jan 2016 13:35:29 +0000 (05:35 -0800)]
Merge "Added @since to type-registry.h API change" into devel/master

8 years agoMerge "DALi Version 1.1.18" into devel/master
Adeel Kazmi [Fri, 22 Jan 2016 13:31:56 +0000 (05:31 -0800)]
Merge "DALi Version 1.1.18" into devel/master

8 years agoDALi Version 1.1.18 74/57774/1 dali_1.1.18
Richard Huang [Fri, 22 Jan 2016 13:28:35 +0000 (13:28 +0000)]
DALi Version 1.1.18

Change-Id: I3a767c400bd27c7f81666fd290ae4ac17bc49f8c

8 years agoMerge changes I523a4ff5,Ic7d369c0 into devel/master
Kimmo Hoikka [Fri, 22 Jan 2016 11:31:40 +0000 (03:31 -0800)]
Merge changes I523a4ff5,Ic7d369c0 into devel/master

* changes:
  Account for rotation in frustum culling algorithm
  Fixed frustum culling when scale is applied

8 years agoAdded @since to type-registry.h API change 58/57758/1
x1ma [Fri, 22 Jan 2016 11:04:09 +0000 (11:04 +0000)]
Added @since to type-registry.h API change

Change-Id: I803903f320784ef87a719ef62174f7e7910f6279

8 years agoReporting dali version on stderr instead of stdout 05/56805/3
David Steele [Tue, 12 Jan 2016 17:33:53 +0000 (17:33 +0000)]
Reporting dali version on stderr instead of stdout

Change-Id: I3d2508c02ecd30487b5e77a9d1a202274569bddd

8 years agoMerge "Simplify javascript layer behavior enum STRING" into devel/master
Adeel Kazmi [Wed, 20 Jan 2016 15:33:35 +0000 (07:33 -0800)]
Merge "Simplify javascript layer behavior enum STRING" into devel/master

8 years agoSimplify javascript layer behavior enum STRING 33/55533/5
Nick Holland [Wed, 20 Jan 2016 10:56:39 +0000 (10:56 +0000)]
Simplify javascript layer behavior enum STRING

Fixed false utc Layer test case which would always pass.

This seems better in js code:

before: layer.behavior = "Dali::Layer::LAYER_3D";

after: layer.behavior = "LAYER_3D";

Change-Id: I84109f55d32f6cdb00f10f763439bc6420235678

8 years ago(Animatable property) default value setting and uniform mapping 64/57164/5
x1ma [Fri, 15 Jan 2016 13:58:22 +0000 (13:58 +0000)]
(Animatable property) default value setting and uniform mapping

Change-Id: I2a6413863e597c588b14ddce24f701c5a2aa64c3

8 years agoAccount for rotation in frustum culling algorithm 66/57366/2
Paul Wisbey [Tue, 19 Jan 2016 11:54:59 +0000 (11:54 +0000)]
Account for rotation in frustum culling algorithm

Change-Id: I523a4ff53376d5cf035d0a797da00dc99f946d97

8 years agoFixed frustum culling when scale is applied 94/57294/1
Paul Wisbey [Mon, 18 Jan 2016 18:21:39 +0000 (18:21 +0000)]
Fixed frustum culling when scale is applied

Change-Id: Ic7d369c05ab80d8699340d87944c38c136a0cf46

8 years agoAdded @since to pixel.h enumeration changes 52/57052/4
Tom Robinson [Thu, 14 Jan 2016 18:06:15 +0000 (18:06 +0000)]
Added @since to pixel.h enumeration changes

Change-Id: I1858e716003b10b20f021aa4a8db7c9bbf662448

8 years agoDALi Version 1.1.17 68/57168/1 dali_1.1.17
Nick Holland [Fri, 15 Jan 2016 14:40:15 +0000 (14:40 +0000)]
DALi Version 1.1.17

Change-Id: I1aecf3b4e0b253f04f0effd1dd27f6d7e1248cdd

8 years agoMerge "Added ASTC Native file format loader" into devel/master
Adeel Kazmi [Thu, 14 Jan 2016 17:32:04 +0000 (09:32 -0800)]
Merge "Added ASTC Native file format loader" into devel/master

8 years agoMerge "Sort overlay actors based on depth index" into devel/master
Paul Wisbey [Thu, 14 Jan 2016 14:18:32 +0000 (06:18 -0800)]
Merge "Sort overlay actors based on depth index" into devel/master

8 years agoAdded ASTC Native file format loader 45/56645/6
Tom Robinson [Mon, 11 Jan 2016 16:50:26 +0000 (16:50 +0000)]
Added ASTC Native file format loader

ASTC can be wrapped in a KTX file, but also has its own native file format.
This patch provides support for the native ASTC file format (.astc).

Textures can be generated using tools (Eg. Mali texture compression tool).

Note: ASTC is "OpenGL friendly" in that the textures are pre-flipped vertically.
In DALi there is currently not a differenciation between different texture compression formats in that the data (once the header is extracted) is given to the hardware as-is.
For this reason textures must currently be pre-flipped vertically (before compression) when using the native .astc file format with DALI.

An example .astc file is included as part of the unit tests.

Change-Id: I78025f11f9aed23ed9ccf369057ce9c5f3a65fca

8 years agoSort overlay actors based on depth index 50/56750/6
Ferran Sole [Tue, 12 Jan 2016 10:28:23 +0000 (10:28 +0000)]
Sort overlay actors based on depth index

Overlay actors were not ordered by depth index for rendering

* Sort overlay actors using same algorithm used by "regular" actors
* Fixed bug in hit test algorithm for overlay actors
* Added test cases to check rendering order of color and overlay actors in 2D layers

Change-Id: I004019faf74a70d3c05502d95c665162cf9f924b

8 years agoFixed target size for Actor and added script support for OnRelayoutSignal 51/56651/4
Richard Huang [Mon, 11 Jan 2016 18:15:06 +0000 (18:15 +0000)]
Fixed target size for Actor and added script support for OnRelayoutSignal

Change-Id: Iad5292fb3ac5baeca74bd66c4f1372da400fed09

8 years agoRemoved sets of connected/disconnected nodes. Brought back a vector of sorted nodes... 23/56423/7
Adam Bialogonski [Thu, 7 Jan 2016 16:51:17 +0000 (16:51 +0000)]
Removed sets of connected/disconnected nodes. Brought back a vector of sorted nodes to support better cache usage.

Change-Id: Ifb0aef63759639df77c1c58e5a9b799d7f02f8b0

8 years agoSupport for ASTC compressed textures wrapped in KTX files 75/54475/12
Tom Robinson [Tue, 15 Dec 2015 11:27:40 +0000 (11:27 +0000)]
Support for ASTC compressed textures wrapped in KTX files

ASTC is supported by OpenGL ES 3.1 and above.
To build this patch with ASTC support, a GLES 31 context must be specified.

To build for desktop with configure, the gles version must be set to 31.
Here is an example configure line:
CXXFLAGS="-g -O0 -Wno-unused-local-typedefs" CXX="ccache g++" ./configure --prefix=$DESKTOP_PREFIX --enable-debug=yes --enable-profile=UBUNTU --enable-gles=31

With GBS, add the following to your gbs build line:
--define "%target_gles_version 31"

Change-Id: I123ccac938c340ccfabf81711a2c27cd4dd43824

8 years agoDALi Version 1.1.16 94/56494/1 dali_1.1.16
Lee Morgan [Fri, 8 Jan 2016 14:32:14 +0000 (14:32 +0000)]
DALi Version 1.1.16

Change-Id: Ice376cf1f83a757bc4e84df05b72e28a08a60698

8 years agoFix license issues from the protex server 67/56367/1
Seoyeon Kim [Thu, 7 Jan 2016 05:57:44 +0000 (14:57 +0900)]
Fix license issues from the protex server

- Change licence names in .spec to match SPDX identifiers

Change-Id: I681e47c688466ef4ed9cadf0c27148849da7d118

8 years agoMerge "Renamed empty animation test function" into devel/master
Adeel Kazmi [Wed, 6 Jan 2016 17:14:41 +0000 (09:14 -0800)]
Merge "Renamed empty animation test function" into devel/master

8 years agoMerge "(ImageActor) Partially restored Get/Set Image & NinePatchBorder APIs" into...
Kimmo Hoikka [Wed, 6 Jan 2016 17:06:14 +0000 (09:06 -0800)]
Merge "(ImageActor) Partially restored Get/Set Image & NinePatchBorder APIs" into devel/master

8 years agoRenamed empty animation test function 45/56345/1
David Steele [Wed, 6 Jan 2016 14:24:04 +0000 (14:24 +0000)]
Renamed empty animation test function

Change-Id: Id7dc285ed337b109c23fb8e3da8e4dc1984ece9b

8 years agoUpdated README for test cases 36/56336/2
David Steele [Wed, 6 Jan 2016 11:25:31 +0000 (11:25 +0000)]
Updated README for test cases

Change-Id: I03c58b0eb4e25ff600e9d169997936cc9d07589a

8 years ago(ImageActor) Partially restored Get/Set Image & NinePatchBorder APIs 47/56247/2
Adeel Kazmi [Tue, 5 Jan 2016 18:10:10 +0000 (18:10 +0000)]
(ImageActor) Partially restored Get/Set Image & NinePatchBorder APIs

- The value is only stored so that it can be returned in the getter.
- Internally, we do not support any other style apart from STYLE_QUAD.

Change-Id: Ifad7dbfd60bbaa6761a8c0fe4c4e76ab1ba457c3

8 years agoFix svace issue, DEREF_AFTER_NULL case 62/56062/5
taeyoon [Tue, 22 Dec 2015 10:50:10 +0000 (19:50 +0900)]
Fix svace issue, DEREF_AFTER_NULL case

  Move 'SetTextureImage( index, imagePtr )' to if statement for checking image handle
  - If image handle is NULL, imagePtr is also NULL in SetTextureImage().

Change-Id: I2dc389090f094e85cd0eb6285756434dcdb90617

8 years agoMerge "(Degree) Restored removed angle constants" into devel/master
Kimmo Hoikka [Tue, 5 Jan 2016 16:40:41 +0000 (08:40 -0800)]
Merge "(Degree) Restored removed angle constants" into devel/master

8 years agoRemoved automated test case style folder 30/56230/1
David Steele [Tue, 5 Jan 2016 12:46:35 +0000 (12:46 +0000)]
Removed automated test case style folder

Change-Id: Ib10b7930c084ecf5fdc5fbecb8afc2d6cb6191b3

8 years ago(Degree) Restored removed angle constants 14/56114/1
Adeel Kazmi [Mon, 4 Jan 2016 12:01:53 +0000 (12:01 +0000)]
(Degree) Restored removed angle constants

- Required for binary/source compatibility.

Change-Id: Icc9bf979ec5a58b4ea6632dced162be872ed371f

8 years agoDALi Version 1.1.15 23/55423/1 dali_1.1.15
Adeel Kazmi [Wed, 23 Dec 2015 17:21:16 +0000 (17:21 +0000)]
DALi Version 1.1.15

Change-Id: I84c24982febe30c41239f35a31b234fdec57cd83

8 years agoBug fix FixedSizeMemoryPool 99/54899/1
Ferran Sole [Fri, 18 Dec 2015 11:49:03 +0000 (11:49 +0000)]
Bug fix FixedSizeMemoryPool

Change-Id: Ie94f52f2f4cee7bad19bb83025b1a059e13df39e