platform/core/uifw/dali-core.git
9 years agoDALi Version 1.0.11 39/28339/1 dali_1.0.11
Nick Holland [Thu, 2 Oct 2014 14:58:03 +0000 (15:58 +0100)]
DALi Version 1.0.11

Change-Id: I156166c1371f43b5dd70ede268db5c4a30af0a3c

9 years ago(Animation) Remove DestroyAction 05/28205/1
Adeel Kazmi [Tue, 30 Sep 2014 09:14:08 +0000 (10:14 +0100)]
(Animation) Remove DestroyAction

Change-Id: If0e19081e340a65204c4b4cc65d3bfbdd6d60b24

9 years ago(Animation) Allow the value to be baked upon property owner disconnection, DestroyEnd... 49/28149/8
Adeel Kazmi [Fri, 26 Sep 2014 16:28:23 +0000 (17:28 +0100)]
(Animation) Allow the value to be baked upon property owner disconnection, DestroyEndAction deprecated

[Problem]  If property owner is removed from the stage and even if Bake is set as the EndAction,
           the value is never baked.
[Cause]    We just disconnect with the current value set.
[Solution] If one of the bake options is selected then we jump to the final value
           Destroy end action deprecated as it is redundant

Change-Id: I9aab5cf6676a6fb1bcda9e9c90c644a3f3a1c57c

9 years ago(PropertyOwner) Distinguish between disconnection & destruction 42/28142/5
Adeel Kazmi [Fri, 26 Sep 2014 14:52:23 +0000 (15:52 +0100)]
(PropertyOwner) Distinguish between disconnection & destruction

There was no way to tell if the property-owner was destroyed or removed from the scene as
different operations may be required for the two scenarios.

Change-Id: If291c2dc7762e1839dbcce346620d8814f94b4d3

9 years agoFixed internal material test cases 50/28150/1
David Steele [Fri, 26 Sep 2014 17:17:21 +0000 (18:17 +0100)]
Fixed internal material test cases

[problem] Test cases rely on shader loading being immediate
[cause] Shader loading has changed to lazy load, context
relies on GlContextCreated() being called.
[solution] Fixup test setup.

Change-Id: I28c5f86873949b821386b941e26228775bb4d5ab
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoMerge "Stop heap allocating messages from UpdateManager for Animation and RenderTask...
Kimmo Hoikka [Thu, 25 Sep 2014 16:59:19 +0000 (09:59 -0700)]
Merge "Stop heap allocating messages from UpdateManager for Animation and RenderTask completions. Remove the dependency between update manager and event side rendertasklist, generalize notification mechanism" into tizen

9 years agoMerge "stop using bool as index for an unnecessary uninitialized array" into tizen
Adeel Kazmi [Thu, 25 Sep 2014 16:53:17 +0000 (09:53 -0700)]
Merge "stop using bool as index for an unnecessary uninitialized array" into tizen

9 years agoDALi Version 1.0.10 70/28070/1 dali_1.0.10
Lee Morgan [Thu, 25 Sep 2014 14:53:15 +0000 (15:53 +0100)]
DALi Version 1.0.10

Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Change-Id: I59e2f25d204e300c608602da75615351c55681c1
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
9 years agoStop heap allocating messages from UpdateManager for Animation and RenderTask complet... 42/27942/6
Kimmo Hoikka [Mon, 22 Sep 2014 16:26:47 +0000 (17:26 +0100)]
Stop heap allocating messages from UpdateManager for Animation and RenderTask completions.
Remove the dependency between update manager and event side rendertasklist, generalize notification mechanism

[Problem] cyclic dependencies, heap allocations potentially on a frame by frame basis
[Cause] update manager needed to call API in event side to get the message to sent
[Solution] pass the interface pointer to notification manager

Change-Id: If29f3fd9fe5c972cbf19fcb34a3adf800374b33a

9 years agostop using bool as index for an unnecessary uninitialized array 69/28069/2
Kimmo Hoikka [Thu, 25 Sep 2014 14:26:46 +0000 (15:26 +0100)]
stop using bool as index for an unnecessary uninitialized array

[Problem] bad code
[Cause]
[Solution] fix it

Change-Id: I9d44609e1125ede5c5aecff7755452e17994d67b

9 years agoMerge "(Properties) Specify which properties can be registered as animatable" into... accepted/tizen_3.0.2014.q3_common tizen_3.0.2014.q3_common accepted/tizen/common/20140925.172112 submit/tizen_common/20140925.141856 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
Kimmo Hoikka [Wed, 24 Sep 2014 13:17:22 +0000 (06:17 -0700)]
Merge "(Properties) Specify which properties can be registered as animatable" into tizen

9 years agoMerge "Added api to specify a playing range inside an animation" into tizen
Kimmo Hoikka [Wed, 24 Sep 2014 13:17:04 +0000 (06:17 -0700)]
Merge "Added api to specify a playing range inside an animation" into tizen

9 years agoMerge "Event-side size storage in Actor." into tizen
Kimmo Hoikka [Wed, 24 Sep 2014 11:44:56 +0000 (04:44 -0700)]
Merge "Event-side size storage in Actor." into tizen

9 years ago(Properties) Specify which properties can be registered as animatable 59/27959/2
Adeel Kazmi [Tue, 23 Sep 2014 13:18:04 +0000 (14:18 +0100)]
(Properties) Specify which properties can be registered as animatable

Change-Id: I9224afa9959dd8d7bc710d261077bf3b959ad6fb

9 years agoMerge "Added sub pixel itensity calculation for text rendering." into tizen
Kimmo Hoikka [Wed, 24 Sep 2014 08:34:03 +0000 (01:34 -0700)]
Merge "Added sub pixel itensity calculation for text rendering." into tizen

9 years agoAdded api to specify a playing range inside an animation 28/27728/8
Ferran Sole [Thu, 18 Sep 2014 09:19:02 +0000 (10:19 +0100)]
Added api to specify a playing range inside an animation

The user can now specify a range inside the animation so
when the animation play it will only play inside that range.

E.g

//Set play range between 0.2 and 0.8 progress
animation.SetPlayRange( Vector2( 0.2f, 0.8f ) );

//Animation will begin playing at progress 0.2 and will end at 0.8
animation.Play();

[Problem]  N/A
[Cause]    N/A
[Solution] N/A

Change-Id: I2677b8974fef1c4703c18b2b49f9d6a9f5f06047

9 years agoMerge "remove refobject based objects and dynamic casting from discard queue" into...
Kimmo Hoikka [Wed, 24 Sep 2014 08:20:08 +0000 (01:20 -0700)]
Merge "remove refobject based objects and dynamic casting from discard queue" into tizen

9 years agoAdded sub pixel itensity calculation for text rendering. 10/27910/3
Francisco Santos [Mon, 22 Sep 2014 16:28:37 +0000 (17:28 +0100)]
Added sub pixel itensity calculation for text rendering.

Change-Id: I454efac9e8eaa15b1db5b8b60bbe180d716d1150

9 years agoFixed bug in animation when specifying BakeFinal as destroy action. 81/27881/3
Ferran Sole [Mon, 22 Sep 2014 11:13:32 +0000 (12:13 +0100)]
Fixed bug in animation when specifying BakeFinal as destroy action.

[Problem] BakeFinal was ignored when specified for destroy action, it
          would just bake current value instead of final animation value.

[Solution] Bake final value when animation is destroyed if destroy action is BakeFinal.

Change-Id: I5acac43e0137359c7a26bca6362fb6a50b136248

9 years agoEvent-side size storage in Actor. 56/27956/2
Kingsley Stephens [Mon, 22 Sep 2014 12:25:59 +0000 (13:25 +0100)]
Event-side size storage in Actor.

Change-Id: Ia43f6cd2768882806c34be1f462c47e1e9f499da

9 years agoMerge "(Image) Remove API that allows various load/release policies with a NativeImag...
Adeel Kazmi [Tue, 23 Sep 2014 10:49:46 +0000 (03:49 -0700)]
Merge "(Image) Remove API that allows various load/release policies with a NativeImage" into tizen

9 years ago(Image) Remove API that allows various load/release policies with a NativeImage 39/27939/1
Adeel Kazmi [Tue, 23 Sep 2014 09:39:10 +0000 (10:39 +0100)]
(Image) Remove API that allows various load/release policies with a NativeImage

[Problem]  We have an API that makes the user think that we can alter the loading and releasing of
           native images. This is not the case (and no implementation is provided either).
[Solution] Remove the API.

Change-Id: I3219652937b70465429080a629f9ee77a501882a

9 years agoremove refobject based objects and dynamic casting from discard queue 39/27739/3
Kimmo Hoikka [Thu, 18 Sep 2014 11:49:01 +0000 (12:49 +0100)]
remove refobject based objects and dynamic casting from discard queue

[Problem] ineffient code
[Cause] unnecessary dynamic cast and discard wue usage
[Solution] remove it

Change-Id: I86ade981c07eabaf08f18aff530a80bf35c4a2ff

9 years agoDelay image size checking until someone asks for it 64/27364/5
Kimmo Hoikka [Thu, 11 Sep 2014 16:21:38 +0000 (17:21 +0100)]
Delay image size checking until someone asks for it

[Problem]
[Cause]
[Solution]

Change-Id: Ib20878cf15484816ada50e90b53249c169358793

9 years agoAdd GetNaturalSize to Actor and deriving classes. 04/27704/5
Kingsley Stephens [Wed, 17 Sep 2014 09:58:13 +0000 (10:58 +0100)]
Add GetNaturalSize to Actor and deriving classes.

Change-Id: I5562282646fb6d17b12cb0558854bffcc18cd4bb

9 years agoTextRenderer - Return from DoRender if the texture is null 60/27860/1
Victor Cebollada [Sat, 20 Sep 2014 08:52:59 +0000 (09:52 +0100)]
TextRenderer - Return from DoRender if the texture is null

Avoid TextRenderer::DoRender to assert if the texture is null.

Change-Id: Idcd0b913d66341874c44acf725f9cb0969d10149
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoMerge "Guard against invalid PanGesture timestamps" into tizen
Kimmo Hoikka [Fri, 19 Sep 2014 16:18:44 +0000 (09:18 -0700)]
Merge "Guard against invalid PanGesture timestamps" into tizen

9 years agoGuard against invalid PanGesture timestamps 19/27819/1
Paul Wisbey [Fri, 19 Sep 2014 10:51:51 +0000 (11:51 +0100)]
Guard against invalid PanGesture timestamps

[problem]     Pan prediction code is not robust enough.
[cause]       Assumptions made about PanGesture timestamps e.g. that current
              VSync time is older than queued PanGesture times.
[solution]    Added more guard logic.

Change-Id: I917fbf3c20367a071e122bb2565971725a5cafc3

9 years agoMerge "(Layer) Added a test for clipping" into tizen
Kimmo Hoikka [Thu, 18 Sep 2014 17:49:14 +0000 (10:49 -0700)]
Merge "(Layer) Added a test for clipping" into tizen

9 years agoDALi Version 1.0.9 54/27754/1 dali_1.0.9
Kingsley Stephens [Thu, 18 Sep 2014 14:02:15 +0000 (15:02 +0100)]
DALi Version 1.0.9

Change-Id: I7a8ed9a63fb383143cc47c428dcd8f5078a81e18

9 years ago(Layer) Added a test for clipping 51/27751/1
Adeel Kazmi [Thu, 18 Sep 2014 13:09:11 +0000 (14:09 +0100)]
(Layer) Added a test for clipping

Change-Id: I35e74c13f84d5ac10fa75d60441d20cee4427573

9 years agoMerge "Added api function to specify speed factor of an animation" into tizen
Kimmo Hoikka [Thu, 18 Sep 2014 09:06:17 +0000 (02:06 -0700)]
Merge "Added api function to specify speed factor of an animation" into tizen

9 years ago(Layer) Clipbox is now from the top-left 12/27612/3
Adeel Kazmi [Tue, 16 Sep 2014 14:42:53 +0000 (15:42 +0100)]
(Layer) Clipbox is now from the top-left

[Problem]  Setting a clip-box on a layer is from the bottom-left as poer the GL API, this is very
           confusing as it is different to the rest of our coordinate system
[Solution] Use top-left instead and do a conversion to the GL coordinate system internally for the
           GL API call.

Change-Id: I205fadf7bfd2448b9a3cb47ec1a2d28efdc5c590

9 years ago(AutomatedTests) Fix Ortho Hit Test 11/27611/2
Adeel Kazmi [Tue, 16 Sep 2014 14:31:11 +0000 (15:31 +0100)]
(AutomatedTests) Fix Ortho Hit Test

Change-Id: I9d6918beb20c43172e54c2f52f184851efaf9c6e

9 years agoMerge "(Layer) Correctly set clipping via properties" into tizen
Kimmo Hoikka [Tue, 16 Sep 2014 11:50:42 +0000 (04:50 -0700)]
Merge "(Layer) Correctly set clipping via properties" into tizen

9 years ago(Layer) Correctly set clipping via properties 97/27597/1
Adeel Kazmi [Tue, 16 Sep 2014 10:25:28 +0000 (11:25 +0100)]
(Layer) Correctly set clipping via properties

[Problem]  Setting clipping via properties was not working
[Cause]    Only setting the variables on the event side, nothing being sent to the Update thread
[Solution] Call the method that sends the message rather than setting the values directly

Change-Id: I53d75db77d04b66cd93f8389fafab660514d02cf

9 years agoAdded api function to specify speed factor of an animation 17/27417/7
Ferran Sole [Fri, 12 Sep 2014 10:35:02 +0000 (11:35 +0100)]
Added api function to specify speed factor of an animation

The speed factor is a multiplier of the normal velocity of the animation.
Values between [0-1] will slow down the animation and values above 1 will speed
it up. It is also possible to specify a negative multiplier so the animation
will play in reverse.

Change-Id: I4e74cb3cd5372f4c141089a05be8325e0892ce7f

9 years agoFixed Image Culling test cases 42/27542/1 accepted/tizen/common/20140916.140310 submit/tizen_common/20140916.094545
David Steele [Mon, 15 Sep 2014 18:00:45 +0000 (19:00 +0100)]
Fixed Image Culling test cases

With new Image::SetNaturalSize() implementation, we need to set the
closest image size in the test platform implementation for images to have size
and therefore for image actors to have size. Alternatively, could use Image::New
with non-default attributes.

Change-Id: I855c95d8654360e44cb315852ab5245465c65060
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoMerge "Remove deprecated SetRemoveTime API" into tizen
Paul Wisbey [Mon, 15 Sep 2014 15:58:42 +0000 (08:58 -0700)]
Merge "Remove deprecated SetRemoveTime API" into tizen

9 years agoRemove deprecated SetRemoveTime API 38/27538/1
Paul Wisbey [Mon, 15 Sep 2014 13:57:25 +0000 (14:57 +0100)]
Remove deprecated SetRemoveTime API

[problem]      Deprecated API is still being used
[cause]        ItemView legacy code
[solution]     Remove code

Change-Id: I7fc265976f32ff18782b39da9b25ed836e6f0ece

9 years ago(Build) Ensure typedef is not defined again 28/27528/1
Adeel Kazmi [Mon, 15 Sep 2014 11:07:32 +0000 (12:07 +0100)]
(Build) Ensure typedef is not defined again

Change-Id: I6ce4f95a7f5b84aa288239e5004bbfbcc15909bd

9 years agoSimplified the Constraint removal logic 72/27272/7
Paul Wisbey [Mon, 15 Sep 2014 10:36:03 +0000 (11:36 +0100)]
Simplified the Constraint removal logic

[problem]      Memory corruption caused by unsafe calls to SetWeight
[cause]        The root cause is the Constraint using the ProxyObject::Observer interface
               for two different purposes; firstly to find out about parent on/off stage
               behavior, and also to track the objects providing property inputs.
[solution]     Reduced the complexity of the constraint logic; removed observer usage
               for the parent object, moved code from templates to common base class.
               Deprecated the (unused) SetRemoveTime API bloat.

Change-Id: I4d789143f4dc36767cbc91adf63d47f488c37e1b

9 years agoMerge "LLVM/Emscripten fixes" into tizen
Kimmo Hoikka [Mon, 15 Sep 2014 07:46:39 +0000 (00:46 -0700)]
Merge "LLVM/Emscripten fixes" into tizen

9 years ago(Build) Ensure branch coverage is collected for later versions of lcov 67/27467/1
Adeel Kazmi [Fri, 12 Sep 2014 18:01:08 +0000 (19:01 +0100)]
(Build) Ensure branch coverage is collected for later versions of lcov

Change-Id: I3f9e0a8fb8e15055afe202a79d765e7457323b2a

9 years agoLLVM/Emscripten fixes 93/25993/7
Lee Morgan [Wed, 13 Aug 2014 14:59:48 +0000 (15:59 +0100)]
LLVM/Emscripten fixes

Change-Id: I7e48e683e9421ce06c2960f04816c97a6047ea8a
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
9 years agoMerge "API to allow Actor to insert child at a specific index" into tizen
Kimmo Hoikka [Fri, 12 Sep 2014 15:18:42 +0000 (08:18 -0700)]
Merge "API to allow Actor to insert child at a specific index" into tizen

9 years agoAPI to allow Actor to insert child at a specific index 60/26460/12
Kevin Butchart [Fri, 22 Aug 2014 17:11:37 +0000 (18:11 +0100)]
API to allow Actor to insert child at a specific index

Change-Id: I5ae0582bc50e3d31d8eb9d62d4662ba85af5b896

9 years agoMerge "Fix the framebuffer texture context loss handling" into tizen
Paul Wisbey [Thu, 11 Sep 2014 15:24:17 +0000 (08:24 -0700)]
Merge "Fix the framebuffer texture context loss handling" into tizen

9 years agoRemoving unused "fade-in" and "replace image" features, stop using raw pointers and... 74/26974/13 submit/tizen/20140910.172931
Kimmo Hoikka [Tue, 2 Sep 2014 12:33:57 +0000 (13:33 +0100)]
Removing unused "fade-in" and "replace image" features, stop using raw pointers and external handles for images and clean up the code

Reason for removing features:
When for example UI control changes style, it does not want to display the old image in new images size
Fade is and replace image can be both implemented outside dali-core by connecting to the image loaded signal.

[Problem] messy code, duplication of logic, unnecessary handle creation, using signals internally etc
[Cause] mixing handles, intrusive pointers and raw pointers
[Solution] clean up

Change-Id: I79600cc53ce306f272ca6874846b5e2be0af1000

9 years agoFix the framebuffer texture context loss handling 00/27300/2
Kimmo Hoikka [Wed, 10 Sep 2014 10:39:35 +0000 (11:39 +0100)]
Fix the framebuffer texture context loss handling

[Problem]
[Cause]
[Solution]

Change-Id: Ie1af7d726e7e33a3e889c7e03de79cc6b33842f5

9 years agoreset the sampler state in context loss 48/27248/2
Kimmo Hoikka [Mon, 8 Sep 2014 16:47:40 +0000 (17:47 +0100)]
reset the sampler state in context loss

[Problem]
[Cause]
[Solution]

Change-Id: If3e3508e3327ad2ccd1a6fabce3e37f2819dc676

9 years agoDALi Version 1.0.8 88/27288/1 dali_1.0.8
Adeel Kazmi [Wed, 10 Sep 2014 10:00:12 +0000 (11:00 +0100)]
DALi Version 1.0.8

Change-Id: Id79dfb9fafeb6ef9ac24bfeae4e5ba8825cebd09

9 years agoMerge "Changed backtrace conditionals to use a feature switch" into tizen
Adeel Kazmi [Tue, 9 Sep 2014 15:41:21 +0000 (08:41 -0700)]
Merge "Changed backtrace conditionals to use a feature switch" into tizen

9 years agoMerge "Change shader data pointer to IntrusivePtr" into tizen
Kimmo Hoikka [Tue, 9 Sep 2014 15:34:51 +0000 (08:34 -0700)]
Merge "Change shader data pointer to IntrusivePtr" into tizen

9 years agoChanged backtrace conditionals to use a feature switch 83/27183/3
David Steele [Fri, 5 Sep 2014 18:20:56 +0000 (19:20 +0100)]
Changed backtrace conditionals to use a feature switch

[Problem] backtrace(), backtrace_symbols() and demangle are gcc specific features which aren't
present on other platforms.
[Cause]   Works for base linux
[Solution] Ensure that the feature is wrapped with a Dali feature flag in configure. It is
enabled by default (logging the backtrace on exception), but can be disabled at configuration
time by using
 ./configure --disable-backtrace

Change-Id: Ia8032b057489a563d1ba5339ed2cab7687906c1b
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agoMerge "Fixed memory leak when connecting static functions" into tizen
Kimmo Hoikka [Mon, 8 Sep 2014 09:31:33 +0000 (02:31 -0700)]
Merge "Fixed memory leak when connecting static functions" into tizen

9 years agoMerge "Lazy load programs" into tizen
Paul Wisbey [Fri, 5 Sep 2014 12:02:12 +0000 (05:02 -0700)]
Merge "Lazy load programs" into tizen

9 years agoFix some documentation errors 40/27140/1
Nick Holland [Fri, 5 Sep 2014 08:19:50 +0000 (09:19 +0100)]
Fix some documentation errors

Change-Id: Ibfa69fca897239f2d8bcab16b72b3c93eda4a77f

9 years agoLazy load programs 87/27087/2
Kimmo Hoikka [Thu, 4 Sep 2014 09:07:46 +0000 (10:07 +0100)]
Lazy load programs

[Problem] startup is slow
[Cause] unnecessary loading of shaders that may not be used
[Solution] lazy load

Change-Id: I7ad9d8182aa2e1e650decb04cebf6f7752b99afc

9 years agoFixed memory leak when connecting static functions 16/27116/1
Paul Wisbey [Wed, 3 Sep 2014 12:59:15 +0000 (13:59 +0100)]
Fixed memory leak when connecting static functions

[problem]     Callback object is leaked when not using ConnectionTracker e.g.
              when connecting static functions.
[cause]       Ownership of Callback was not taken (no SlotConnection created).
[solution]    Moved ownership to SignalConnection which is always created.

Change-Id: Ie828f58a72d6badab5a72f66af0e765c6fbe7434

9 years agoDALi Version 1.0.7 06/27106/1
Agnelo Vaz [Thu, 4 Sep 2014 13:52:31 +0000 (14:52 +0100)]
DALi Version 1.0.7

Change-Id: I3348f40a7de58d5cb7551447003dc6e90d4da9f8
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
9 years agoMerge "fixed the comments in functor delegate to make it clear that it works with...
Adeel Kazmi [Mon, 1 Sep 2014 14:08:33 +0000 (07:08 -0700)]
Merge "fixed the comments in functor delegate to make it clear that it works with any functor" into tizen

9 years agoMerge "Reducing the size of ImageActor" into tizen
Paul Wisbey [Mon, 1 Sep 2014 12:52:39 +0000 (05:52 -0700)]
Merge "Reducing the size of ImageActor" into tizen

9 years agofixed the comments in functor delegate to make it clear that it works with any functor 15/26915/2
Kimmo Hoikka [Mon, 1 Sep 2014 10:09:36 +0000 (11:09 +0100)]
fixed the comments in functor delegate to make it clear that it works with any functor

[Problem]
[Cause]
[Solution]

Change-Id: I41f48acdb14eeac42aab0d1f0cfa91fbb3cc4fc5

9 years agoReducing the size of ImageActor 99/26399/6
Kimmo Hoikka [Thu, 21 Aug 2014 16:15:00 +0000 (17:15 +0100)]
Reducing the size of ImageActor

[Problem] memory consumption
[Cause] unnecessary connectiontracker instance
[Solution] remove it and implement connectiontrackerinterface instead

Before
-----

Dali-demo
ImageActors 55 * 336b = 18.480b
Cube transition
ImageActors 969 * 336b = 325.584b

After
-----
Dali-demo
ImageActors 55 * 296b = 16.280b
Cube transition
ImageActors 969 * 296b = 286.824b

Saving 11% of RAM

Change-Id: Icfbaca952dd066dce8d05695ed5e5e471ca176c9

9 years agoChange shader data pointer to IntrusivePtr 59/26859/1
Kevin Butchart [Fri, 29 Aug 2014 12:32:43 +0000 (13:32 +0100)]
Change shader data pointer to IntrusivePtr

Change to using intrusive pointer as, especially after GL Context loss
and restore, the pointer may not be valid. IntrusivePtr ensures that
the program data will not be destroyed for the lifetime of the program
class

Change-Id: Ibe3b27b2e4f94baab04e325b8284b9d26f516240

9 years agoFixed bug when changing stereo base after setting view mode 57/26857/1
Ferran Sole [Fri, 29 Aug 2014 11:44:11 +0000 (12:44 +0100)]
Fixed bug when changing stereo base after setting view mode

[Problem] When setting new stereo base using SetStereoBase() function, camera position was incorrect
[Cause] SetPerspectiveProjection() function modifies the z coordinate of the camera
[Solution] Set the correct position, not only x coordinate, after calling SetPerspectiveProjection() on each camera

Change-Id: Ibbd21dd285c5b0fd38873d5bd1c3a194a8008fb2

9 years agoMerge "Changed Core::Update to add current time and vsync times as parameters. Moved...
Paul Wisbey [Fri, 29 Aug 2014 09:06:25 +0000 (02:06 -0700)]
Merge "Changed Core::Update to add current time and vsync times as parameters. Moved FrameTime class to Adaptor." into tizen

9 years agoReplaces TextArray type definition. 94/26394/6
Victor Cebollada [Wed, 9 Jul 2014 10:10:57 +0000 (11:10 +0100)]
Replaces TextArray type definition.

TextArray is now a Dali::Vector instead a std::vector.

Change-Id: Iafebb20da91c8f557d0b6162bb84901dadb1cd1b
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoChanged Core::Update to add current time and vsync times as parameters. 29/26429/3
David Steele [Fri, 22 Aug 2014 09:56:46 +0000 (10:56 +0100)]
Changed Core::Update to add current time and vsync times as parameters.
Moved FrameTime class to Adaptor.

[Problem]  Dali core is trying to second guess what the Vsync monitor is doing
in adaptor.
[Solution] Remove FrameTime from dali-core, and instead pass in the correct
elapsed time and last/next vsync times to Update().

Change-Id: I002dea0c3e126fdb982990776c4ea7966b72758f
Signed-off-by: David Steele <david.steele@partner.samsung.com>
9 years agofix doxygen comments for connection tracker and slot delegate 23/26723/1
Kimmo Hoikka [Thu, 28 Aug 2014 10:31:34 +0000 (11:31 +0100)]
fix doxygen comments for connection tracker and slot delegate

[Problem]
[Cause]
[Solution]

Change-Id: Ic70ab1aa1fa7eb27824d63c258411e88318b220f

9 years agoMerge "Remove unnecessary pure virtual from connection tracker interface" into tizen
Adeel Kazmi [Wed, 27 Aug 2014 17:28:14 +0000 (10:28 -0700)]
Merge "Remove unnecessary pure virtual from connection tracker interface" into tizen

9 years agoDALi Version 1.0.6 76/26676/1 dali_1.0.6
Nick Holland [Wed, 27 Aug 2014 16:04:55 +0000 (17:04 +0100)]
DALi Version 1.0.6

Change-Id: I03d5b97626d1d491fb2ebf644affcb0939ab1671

9 years agoRemove unnecessary pure virtual from connection tracker interface 97/26397/2
Kimmo Hoikka [Thu, 21 Aug 2014 15:46:00 +0000 (16:46 +0100)]
Remove unnecessary pure virtual from connection tracker interface

[Problem] unnecessary method
[Cause] n/a
[Solution] remove it

Change-Id: I82e91a7eb15e1af190332ccfcdbe72932e2f755a

9 years agoChange declaration of generated shaders 14/26314/5
Kevin Butchart [Wed, 20 Aug 2014 11:51:11 +0000 (12:51 +0100)]
Change declaration of generated shaders

Change generation script to create const char* declarations of shaders
This change is because it was unsafe to call c_str() to assign the
members of CustomShaderWrappers since the constructor for std::string
may not have been called yet

Change-Id: Iebd8c170e2c1d21c4fcbb1063bb0eb74b761bba2

9 years agoInstall doxygen when setting up dali_env 00/26400/2
Adeel Kazmi [Thu, 21 Aug 2014 17:34:10 +0000 (18:34 +0100)]
Install doxygen when setting up dali_env

Change-Id: Iadbf8c36df220d4e5a9513dca4a054f3389747b9

9 years agoMerge "Extend Animation duration when an animator exceeds current duration." into...
Adeel Kazmi [Thu, 21 Aug 2014 16:39:56 +0000 (09:39 -0700)]
Merge "Extend Animation duration when an animator exceeds current duration." into tizen

9 years agoExtend Animation duration when an animator exceeds current duration. 75/26375/5
Paul Wisbey [Thu, 21 Aug 2014 09:41:16 +0000 (10:41 +0100)]
Extend Animation duration when an animator exceeds current duration.

[Problem]  Everyone's pet hate with animation.
[Cause]    Duration does not extend when animators are added.
[Solution] Extend Animation duration.

Change-Id: I72f242794601be9e8f1c3a38acd2607fb86115cc

9 years agoDali::Vector - Insert() and Erase() methods added. 28/26028/16
Victor Cebollada [Wed, 13 Aug 2014 16:51:54 +0000 (17:51 +0100)]
Dali::Vector - Insert() and Erase() methods added.

Insert(Iterator, Element) Inserts an element into the vector.
Insert(Iterator, Iterator, Iterator) Inserts a range of elements into the vector.
Erase(Iterator, Iterator) Erases a range of elements from the vector.

Change-Id: Ia68637c025863bdb0d7c998b017b26ce19d22a42
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoMerge "DALi Version 1.0.5" into tizen
Adeel Kazmi [Wed, 20 Aug 2014 14:57:14 +0000 (07:57 -0700)]
Merge "DALi Version 1.0.5" into tizen

9 years agoMerge "Fix the library search path in "dali-core.pc"" into tizen
Adeel Kazmi [Wed, 20 Aug 2014 13:25:28 +0000 (06:25 -0700)]
Merge "Fix the library search path in "dali-core.pc"" into tizen

9 years agoDALi Version 1.0.5 17/26317/1 dali_1.0.5
Lee Morgan [Wed, 20 Aug 2014 12:55:31 +0000 (13:55 +0100)]
DALi Version 1.0.5

Change-Id: I8227ec27c213fd07c029fb849b92428adf8eace0
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
9 years agoFix the library search path in "dali-core.pc" 85/26285/2
Manuel Bachmann [Wed, 20 Aug 2014 08:53:06 +0000 (10:53 +0200)]
Fix the library search path in "dali-core.pc"

Depending on the architecture, libraries may be installed
in another directory than "/usr/lib" ("/usr/lib64" e.g.)
Reflect that in the .pc file.

Change-Id: Id4a617ebbeec2a0c678cd60c494e99ec650aecf8
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoAlways call RenderTask::UpdateState every frame 16/26216/2
Paul Wisbey [Tue, 19 Aug 2014 09:31:10 +0000 (10:31 +0100)]
Always call RenderTask::UpdateState every frame

[Problem]  Sometimes the RenderTask state is not updated after GL sync,
           this means that Finished signal is not received.
[Cause]    UpdateState is not called if the scene doesn't change.
[Solution] Always call RenderTask::UpdateState every frame.

Change-Id: Icd9dbf0b58c5750f3035115823211d7bb9b7985b

9 years agoMerge "dali_env scripts creates link to libjpegturbo.so.0 automatically" into tizen
Kimmo Hoikka [Mon, 18 Aug 2014 11:12:34 +0000 (04:12 -0700)]
Merge "dali_env scripts creates link to libjpegturbo.so.0 automatically" into tizen

9 years agoMerge "Updated README to use DALi with a fresh version of Ubuntu" into tizen
Kimmo Hoikka [Mon, 18 Aug 2014 11:12:18 +0000 (04:12 -0700)]
Merge "Updated README to use DALi with a fresh version of Ubuntu" into tizen

9 years agoMerge "Ensure unused warnings are not shown with GCC 4.8" into tizen
Adeel Kazmi [Mon, 18 Aug 2014 11:11:41 +0000 (04:11 -0700)]
Merge "Ensure unused warnings are not shown with GCC 4.8" into tizen

9 years agoUpdated README to use DALi with a fresh version of Ubuntu 13/26113/4
Adeel Kazmi [Sat, 16 Aug 2014 00:38:31 +0000 (01:38 +0100)]
Updated README to use DALi with a fresh version of Ubuntu

Change-Id: I45d28dd569f97f5b94bde0ff76abb77f7487c167

9 years agodali_env scripts creates link to libjpegturbo.so.0 automatically 15/26115/2
Adeel Kazmi [Sat, 16 Aug 2014 10:07:07 +0000 (11:07 +0100)]
dali_env scripts creates link to libjpegturbo.so.0 automatically

Change-Id: Ia4a20d14f3cd55b53d046bd8b76b33da38c6accb

9 years agoEnsure unused warnings are not shown with GCC 4.8 12/26112/3
Adeel Kazmi [Fri, 15 Aug 2014 23:16:52 +0000 (00:16 +0100)]
Ensure unused warnings are not shown with GCC 4.8

[Problem]  With GCC 4.8, the define created using this macro is not used and this comes up as an error.
[Solution] The solution is to get the compiler to ignore this particular unused typedef by adding
           the gcc attribute.

Change-Id: I9d85d51c2960dfe90c1b033cc946eee037894028

9 years agoUpdated documentation for stereoscopic rendering 07/26107/1
Ferran Sole [Fri, 15 Aug 2014 14:07:41 +0000 (15:07 +0100)]
Updated documentation for stereoscopic rendering

Change-Id: Ibb489c3e4e9c25748689bb885edeb21817ac634d

9 years agoFixed Test case which incorrectly looks for inherit-shader-effect property 52/26052/1
Adeel Kazmi [Thu, 14 Aug 2014 17:05:59 +0000 (18:05 +0100)]
Fixed Test case which incorrectly looks for inherit-shader-effect property

Change-Id: Id378c2e3acb9d5dded61be7c2c240794bdd518f5

9 years agoTET - Fix compile errors and remove warnings 46/26046/2
Victor Cebollada [Thu, 14 Aug 2014 14:30:46 +0000 (15:30 +0100)]
TET - Fix compile errors and remove warnings

Change-Id: I50cfcef4ce78b6d80ceda935ff44156a30d79dc4
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
9 years agoshader effect removal - cleanup of the API 34/25534/5
Kimmo Hoikka [Wed, 6 Aug 2014 15:13:37 +0000 (16:13 +0100)]
shader effect removal - cleanup of the API

Requires https://review.tizen.org/gerrit/#/c/25535/

[Problem]
[Cause]
[Solution]

Change-Id: I83afd41ddf7ce481a9c72dedf8bf9597f3f4b409

9 years agoMerge "Changed STEREO_HORIZONTAL view mode to work with landscape orientation" into...
Paul Wisbey [Thu, 14 Aug 2014 09:51:10 +0000 (02:51 -0700)]
Merge "Changed STEREO_HORIZONTAL view mode to work with landscape orientation" into tizen

9 years agoMerge "DALi Version 1.0.4" into tizen
Adeel Kazmi [Wed, 13 Aug 2014 15:36:23 +0000 (08:36 -0700)]
Merge "DALi Version 1.0.4" into tizen

9 years agoDALi Version 1.0.4 84/25984/1 dali_1.0.4
Kingsley Stephens [Wed, 13 Aug 2014 14:14:09 +0000 (15:14 +0100)]
DALi Version 1.0.4

Change-Id: I804687a9285c385f78f67db0b5d3b54723181528

9 years agoMerge "removal of shader inheritance, renderable actors now have shaders and there...
Adeel Kazmi [Wed, 13 Aug 2014 12:37:02 +0000 (05:37 -0700)]
Merge "removal of shader inheritance, renderable actors now have shaders and there is a recursive setter" into tizen

9 years agoMerge "Added dali-common.h to header requiring it." into tizen
Adeel Kazmi [Wed, 13 Aug 2014 12:17:14 +0000 (05:17 -0700)]
Merge "Added dali-common.h to header requiring it." into tizen

9 years agoAdded dali-common.h to header requiring it. 80/25980/1
David Steele [Wed, 13 Aug 2014 12:15:04 +0000 (13:15 +0100)]
Added dali-common.h to header requiring it.

Change-Id: I845c6cbfdc9861c607b5fa6a34436e16d7f62002
Signed-off-by: David Steele <david.steele@partner.samsung.com>