platform/core/uifw/dali-core.git
6 years agoDALi Version 1.3.18 76/174276/1 dali_1.3.18
György Straub [Thu, 29 Mar 2018 13:03:17 +0000 (14:03 +0100)]
DALi Version 1.3.18

Change-Id: I808c1de6cc02c945df8e965c67a419b4a0877bfa

6 years agoDALi Version 1.3.17 40/173740/1 dali_1.3.17
Umar [Fri, 23 Mar 2018 13:40:29 +0000 (13:40 +0000)]
DALi Version 1.3.17

Change-Id: I781eca5449e0e796d875d5f619be2941000d627c

6 years agoMerge "Add OPACITY property to Renderer" into devel/master
Heeyong Song [Thu, 22 Mar 2018 06:55:53 +0000 (06:55 +0000)]
Merge "Add OPACITY property to Renderer" into devel/master

6 years agoDALi Version 1.3.16 80/172880/1 dali_1.3.16
Victor Cebollada [Fri, 16 Mar 2018 11:51:09 +0000 (11:51 +0000)]
DALi Version 1.3.16

Change-Id: I1e316ac1f53f054f8919c35119016f70403490a2

6 years agoFix SVACE issue 54/172454/2
Seoyeon Kim [Wed, 14 Mar 2018 04:42:31 +0000 (13:42 +0900)]
Fix SVACE issue

- Changed KeyValuePair variable name because name 'pair' is already defined
  at 466 line. (In the same scope)

Change-Id: Id20a0b7793f6f87e985b34234c06a3c9b764f63c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoAdd OPACITY property to Renderer 14/169814/12
Heeyong Song [Fri, 9 Feb 2018 09:43:38 +0000 (18:43 +0900)]
Add OPACITY property to Renderer

Change-Id: Ie7da7d60e2a97e289014ae83cadb0be8157af353

6 years agoDALi Version 1.3.15 80/172080/1 dali_1.3.15
greynaga [Fri, 9 Mar 2018 14:11:12 +0000 (14:11 +0000)]
DALi Version 1.3.15

Change-Id: I1c8ab9e440f25ad7f377c85979aedd91e2f23c55

6 years agoMerge "Fix typo error in some descriptions" into devel/master
Seoyeon Kim [Thu, 8 Mar 2018 02:08:33 +0000 (02:08 +0000)]
Merge "Fix typo error in some descriptions" into devel/master

6 years agoFix typo error in some descriptions 02/171502/1
Seoyeon Kim [Mon, 5 Mar 2018 06:16:31 +0000 (15:16 +0900)]
Fix typo error in some descriptions

- Fixed typo.

Change-Id: I91f0b3798c0152eab3183996a7dd3d324a672a50
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoDALi Version 1.3.14 06/171406/1 dali_1.3.14
Francisco Santos [Fri, 2 Mar 2018 11:50:59 +0000 (11:50 +0000)]
DALi Version 1.3.14

Change-Id: Icd03823bc76c651dbede4348c525f8fd5e780a2e

6 years agoMerge "Fix SVACE issues" into devel/master
Adeel Kazmi [Thu, 1 Mar 2018 15:38:28 +0000 (15:38 +0000)]
Merge "Fix SVACE issues" into devel/master

6 years agoMerge "DALi Version 1.3.13" 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

6 years agoDALi Version 1.3.13 61/170961/1 dali_1.3.13
Agnelo Vaz [Fri, 23 Feb 2018 13:28:29 +0000 (13:28 +0000)]
DALi Version 1.3.13

Change-Id: I83599daab7ea756a00f502bbc1610fcf5e4f1c5e

6 years agoFix scissor clipping 87/170587/3
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

6 years agoFix blending factor for premultiplied alpha format 81/170581/2
Heeyong Song [Wed, 21 Feb 2018 02:03:23 +0000 (11:03 +0900)]
Fix blending factor for premultiplied alpha format

Change-Id: I8030e1bd05a69d8afa06d2d0da12f40fc3f3d8d7

6 years agoFix CLIP_TO_BOUNDING_BOX error 92/170192/4
Heeyong Song [Wed, 14 Feb 2018 06:13:33 +0000 (15:13 +0900)]
Fix CLIP_TO_BOUNDING_BOX error

Change-Id: I59022e5883cdcd381479511ff0181b529227ddce

6 years agoUse round to fix clipping area calculation 54/168554/3
Heeyong Song [Mon, 29 Jan 2018 08:19:24 +0000 (17:19 +0900)]
Use round to fix clipping area calculation

Change-Id: Iddb7b61388b3f8a57e0ee334c0c9d958aedfc882

6 years agoFix SVACE issues 39/170339/1
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>
6 years agoAdd a flag to force the Clear on the framebuffer 41/168841/6
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

6 years agoDALi Version 1.3.12 72/170272/1 dali_1.3.12
David Steele [Fri, 16 Feb 2018 13:55:25 +0000 (13:55 +0000)]
DALi Version 1.3.12

Change-Id: If6fc96d079967887b85a8e60a2416851c34f47e2

6 years agoDALi Version 1.3.11 18/169818/1 dali_1.3.11
adam.b [Fri, 9 Feb 2018 11:08:30 +0000 (11:08 +0000)]
DALi Version 1.3.11

Change-Id: I07a773b0b22506789083b4331b07397e391ddb7f

6 years agoDALi Version 1.3.10 18/169118/1 dali_1.3.10
Adeel Kazmi [Fri, 2 Feb 2018 10:28:18 +0000 (10:28 +0000)]
DALi Version 1.3.10

Change-Id: Idd7e7c0396a97158091b3def2427ad27d52dba11

6 years agoAdding missing configure messages 64/168764/1
Paul Wisbey [Tue, 30 Jan 2018 16:03:02 +0000 (16:03 +0000)]
Adding missing configure messages

Change-Id: Ia2ad03829b1f9f0cd33261d4492a306603557c7d

6 years agoMerge changes Ifb1d366c,I250378ee into devel/master
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

6 years agoMerge "Changed Update to reset only target properties each frame" into devel/master
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

6 years agoChange in texture set requires recreation of uniform map 76/158076/6
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

6 years agoChanged Update to reset only target properties each frame 40/168040/8
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>
6 years agoMark uniform map as not having changed when it's ready 79/158079/5
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

6 years agoDALi Version 1.3.9 35/168435/1 dali_1.3.9
Umar [Fri, 26 Jan 2018 14:17:34 +0000 (14:17 +0000)]
DALi Version 1.3.9

Change-Id: Ib41b8015763991edab424e731c1823fde5772b97

6 years agoDiscard render instruction if it is empty 32/167332/6
Heeyong Song [Wed, 17 Jan 2018 05:53:38 +0000 (14:53 +0900)]
Discard render instruction if it is empty

Change-Id: I79b4ffff23bbb4a3a08a16e84d0fa8f3889670d8

6 years agoDALi Version 1.3.8 98/167698/1 dali_1.3.8
Victor Cebollada [Fri, 19 Jan 2018 08:15:34 +0000 (08:15 +0000)]
DALi Version 1.3.8

Change-Id: I1b2bae3df0d2db9595dbc63c428b15adac1e26c6

6 years agoMerge "Updates to CMake compile scripts" into devel/master
Adeel Kazmi [Tue, 16 Jan 2018 14:11:17 +0000 (14:11 +0000)]
Merge "Updates to CMake compile scripts" into devel/master

6 years agoFix doxygen format 98/167198/3
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

6 years agoDALi Version 1.3.7 60/166960/1 dali_1.3.7
greynaga [Fri, 12 Jan 2018 14:06:33 +0000 (14:06 +0000)]
DALi Version 1.3.7

Change-Id: I24fb61fca8fae188ee7f9c60ddbdd35055986d7c

6 years agoUpdates to CMake compile scripts 58/166558/1
David Steele [Wed, 10 Jan 2018 17:46:40 +0000 (17:46 +0000)]
Updates to CMake compile scripts

Change-Id: I54dc9ef58bcc34ff6268412485fda675380e0d3c

6 years agoMerge "(dali_env) Added libssl-dev dependency" into devel/master
Adeel Kazmi [Fri, 5 Jan 2018 15:43:23 +0000 (15:43 +0000)]
Merge "(dali_env) Added libssl-dev dependency" into devel/master

6 years agoDALi Version 1.3.6 67/166067/1 dali_1.3.6
Richard Huang [Fri, 5 Jan 2018 13:32:38 +0000 (13:32 +0000)]
DALi Version 1.3.6

Change-Id: I6d8f632d1b15d7532c3827f761041096ba7cbf83

6 years ago(dali_env) Added libssl-dev dependency 58/166058/1
Adeel Kazmi [Fri, 5 Jan 2018 10:37:04 +0000 (10:37 +0000)]
(dali_env) Added libssl-dev dependency

Change-Id: I7e463639526c42f8532874b451086816c04e015e

6 years agoFix screen position calulation in Actor 63/164063/3
Heeyong Song [Fri, 15 Dec 2017 05:54:13 +0000 (14:54 +0900)]
Fix screen position calulation in Actor

Change-Id: Id8f153a670e72e35bb254426d0db030b457f1913

6 years agoDALi Version 1.3.5 39/165039/1 dali_1.3.5
György Straub [Fri, 22 Dec 2017 14:18:45 +0000 (14:18 +0000)]
DALi Version 1.3.5

Change-Id: I350b280d63968fb20b945370b62b815ea0fd4122

6 years agoDALi Version 1.3.4 33/164133/1 dali_1.3.4
Francisco Santos [Fri, 15 Dec 2017 11:18:40 +0000 (11:18 +0000)]
DALi Version 1.3.4

Change-Id: I1c0edcd5c5ec8fb96c814f741b5dfc3f193bf432

6 years agoMerge "Add DALI_LOG_RELEASE_INFO for debug" into devel/master
Adeel Kazmi [Wed, 13 Dec 2017 12:15:43 +0000 (12:15 +0000)]
Merge "Add DALI_LOG_RELEASE_INFO for debug" into devel/master

6 years agoDALi Version 1.3.3 33/163333/1 dali_1.3.3
David Steele [Fri, 8 Dec 2017 14:32:52 +0000 (14:32 +0000)]
DALi Version 1.3.3

Change-Id: Ifcec90b975450465b0be56081b327f697860c5f6

6 years agoAdd DALI_LOG_RELEASE_INFO for debug 07/162607/2
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

6 years agoDALi Version 1.3.2 49/162449/1 dali_1.3.2
Adeel Kazmi [Fri, 1 Dec 2017 09:22:52 +0000 (09:22 +0000)]
DALi Version 1.3.2

Change-Id: I47428654234f5d4257447cea03ec260a9a782bb1

6 years agoMerge "Refactoring Animation Update" into devel/master
Heeyong Song [Thu, 30 Nov 2017 05:40:17 +0000 (05:40 +0000)]
Merge "Refactoring Animation Update" into devel/master

6 years agoMerge "Change Dali::Thread, Dali::Mutex and Dali::ConditionalWait to use std::thread...
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

6 years agoChange Dali::Thread, Dali::Mutex and Dali::ConditionalWait to use std::thread from... 72/162072/1
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

6 years agoUpdate doxygen comments 68/162068/1
Heeyong Song [Wed, 29 Nov 2017 02:47:09 +0000 (11:47 +0900)]
Update doxygen comments

Change-Id: I1c9705fbe86d10f9a0059fc8f57fbc2c02774c6f

6 years agoUpdate doxygen comments 74/161874/1
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>
6 years agoDALi Version 1.3.1 26/161626/1 dali_1.3.1
Agnelo Vaz [Fri, 24 Nov 2017 11:55:43 +0000 (11:55 +0000)]
DALi Version 1.3.1

Change-Id: I55343bb97a95adec13a46892f417e9713c41d02e

6 years agopan-gesture code refactor and environment variables 55/159355/5
Heeyong Song [Tue, 28 Feb 2017 06:20:55 +0000 (15:20 +0900)]
pan-gesture code refactor and environment variables

Change-Id: Ief4bcc44a8a34fd319aa13b4372c87948848386f

6 years agoDisable certain GL calls when depth and/or stencil buffers are not available 60/159560/3
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

6 years agoDALi Version 1.3.0 07/160707/1 dali_1.3.0
adam.b [Fri, 17 Nov 2017 14:45:44 +0000 (14:45 +0000)]
DALi Version 1.3.0

Change-Id: I41bf5e6a090f60e59b9d42663652e7b6c80cd7fa

6 years agoRefactoring Animation Update 67/159467/5
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>
6 years agoMerge "Vector2 is a struct" into devel/master
Adeel Kazmi [Fri, 10 Nov 2017 16:21:18 +0000 (16:21 +0000)]
Merge "Vector2 is a struct" into devel/master

6 years agoDALi Version 1.2.65 19/159619/1 dali_1.2.65
Victor Cebollada [Fri, 10 Nov 2017 07:20:06 +0000 (07:20 +0000)]
DALi Version 1.2.65

Change-Id: Ifc2577f900cd7446c1b8754e74ad73002655aa5e

6 years agoVector2 is a struct 09/159409/1
Francisco Santos [Tue, 7 Nov 2017 17:46:25 +0000 (17:46 +0000)]
Vector2 is a struct

Change-Id: I1299b0223c6eb773a84e49e7b806648b6d9827d6

6 years agoCaches stencil glStencilFunc() and glStencilOp() calls. 81/159381/2
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>
6 years agoAvoid calling glActiveTexture() unnecessarily. 60/159360/1
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>
7 years agoBug fix at DevelAnimation::ProgressReashedSignal 71/158971/1
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>
7 years agoMerge "Bug fix at PlayAfter" into devel/master
David Steele [Fri, 3 Nov 2017 16:26:43 +0000 (16:26 +0000)]
Merge "Bug fix at PlayAfter" into devel/master

7 years agoDALi Version 1.2.64 61/158861/1 dali_1.2.64
György Straub [Fri, 3 Nov 2017 12:27:01 +0000 (12:27 +0000)]
DALi Version 1.2.64

Change-Id: Ife7f393136c3d1a0086139e2877e3f17ab4ecc91

7 years agoBug fix at PlayAfter 86/157886/11
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>
7 years agoRender to Frame Buffer Object. 76/155576/11
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>
7 years agoRenderTaskProcessor code cleaning. 74/157674/4
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>
7 years agoDALi Version 1.2.63 46/158046/1 dali_1.2.63
Umar [Fri, 27 Oct 2017 11:10:49 +0000 (12:10 +0100)]
DALi Version 1.2.63

Change-Id: Ia3df398437884f4d4ad426b8d4ec99abf03bffed

7 years agoRevert "Mark uniform map as not having changed when it's ready" 88/157888/1
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

7 years agoMark uniform map as not having changed when it's ready 80/157680/1
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

7 years agoMerge "Change to process events when the application is paused" into devel/master
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

7 years agoMerge "Ensured Random::Range does not overflow" 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

7 years agoFix SCREEN_POSITION error 41/157241/1
Heeyong Song [Tue, 24 Oct 2017 02:35:17 +0000 (11:35 +0900)]
Fix SCREEN_POSITION error

Change-Id: I07e7104e14b30c330c7266b44a6a20b28accff23

7 years agoChange to process events when the application is paused 45/152145/7
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

7 years agoEnsured Random::Range does not overflow 10/157210/1
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>
7 years agoBounding box clipping fix 47/157147/2
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

7 years agoDo nothing if the same size is set to the stage. 69/157069/3
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>
7 years agoDALi Version 1.2.62 01/156901/1 dali_1.2.62
Richard Huang [Fri, 20 Oct 2017 11:42:49 +0000 (12:42 +0100)]
DALi Version 1.2.62

Change-Id: I4eb87af310e36a5ad2ab37eff0e4406f722a2a3e

7 years agoAdd Property::EXTENTS type 50/154650/15
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>
7 years agoMerge "Initialize mTextureSet in RenderItem" into devel/master
HyunJu Shin [Mon, 16 Oct 2017 00:51:54 +0000 (00:51 +0000)]
Merge "Initialize mTextureSet in RenderItem" into devel/master

7 years agoDALi Version 1.2.61 63/155563/1 dali_1.2.61
greynaga [Fri, 13 Oct 2017 13:59:17 +0000 (14:59 +0100)]
DALi Version 1.2.61

Change-Id: I9772d281aed8df17af6a1e28990c1e1d3c49d1b1

7 years agoInitialize mTextureSet in RenderItem 33/155533/1
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>
7 years agoFix LoopingMode::AUTO_REVERSE behavior when LoopCount is 1 68/154268/5
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>
7 years agoMerge "Add types to Device::SubClass" into devel/master
Adeel Kazmi [Tue, 10 Oct 2017 15:16:37 +0000 (15:16 +0000)]
Merge "Add types to Device::SubClass" into devel/master

7 years agoInitialize Random::Range() 41/154441/1
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>
7 years agoAdd types to Device::SubClass 32/152832/2
Heeyong Song [Wed, 27 Sep 2017 07:43:22 +0000 (16:43 +0900)]
Add types to Device::SubClass

Change-Id: I15d51283f0e7c9e7281ce36f5cad07f94a471e78

7 years agoMerge "Fast bounding-box clipping feature" into devel/master
Adeel Kazmi [Fri, 6 Oct 2017 16:42:16 +0000 (16:42 +0000)]
Merge "Fast bounding-box clipping feature" into devel/master

7 years agoDALi Version 1.2.60 32/154132/1 dali_1.2.60
Adeel Kazmi [Fri, 6 Oct 2017 15:54:18 +0000 (16:54 +0100)]
DALi Version 1.2.60

Change-Id: Ib1abc4944e268ed54fa7cf2d48cf3756bd213e73

7 years agoFast bounding-box clipping feature 98/151998/9
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

7 years agoAdd macro for Public API read-only properties 42/153942/2
Adeel Kazmi [Tue, 3 Oct 2017 17:45:28 +0000 (18:45 +0100)]
Add macro for Public API read-only properties

Change-Id: I7f3acc4cbf8c9b4346059656379965f8c96184d1

7 years agoMoved some Actor APIs to the Public API 20/153820/1
Adeel Kazmi [Fri, 29 Sep 2017 17:44:46 +0000 (18:44 +0100)]
Moved some Actor APIs to the Public API

Change-Id: I2f2d9dcd542ac9d9472dd7b31e6b6a5ab6c7443a

7 years agoMove device codes & related TouchData & KeyEvent methods to Public API 07/153807/1
Adeel Kazmi [Fri, 29 Sep 2017 16:01:17 +0000 (17:01 +0100)]
Move device codes & related TouchData & KeyEvent methods to Public API

Change-Id: I241cac5fb236d02bc87a0aeb71b2bca0cb0985b1

7 years agoMoved some Animation Devel APIs to the Public API 67/153767/2
Adeel Kazmi [Fri, 29 Sep 2017 10:04:24 +0000 (11:04 +0100)]
Moved some Animation Devel APIs to the Public API

Change-Id: I00b44927867a3328d4fb59d7221c584eb3e453c6

7 years agoMerge changes Iebb3261e,I67abf9f4 into devel/master
Adeel Kazmi [Fri, 29 Sep 2017 12:51:34 +0000 (12:51 +0000)]
Merge changes Iebb3261e,I67abf9f4 into devel/master

* changes:
  Moved Dali::Vector functions to support C++11 range-based loop to Public API
  Move GLES 3.0 floating point pixel formats to Public API

7 years agoMerge "Move WeakHandle to the Public API" into devel/master
Adeel Kazmi [Fri, 29 Sep 2017 12:50:41 +0000 (12:50 +0000)]
Merge "Move WeakHandle to the Public API" into devel/master

7 years agoDALi Version 1.2.59 84/153784/1 dali_1.2.59
Francisco Santos [Fri, 29 Sep 2017 12:19:06 +0000 (13:19 +0100)]
DALi Version 1.2.59

Change-Id: I06a5c94f9aa0fa3e3259bf40c4c3089e6af7c01a

7 years agoMoved Dali::Vector functions to support C++11 range-based loop to Public API 35/153535/4
Adeel Kazmi [Thu, 28 Sep 2017 17:03:41 +0000 (18:03 +0100)]
Moved Dali::Vector functions to support C++11 range-based loop to Public API

Change-Id: Iebb3261eb8880d80e7a8a950f263510197ba7408

7 years agoMove WeakHandle to the Public API 33/153533/3
Adeel Kazmi [Thu, 28 Sep 2017 14:38:17 +0000 (15:38 +0100)]
Move WeakHandle to the Public API

Change-Id: Ie324f3da23047374b6a857b1d74ca5867caa2969

7 years agoMove GLES 3.0 floating point pixel formats to Public API 34/153534/4
Adeel Kazmi [Thu, 28 Sep 2017 15:13:49 +0000 (16:13 +0100)]
Move GLES 3.0 floating point pixel formats to Public API

Change-Id: I67abf9f4063080bd1a0f4c258d2b80bfd6284da1

7 years agoMerge "Revert "Initialize random number generator"" into devel/master
David Steele [Mon, 25 Sep 2017 10:11:50 +0000 (10:11 +0000)]
Merge "Revert "Initialize random number generator"" into devel/master

7 years agoDALi Version 1.2.58 78/151978/1 dali_1.2.58
David Steele [Fri, 22 Sep 2017 14:23:24 +0000 (15:23 +0100)]
DALi Version 1.2.58

Change-Id: I23786c16cdc0634c08427874cc13f13ddcf7fa6e