Francisco Santos [Fri, 2 Mar 2018 11:51:42 +0000 (11:51 +0000)]
[dali_1.3.14] Merge branch 'devel/master'
Change-Id: I46f7f3068a1ebf08c4d211422b23651d58acab7e
Francisco Santos [Fri, 2 Mar 2018 11:50:59 +0000 (11:50 +0000)]
DALi Version 1.3.14
Change-Id: Icd03823bc76c651dbede4348c525f8fd5e780a2e
Adeel Kazmi [Thu, 1 Mar 2018 15:38:28 +0000 (15:38 +0000)]
Merge "Fix SVACE issues" into devel/master
Paul Wisbey [Fri, 23 Feb 2018 13:41:51 +0000 (13:41 +0000)]
Merge "DALi Version 1.3.13" into devel/master
Agnelo Vaz [Fri, 23 Feb 2018 13:29:18 +0000 (13:29 +0000)]
[dali_1.3.13] Merge branch 'devel/master'
Change-Id: Iad330e5b139dbbee1c124d5e277c1bab650f31cb
Agnelo Vaz [Fri, 23 Feb 2018 13:28:29 +0000 (13:28 +0000)]
DALi Version 1.3.13
Change-Id: I83599daab7ea756a00f502bbc1610fcf5e4f1c5e
Heeyong Song [Wed, 21 Feb 2018 03:51:52 +0000 (12:51 +0900)]
Fix scissor clipping
Sibling case should be checked seperately.
Change-Id: Ic8531d1c408a61c01ddd792a31b03734c1e95131
Heeyong Song [Wed, 21 Feb 2018 02:03:23 +0000 (11:03 +0900)]
Fix blending factor for premultiplied alpha format
Change-Id: I8030e1bd05a69d8afa06d2d0da12f40fc3f3d8d7
Heeyong Song [Wed, 14 Feb 2018 06:13:33 +0000 (15:13 +0900)]
Fix CLIP_TO_BOUNDING_BOX error
Change-Id: I59022e5883cdcd381479511ff0181b529227ddce
Heeyong Song [Mon, 29 Jan 2018 08:19:24 +0000 (17:19 +0900)]
Use round to fix clipping area calculation
Change-Id: Iddb7b61388b3f8a57e0ee334c0c9d958aedfc882
Seoyeon Kim [Mon, 19 Feb 2018 08:00:17 +0000 (17:00 +0900)]
Fix SVACE issues
- Initialized some member variables.
Change-Id: Iafd620f70015fc11b3d5a22ff31ed1decc39d3b8
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Wed, 31 Jan 2018 09:34:52 +0000 (18:34 +0900)]
Add a flag to force the Clear on the framebuffer
Change-Id: I2e14cfa110dea9265e02b3432fac55d637ff3842
David Steele [Fri, 16 Feb 2018 13:56:11 +0000 (13:56 +0000)]
[dali_1.3.12] Merge branch 'devel/master'
Change-Id: Ic32defa3f06c4e1f89938e8f6c302372c28b4f24
David Steele [Fri, 16 Feb 2018 13:55:25 +0000 (13:55 +0000)]
DALi Version 1.3.12
Change-Id: If6fc96d079967887b85a8e60a2416851c34f47e2
adam.b [Fri, 9 Feb 2018 11:09:14 +0000 (11:09 +0000)]
[dali_1.3.11] Merge branch 'devel/master'
Change-Id: Ic31ded1a95913754c002308339ab028325431b47
adam.b [Fri, 9 Feb 2018 11:08:30 +0000 (11:08 +0000)]
DALi Version 1.3.11
Change-Id: I07a773b0b22506789083b4331b07397e391ddb7f
Adeel Kazmi [Fri, 2 Feb 2018 10:29:00 +0000 (10:29 +0000)]
[dali_1.3.10] Merge branch 'devel/master'
Change-Id: Iba8d5aab5033ff712e0a175caf4157c7678a55a1
Adeel Kazmi [Fri, 2 Feb 2018 10:28:18 +0000 (10:28 +0000)]
DALi Version 1.3.10
Change-Id: Idd7e7c0396a97158091b3def2427ad27d52dba11
Paul Wisbey [Tue, 30 Jan 2018 16:03:02 +0000 (16:03 +0000)]
Adding missing configure messages
Change-Id: Ia2ad03829b1f9f0cd33261d4492a306603557c7d
Adeel Kazmi [Tue, 30 Jan 2018 15:26:19 +0000 (15:26 +0000)]
Merge changes Ifb1d366c,I250378ee into devel/master
* changes:
Change in texture set requires recreation of uniform map
Mark uniform map as not having changed when it's ready
Adeel Kazmi [Mon, 29 Jan 2018 21:52:20 +0000 (21:52 +0000)]
Merge "Changed Update to reset only target properties each frame" into devel/master
Francisco Santos [Fri, 27 Oct 2017 15:34:44 +0000 (16:34 +0100)]
Change in texture set requires recreation of uniform map
Aging SceneGraph::Renderer::mRegenerateUniformMap() isn't necessarily matched by
calls to Render::Renderer::SetUniforms(), which isn't called if textures aren't ready.
Change-Id: Ifb1d366c579dac196de27d653688e776184a513d
David Steele [Wed, 24 Jan 2018 13:59:55 +0000 (13:59 +0000)]
Changed Update to reset only target properties each frame
Currently all default and custom animated properties are reset each frame.
This is wasteful, as unnecessary time is spent setting the same value again and again.
Instead, have added a new PropertyResetter, which is created when a property is being
animated or constrained. This is responsible for resetting the double buffered values
of that property.
Transform Manager properties are unaffected, as the reset is a single memset/memcpy
that handles all such properties at once, and is much faster than resetting properties
individually.
Added a PropertyResetter to animators.
Removed property reset from everything except transform manager.
Ensured property resetters die with animators
Added lifecycle observer to scene graph animators
Hooked up property resetter to observe animator destruction
Added aging to property resetter to ensure it resets for another frame after
animator death
Added constraint resetters
Changing connection to disconnection tracking fixes constraint velocity issue
Also changed Property::Bake to write to both buffer indexed values.
Ensured property resetters destroyed after animations ( animators have a resetter
observing destruction; order matters ).
Change-Id: Ia11f0e45744b09859ce1b87f306e1829efbb8fac
Signed-off-by: David Steele <david.steele@samsung.com>
Francisco Santos [Fri, 27 Oct 2017 16:11:03 +0000 (17:11 +0100)]
Mark uniform map as not having changed when it's ready
Change-Id: I250378ee07690ee04cbc94a65a1623a69c2a32c8
Umar [Fri, 26 Jan 2018 14:18:27 +0000 (14:18 +0000)]
[dali_1.3.9] Merge branch 'devel/master'
Change-Id: I72ec8f91d1a4da156befdced650b9c5077968a52
Umar [Fri, 26 Jan 2018 14:17:34 +0000 (14:17 +0000)]
DALi Version 1.3.9
Change-Id: Ib41b8015763991edab424e731c1823fde5772b97
Heeyong Song [Wed, 17 Jan 2018 05:53:38 +0000 (14:53 +0900)]
Discard render instruction if it is empty
Change-Id: I79b4ffff23bbb4a3a08a16e84d0fa8f3889670d8
Victor Cebollada [Fri, 19 Jan 2018 08:16:33 +0000 (08:16 +0000)]
[dali_1.3.8] Merge branch 'devel/master'
Change-Id: I8e4baa9fc4b3bf7733391da0218904043eea422b
Victor Cebollada [Fri, 19 Jan 2018 08:15:34 +0000 (08:15 +0000)]
DALi Version 1.3.8
Change-Id: I1b2bae3df0d2db9595dbc63c428b15adac1e26c6
Adeel Kazmi [Tue, 16 Jan 2018 14:11:17 +0000 (14:11 +0000)]
Merge "Updates to CMake compile scripts" into devel/master
Seungho, Baek [Tue, 16 Jan 2018 06:48:11 +0000 (15:48 +0900)]
Fix doxygen format
- modify "/*" to "/**" in render-task.h:485, 496
Change-Id: I4cf292a3dc544868dc17db1031e64ca8d5e20abf
greynaga [Fri, 12 Jan 2018 14:07:15 +0000 (14:07 +0000)]
[dali_1.3.7] Merge branch 'devel/master'
Change-Id: If2e39ca722506c8ac30a82180e73a6e6479415a2
greynaga [Fri, 12 Jan 2018 14:06:33 +0000 (14:06 +0000)]
DALi Version 1.3.7
Change-Id: I24fb61fca8fae188ee7f9c60ddbdd35055986d7c
David Steele [Wed, 10 Jan 2018 17:46:40 +0000 (17:46 +0000)]
Updates to CMake compile scripts
Change-Id: I54dc9ef58bcc34ff6268412485fda675380e0d3c
Adeel Kazmi [Fri, 5 Jan 2018 15:43:23 +0000 (15:43 +0000)]
Merge "(dali_env) Added libssl-dev dependency" into devel/master
Richard Huang [Fri, 5 Jan 2018 13:33:19 +0000 (13:33 +0000)]
[dali_1.3.6] Merge branch 'devel/master'
Change-Id: I0bad35e3480793cbb3d8df361a4ea2bfd3def804
Richard Huang [Fri, 5 Jan 2018 13:32:38 +0000 (13:32 +0000)]
DALi Version 1.3.6
Change-Id: I6d8f632d1b15d7532c3827f761041096ba7cbf83
Adeel Kazmi [Fri, 5 Jan 2018 10:37:04 +0000 (10:37 +0000)]
(dali_env) Added libssl-dev dependency
Change-Id: I7e463639526c42f8532874b451086816c04e015e
Heeyong Song [Fri, 15 Dec 2017 05:54:13 +0000 (14:54 +0900)]
Fix screen position calulation in Actor
Change-Id: Id8f153a670e72e35bb254426d0db030b457f1913
György Straub [Fri, 22 Dec 2017 14:19:28 +0000 (14:19 +0000)]
[dali_1.3.5] Merge branch 'devel/master'
Change-Id: I08c3ea73f785a0d30ae18d7c7a1ac8c767bd0d55
György Straub [Fri, 22 Dec 2017 14:18:45 +0000 (14:18 +0000)]
DALi Version 1.3.5
Change-Id: I350b280d63968fb20b945370b62b815ea0fd4122
Francisco Santos [Fri, 15 Dec 2017 11:19:24 +0000 (11:19 +0000)]
[dali_1.3.4] Merge branch 'devel/master'
Change-Id: I109efd16241c715de9bdb0846ee40427b0a5154a
Francisco Santos [Fri, 15 Dec 2017 11:18:40 +0000 (11:18 +0000)]
DALi Version 1.3.4
Change-Id: I1c0edcd5c5ec8fb96c814f741b5dfc3f193bf432
Adeel Kazmi [Wed, 13 Dec 2017 12:15:43 +0000 (12:15 +0000)]
Merge "Add DALI_LOG_RELEASE_INFO for debug" into devel/master
David Steele [Fri, 8 Dec 2017 14:33:33 +0000 (14:33 +0000)]
[dali_1.3.3] Merge branch 'devel/master'
Change-Id: I14684b140ef48a6f5125596d125f994ff75b3dae
David Steele [Fri, 8 Dec 2017 14:32:52 +0000 (14:32 +0000)]
DALi Version 1.3.3
Change-Id: Ifcec90b975450465b0be56081b327f697860c5f6
sunghyun kim [Mon, 4 Dec 2017 10:22:35 +0000 (19:22 +0900)]
Add DALI_LOG_RELEASE_INFO for debug
DALi need to new macro for debug
it can use without debug option
Change-Id: Ifdf500770cf06e6fd03c1163762cfe1cbd7e80db
Adeel Kazmi [Fri, 1 Dec 2017 09:23:37 +0000 (09:23 +0000)]
[dali_1.3.2] Merge branch 'devel/master'
Change-Id: I113be35c0ea5535c0f9cbf46041ac2bdd4e92d61
Adeel Kazmi [Fri, 1 Dec 2017 09:22:52 +0000 (09:22 +0000)]
DALi Version 1.3.2
Change-Id: I47428654234f5d4257447cea03ec260a9a782bb1
Heeyong Song [Thu, 30 Nov 2017 05:40:17 +0000 (05:40 +0000)]
Merge "Refactoring Animation Update" into devel/master
Adeel Kazmi [Wed, 29 Nov 2017 12:34:44 +0000 (12:34 +0000)]
Merge "Change Dali::Thread, Dali::Mutex and Dali::ConditionalWait to use std::thread from C++ 11 instead of pthread APIs" into devel/master
Kimmo Hoikka [Thu, 17 Aug 2017 13:51:33 +0000 (14:51 +0100)]
Change Dali::Thread, Dali::Mutex and Dali::ConditionalWait to use std::thread from C++ 11 instead of pthread APIs
Change-Id: I257035b0ba4a4c32dea52551dd0b39acb06575ba
Heeyong Song [Wed, 29 Nov 2017 02:47:09 +0000 (11:47 +0900)]
Update doxygen comments
Change-Id: I1c9705fbe86d10f9a0059fc8f57fbc2c02774c6f
Seoyeon Kim [Tue, 28 Nov 2017 05:08:33 +0000 (14:08 +0900)]
Update doxygen comments
- Parameter of member Dali::Actor::LowerBelow is not documented.
- Parameter of member Dali::Actor::RaiseAbove is not documented.
Change-Id: I692ef5048d9c89a3e630a2077ff530ded30b6dfc
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Agnelo Vaz [Fri, 24 Nov 2017 11:56:25 +0000 (11:56 +0000)]
[dali_1.3.1] Merge branch 'devel/master'
Change-Id: I53b964f52cf93858e7d4306d00e8b9e73bcfe384
Agnelo Vaz [Fri, 24 Nov 2017 11:55:43 +0000 (11:55 +0000)]
DALi Version 1.3.1
Change-Id: I55343bb97a95adec13a46892f417e9713c41d02e
Heeyong Song [Tue, 28 Feb 2017 06:20:55 +0000 (15:20 +0900)]
pan-gesture code refactor and environment variables
Change-Id: Ief4bcc44a8a34fd319aa13b4372c87948848386f
Adeel Kazmi [Thu, 9 Nov 2017 14:51:01 +0000 (14:51 +0000)]
Disable certain GL calls when depth and/or stencil buffers are not available
Change-Id: Ibe949280e963e3ffbbe46d99499b4415c4b86ec0
adam.b [Fri, 17 Nov 2017 14:46:26 +0000 (14:46 +0000)]
[dali_1.3.0] Merge branch 'devel/master'
Change-Id: Ifba8ef34f64a5b5773633c02bef871648118b45f
adam.b [Fri, 17 Nov 2017 14:45:44 +0000 (14:45 +0000)]
DALi Version 1.3.0
Change-Id: I41bf5e6a090f60e59b9d42663652e7b6c80cd7fa
Eunki Hong [Thu, 9 Nov 2017 05:22:19 +0000 (14:22 +0900)]
Refactoring Animation Update
Refactor animation update rootine so defeat some bugs.
1) ProgressReachedSignal works fine when speedfactor < 0
2) ProgressReachedSignal not works when marker value is out of range
3) ProgressReachedSignal works fine when looped
Also, use signvalue of speedfactor so reduce if-else branch of arithmetic comparision
Change-Id: Ia8a9d242b3d094f1acaa87633ac3107e6220ecfa
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Fri, 10 Nov 2017 16:21:18 +0000 (16:21 +0000)]
Merge "Vector2 is a struct" into devel/master
Victor Cebollada [Fri, 10 Nov 2017 07:21:14 +0000 (07:21 +0000)]
[dali_1.2.65] Merge branch 'devel/master'
Change-Id: Icf53b3290bd630ff6bdf64b2e86e1598b137e609
Victor Cebollada [Fri, 10 Nov 2017 07:20:06 +0000 (07:20 +0000)]
DALi Version 1.2.65
Change-Id: Ifc2577f900cd7446c1b8754e74ad73002655aa5e
Francisco Santos [Tue, 7 Nov 2017 17:46:25 +0000 (17:46 +0000)]
Vector2 is a struct
Change-Id: I1299b0223c6eb773a84e49e7b806648b6d9827d6
Victor Cebollada [Wed, 8 Nov 2017 11:01:41 +0000 (11:01 +0000)]
Caches stencil glStencilFunc() and glStencilOp() calls.
Change-Id: I970ec25b1a6ab39c284c561bf96c81a1515b9434
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Tue, 7 Nov 2017 15:36:19 +0000 (15:36 +0000)]
Avoid calling glActiveTexture() unnecessarily.
* glActiveTexture() is called before glBindTexture(). The context
caches both calls but the Render::Texture was not using it.
Change-Id: Idd6880f3c27ab180dbcb2bce8f219966039cc41d
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Eunki Hong [Mon, 6 Nov 2017 07:10:35 +0000 (16:10 +0900)]
Bug fix at DevelAnimation::ProgressReashedSignal
Fix one bug in this patch
Progress reach signal required value were initialized when loop is done.
But if mLoopCount == 0 (unlimited looping) then signal required value is not initialized.
See UtcDaliAnimationProgressCallbackWithLoopingP() and UtcDaliAnimaionProgressCallbackWithLoopingP2().
P() use SetLoopCount and P2() use SetLooping(true).
Previous version only pass P() and fail P2().
now both P() and P2() will pass
Change-Id: Ie60ea087a00afb8a919cb935b083f207a1e34557
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
David Steele [Fri, 3 Nov 2017 16:26:43 +0000 (16:26 +0000)]
Merge "Bug fix at PlayAfter" into devel/master
György Straub [Fri, 3 Nov 2017 12:27:45 +0000 (12:27 +0000)]
[dali_1.2.64] Merge branch 'devel/master'
Change-Id: I441e187bb544c99a44836ed237733f1134c52dba
György Straub [Fri, 3 Nov 2017 12:27:01 +0000 (12:27 +0000)]
DALi Version 1.2.64
Change-Id: Ife7f393136c3d1a0086139e2877e3f17ab4ecc91
Eunki Hong [Thu, 26 Oct 2017 17:20:02 +0000 (02:20 +0900)]
Bug fix at PlayAfter
Fix two major bugs
1) when elapsed time is bigger then remain delaytime.
For example, when elapsed time is 0.016s and delaytime is 0.001s.
Previous version just delete 0.001s, and do nothing
--> Information of 0.015 seconds is missed
2) when speedfactor is negative.
Previous version do something like, remain_delay -= elapstime * speedfactor;
In this case, if speed factor is negative, remain_delay time will increase
so unlimited loop was occured in this case
Change-Id: Ib59a276a14a513fd34b458156cb29a0250c8cc70
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Victor Cebollada [Thu, 12 Oct 2017 15:32:21 +0000 (16:32 +0100)]
Render to Frame Buffer Object.
* A new feature has been added to dali-core/dali-adaptor to
measure the performance above 60 fps avoiding the vsync.
It renders the frames into a Frame Buffer Object. However,
is possible to render into the default Frame Buffer every
certain number of frames.
* Usage: $ DALI_FPS_TRACKING=1 DALI_RENDER_TO_FBO=30 path_to_DALi_app
Will render into the Frame Buffer Object 29 frames of 30, the 30th
will be rendered into the Frame Buffer. Will show as well the FPS.
Change-Id: I37b3ae6efaf9e618f9cf34583c75db4187327044
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Wed, 25 Oct 2017 15:03:40 +0000 (16:03 +0100)]
RenderTaskProcessor code cleaning.
* Removes a cut & pasted code.
Change-Id: I927fe965209ee3209604385094e0ed6c8e9d8657
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Umar [Fri, 27 Oct 2017 11:11:38 +0000 (12:11 +0100)]
[dali_1.2.63] Merge branch 'devel/master'
Change-Id: I045345200b3c74965655b977d704852ef05c58f8
Umar [Fri, 27 Oct 2017 11:10:49 +0000 (12:10 +0100)]
DALi Version 1.2.63
Change-Id: Ia3df398437884f4d4ad426b8d4ec99abf03bffed
Adeel Kazmi [Thu, 26 Oct 2017 18:36:21 +0000 (18:36 +0000)]
Revert "Mark uniform map as not having changed when it's ready"
This reverts commit
bc9ed8c7486e0ba70037da450899473264e4e0ce.
Change-Id: If190c15e92048e848455e6ff0eae0320eeaed129
Francisco Santos [Wed, 25 Oct 2017 17:28:45 +0000 (18:28 +0100)]
Mark uniform map as not having changed when it's ready
Change-Id: I6a3e893dbfd3d487dc96d961669fcff9cd68eb03
Heeyong Song [Wed, 25 Oct 2017 04:23:13 +0000 (04:23 +0000)]
Merge "Change to process events when the application is paused" into devel/master
Adeel Kazmi [Tue, 24 Oct 2017 14:17:13 +0000 (14:17 +0000)]
Merge "Ensured Random::Range does not overflow" into devel/master
Heeyong Song [Tue, 24 Oct 2017 02:35:17 +0000 (11:35 +0900)]
Fix SCREEN_POSITION error
Change-Id: I07e7104e14b30c330c7266b44a6a20b28accff23
Heeyong Song [Mon, 25 Sep 2017 06:59:13 +0000 (15:59 +0900)]
Change to process events when the application is paused
Change-Id: I1a798c461962ce34eed99d97971a85012e1e08b4
David Steele [Mon, 23 Oct 2017 18:08:00 +0000 (19:08 +0100)]
Ensured Random::Range does not overflow
If rand() & 0xfff is equal to 0xfff, then the range computation would
overflow past max value due to float inaccuracy.
Changed the order of terms to prevent overflow (whilst retaining
compile time division).
Change-Id: I286e0b5c31438f32f59e53dc7a8745745369d16e
Signed-off-by: David Steele <david.steele@samsung.com>
adam.b [Mon, 23 Oct 2017 09:48:15 +0000 (10:48 +0100)]
Bounding box clipping fix
Fixes issue occurring when two or more clipping areas are direct siblings and previous sibling becomes automatically a parent.
Change-Id: I0d0fd3718c41a7737cda0152d2b25682bff9ab79
Victor Cebollada [Mon, 23 Oct 2017 08:14:35 +0000 (09:14 +0100)]
Do nothing if the same size is set to the stage.
* Every time the surface is resized the camera,
the root layer the system overlay and the default
render task are updated.
Change-Id: I9aebc544796ded5059661e885085d8ee50d11146
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Richard Huang [Fri, 20 Oct 2017 11:43:32 +0000 (12:43 +0100)]
[dali_1.2.62] Merge branch 'devel/master'
Change-Id: I04727e1738dd61d6e67a91c467c9245e343e739b
Richard Huang [Fri, 20 Oct 2017 11:42:49 +0000 (12:42 +0100)]
DALi Version 1.2.62
Change-Id: I4eb87af310e36a5ad2ab37eff0e4406f722a2a3e
Seoyeon Kim [Wed, 11 Oct 2017 02:53:06 +0000 (11:53 +0900)]
Add Property::EXTENTS type
- Extents is a collection of 4 uint16_t.
Change-Id: Ia39db06622d22775cc8a81e61d991508b0f760d3
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
HyunJu Shin [Mon, 16 Oct 2017 00:51:54 +0000 (00:51 +0000)]
Merge "Initialize mTextureSet in RenderItem" into devel/master
greynaga [Fri, 13 Oct 2017 14:00:09 +0000 (15:00 +0100)]
[dali_1.2.61] Merge branch 'devel/master'
Change-Id: I8d2d71824ab618cf71f224392e0e2cfc22956f13
greynaga [Fri, 13 Oct 2017 13:59:17 +0000 (14:59 +0100)]
DALi Version 1.2.61
Change-Id: I9772d281aed8df17af6a1e28990c1e1d3c49d1b1
Seoyeon Kim [Fri, 13 Oct 2017 11:10:09 +0000 (20:10 +0900)]
Initialize mTextureSet in RenderItem
Change-Id: Id0353acea6bb7efc4dfbdf914f5d8bfea99f0607
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Eunki Hong [Tue, 10 Oct 2017 02:41:13 +0000 (11:41 +0900)]
Fix LoopingMode::AUTO_REVERSE behavior when LoopCount is 1
Let's think some animation s.t. start = 0, target = 2, duration = 2.
if LoopingMode is RESTART, animation will works like
RESTART +---------------------------------> t
LoopCount = 0 | 0 - 1 - 2`- 1 - 2`- 1 - 2`- 1 - ...
LoopCount = 3 | 0 - 1 - 2`- 1 - 2`- 1 - 2 - 2 - ...
LoopCount = 2 | 0 - 1 - 2`- 1 - 2 - 2 - 2 - 2 - ...
LoopCount = 1 | 0 - 1 - 2 - 2 - 2 - 2 - 2 - 2 - ...
(2` mean value become 0 after value become 2)
But if Looping Mode is AUTO_REVERSE, animation will works like
AUTO_REVERSE +---------------------------------> t
LoopCount = 0 | 0 - 2 - 0 - 2 - 0 - 2 - 0 - 2 - ...
LoopCount = 3 | 0 - 2 - 0 - 2 - 0 - 2 - 0 - 0 - ...
LoopCount = 2 | 0 - 2 - 0 - 2 - 0 - 0 - 0 - 0 - ...
LoopCount = 1 | 0 - 1 - 2 - 2 - 2 - 2 - 2 - 2 - ...
Previous code think that LoopCount == 1 is not looping mode.
But "ONLY IF LoopCount == 1, We don't auto reversing your animation" is non-sense
This patch change animation works like
AUTO_REVERSE +---------------------------------> t
LoopCount = 1 | 0 - 2 - 0 - 0 - 0 - 0 - 0 - 0 - ...
Note : Patch set 4 is previous code. so, Fail at UtcDaliAnimationSetLoopingModeP3
Change-Id: Ie938864ba17c1b923021f87c29859f98f7241a43
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Adeel Kazmi [Tue, 10 Oct 2017 15:16:37 +0000 (15:16 +0000)]
Merge "Add types to Device::SubClass" into devel/master
Seoyeon Kim [Tue, 10 Oct 2017 08:04:01 +0000 (17:04 +0900)]
Initialize Random::Range()
- For security, the random number generator would be initialized
to use rand().
Change-Id: I6930001c41001ec217bf706d84dc15b71a17d1fe
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Wed, 27 Sep 2017 07:43:22 +0000 (16:43 +0900)]
Add types to Device::SubClass
Change-Id: I15d51283f0e7c9e7281ce36f5cad07f94a471e78
Adeel Kazmi [Fri, 6 Oct 2017 16:42:16 +0000 (16:42 +0000)]
Merge "Fast bounding-box clipping feature" into devel/master
Adeel Kazmi [Fri, 6 Oct 2017 15:55:02 +0000 (16:55 +0100)]
[dali_1.2.60] Merge branch 'devel/master'
Change-Id: Iab54cf5acca439b4739f6c1e4aca6a51cfdeb1bc
Adeel Kazmi [Fri, 6 Oct 2017 15:54:18 +0000 (16:54 +0100)]
DALi Version 1.2.60
Change-Id: Ib1abc4944e268ed54fa7cf2d48cf3756bd213e73
Tom Robinson [Fri, 22 Sep 2017 17:04:51 +0000 (18:04 +0100)]
Fast bounding-box clipping feature
* API: Actor::Property::CLIPPING_MODE enum: ClippingMode::CLIP_TO_BOUNDING_BOX
* Actors/Views with CLIP_TO_BOUNDING_BOX will also be rendered.
* Note: Demo will be pushed separately
Change-Id: I55d6da274861b4f4ef1473996c8572733964d47f