platform/core/uifw/dali-core.git
5 years agoFix typo in math-util.h 75/197075/1 accepted/tizen_4.0_unified accepted/tizen/4.0/unified/20190112.120428 submit/tizen_4.0/20190109.090434 submit/tizen_4.0/20190110.015301 submit/tizen_4.0/20190110.054357 submit/tizen_4.0/20190111.020557
Sunghyun kim [Wed, 9 Jan 2019 02:09:54 +0000 (11:09 +0900)]
Fix typo in math-util.h

Change-Id: I382877543dc0ddfb8a29c2b653f028005bf2cdc0

5 years ago[4.0] Fix SVACE error 35/196735/2 accepted/tizen/4.0/unified/20190104.230757 submit/tizen_4.0/20190104.073831
Seungho, Baek [Fri, 4 Jan 2019 04:09:36 +0000 (13:09 +0900)]
[4.0] Fix SVACE error

Change-Id: I61d34a758cf2d97da23229583f91789dd5faf72c
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
5 years ago[4.0] Fix SVACE error 07/196207/2
Heeyong Song [Wed, 26 Dec 2018 05:35:50 +0000 (14:35 +0900)]
[4.0] Fix SVACE error

Change-Id: I00f98bd11ae7aadda98ee299263c02ac33d6437e

5 years ago[4.0] Add ability to change rendering behavior 14/193014/1
Adeel Kazmi [Thu, 23 Aug 2018 10:36:06 +0000 (11:36 +0100)]
[4.0] Add ability to change rendering behavior

Change-Id: Ia3c8445069a5fe6044aec8edb2a5ecfa2216b915

6 years ago[4.0] Supports screen rotation. 68/183768/9 accepted/tizen/4.0/unified/20181011.183758 submit/tizen_4.0/20181004.072517 submit/tizen_4.0/20181005.021603 submit/tizen_4.0/20181010.011946
Joogab Yun [Wed, 11 Jul 2018 01:11:07 +0000 (10:11 +0900)]
[4.0] Supports screen rotation.

If the screen rotates, we need to change egl size and the buffer needs to be rotated.
So we need the orientation value in SurfaceResized.
SurfaceResized() API overloaded.

Change-Id: I81ac894c2f64ea5d71ea95624c00c3fa459d19e5

6 years agoCheck if the surfarce rect is changed 17/185617/1
Heeyong Song [Fri, 29 Jun 2018 07:55:00 +0000 (16:55 +0900)]
Check if the surfarce rect is changed

Change-Id: Id2c20944ca990848a3ff841298466e678fa2e74d

6 years ago[4.0] Fix to avoid render-task waiting forever 47/181447/1 accepted/tizen/4.0/unified/20180614.125418 submit/tizen_4.0/20180614.045225
Paul Wisbey [Tue, 12 Jun 2018 17:43:35 +0000 (18:43 +0100)]
[4.0] Fix to avoid render-task waiting forever

We require a finished signal to be emitted after rendering to the screen,
i.e. to know when the scene has been rendered for the 1st time.

Unfortunately RenderTask SetRefreshRate(REFRESH_ONCE) is causing scene updates to run forever.
This is is due to the mWaitingToRender flag which in that case will never be set to false

Change-Id: I031c05e09c2a00117b74110be601fccaf1e3126a

6 years ago[4.0] DALi version 1.2.90 82/180982/1 accepted/tizen/4.0/unified/20180608.011703 submit/tizen_4.0/20180607.102412
Seoyeon Kim [Thu, 7 Jun 2018 06:16:45 +0000 (15:16 +0900)]
[4.0] DALi version 1.2.90

Change-Id: I27b722835ef873bbb58541de037871edf9faec8a
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years ago[4.0] Set DepthMask to true before clearing depth buffer 37/178337/2 accepted/tizen/4.0/unified/20180511.174357 submit/tizen_4.0/20180510.005122
minho.sun [Wed, 9 May 2018 10:36:28 +0000 (19:36 +0900)]
[4.0] Set DepthMask to true before clearing depth buffer

When enableDepthWrite is false, Depth buffer is not cleared because DepthMask is false.
Make sure that DALi set DepthMask to true before clearing depth buffer.

Change-Id: Icbba95348e835f5a3146f611ff2d06baa1c1f608
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Initialize mDepthIndex of RenderItem in AddRendererToRenderList 92/176292/1 accepted/tizen/4.0/unified/20180423.130956 submit/tizen_4.0/20180423.041214
minho.sun [Tue, 17 Apr 2018 07:40:17 +0000 (16:40 +0900)]
[4.0] Initialize mDepthIndex of RenderItem in AddRendererToRenderList

RenderItem can be re-used.
Before using RenderItem again, initialize mDepthIndex to 0.

Change-Id: I47b9261767cb3dbc104db2049d893bf439d3bd98
Signed-off-by: minho.sun <minho.sun@samsung.com>
6 years ago[4.0] Revert "Add logs to check the messages processed by the update thread" 33/175733/2 accepted/tizen/4.0/unified/20180416.071502 submit/tizen_4.0/20180416.011224
minho.sun [Thu, 12 Apr 2018 04:29:11 +0000 (13:29 +0900)]
[4.0] Revert "Add logs to check the messages processed by the update thread"

This reverts commit c8e431a193df360f4d67b309f88e83d7fc2f9f40.

Change-Id: Ifa1969fb8c0419eded932a1f3a104a0755f0cbe3

6 years ago[4.0] add doc for API reference 60/174460/1 accepted/tizen/4.0/unified/20180403.060333 submit/tizen_4.0/20180402.083414
Joogab Yun [Sun, 1 Apr 2018 23:42:26 +0000 (08:42 +0900)]
[4.0] add doc for API reference

Change-Id: I30533679df52ae45271bb7bb5319b49fcde864bf

6 years ago[4.0] DALi version 1.2.89 06/173906/1 accepted/tizen/4.0/unified/20180327.144917 submit/tizen_4.0/20180327.034507
huiyu.eun [Tue, 27 Mar 2018 02:09:33 +0000 (11:09 +0900)]
[4.0] DALi version 1.2.89

Change-Id: Idc8c0a1b9fe255cff1b9d4ebd76174df6fec8db6
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years ago[4.0] Fix typo error in some descriptions 75/171875/1
Seoyeon Kim [Mon, 5 Mar 2018 06:16:31 +0000 (15:16 +0900)]
[4.0] Fix typo error in some descriptions

- Fixed typo.

Change-Id: I91f0b3798c0152eab3183996a7dd3d324a672a50
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
6 years agoAdd logs to check the messages processed by the update thread 37/171137/1 submit/tizen_4.0/20180227.054541
Richard Huang [Thu, 22 Feb 2018 18:06:51 +0000 (18:06 +0000)]
Add logs to check the messages processed by the update thread

Change-Id: I5ed701e2d61abfd6c390203381c4e85de26bd2ad

6 years ago[4.0] DALi version 1.2.88 33/171133/1
dongsug.song [Tue, 27 Feb 2018 01:06:49 +0000 (10:06 +0900)]
[4.0] DALi version 1.2.88

Change-Id: I75863cc64de07655910aae75ec7103b3eea0f686
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years ago[4.0] Fix blending factor for premultiplied alpha format 71/170871/1
Heeyong Song [Wed, 21 Feb 2018 02:03:23 +0000 (11:03 +0900)]
[4.0] Fix blending factor for premultiplied alpha format

Change-Id: I8030e1bd05a69d8afa06d2d0da12f40fc3f3d8d7

6 years ago[4.0] Fix scissor clipping 70/170870/1
Heeyong Song [Wed, 21 Feb 2018 03:51:52 +0000 (12:51 +0900)]
[4.0] Fix scissor clipping

Sibling case should be checked seperately.

Change-Id: Ic8531d1c408a61c01ddd792a31b03734c1e95131

6 years ago[4.0] Fix CLIP_TO_BOUNDING_BOX error 78/170578/1
Heeyong Song [Wed, 14 Feb 2018 06:13:33 +0000 (15:13 +0900)]
[4.0] Fix CLIP_TO_BOUNDING_BOX error

Change-Id: I59022e5883cdcd381479511ff0181b529227ddce

6 years ago[4.0] DALi version 1.2.87 93/170393/1 accepted/tizen/4.0/unified/20180223.062015 submit/tizen_4.0/20180220.021029
huiyu,eun [Tue, 20 Feb 2018 00:13:07 +0000 (09:13 +0900)]
[4.0] DALi version 1.2.87

Change-Id: If8714f843fcb71af3f70924fd79adfca18432b69
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi version 1.2.86 97/170197/1 submit/tizen_4.0/20180214.070807 submit/tizen_4.0/20180214.081753
dongsug.song [Mon, 12 Feb 2018 12:27:18 +0000 (21:27 +0900)]
[4.0] DALi version 1.2.86

Change-Id: I6f312853987f27fadfe678a708cfb2d4471e5556
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years ago[4.0] DALi version 1.2.85 96/169596/1 accepted/tizen/4.0/unified/20180209.064017 accepted/tizen/4.0/unified/20180212.141246 submit/tizen_4.0/20180208.050703 submit/tizen_4.0/20180209.045021
huiyu,eun [Thu, 8 Feb 2018 01:16:21 +0000 (10:16 +0900)]
[4.0] DALi version 1.2.85

Change-Id: I121ae5bb7e1c21cdbed66b49371977322636a957
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi version 1.2.84 75/168875/2 accepted/tizen/4.0/unified/20180205.144538 submit/tizen_4.0/20180201.050235
huiyu,eun [Thu, 1 Feb 2018 01:00:57 +0000 (10:00 +0900)]
[4.0] DALi version 1.2.84

Change-Id: I2e3523fa6e9e401f879cd09ec1d4a97233c8e898
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years agoRevert "[4.0] Discard render instruction if it is empty" 80/168880/1
Heeyong Song [Thu, 1 Feb 2018 00:13:22 +0000 (09:13 +0900)]
Revert "[4.0] Discard render instruction if it is empty"

This reverts commit 3f144756eeb5e99e23ec61e6d4902932397da6b8.

Change-Id: I6966dd706bc4dd989d00a72f00422291d9eceed6

6 years ago[4.0] Discard render instruction if it is empty 97/168797/1
Heeyong Song [Wed, 31 Jan 2018 04:46:29 +0000 (13:46 +0900)]
[4.0] Discard render instruction if it is empty

Change-Id: Iac0c55ca381c9a04a1467bf42656da8cd7416fce

6 years ago[4.0] Change in texture set requires recreation of uniform map 67/168767/2
Francisco Santos [Fri, 27 Oct 2017 15:34:44 +0000 (16:34 +0100)]
[4.0] 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 ago[4.0] Mark uniform map as not having changed when it's ready 66/168766/2
Francisco Santos [Fri, 27 Oct 2017 16:11:03 +0000 (17:11 +0100)]
[4.0] Mark uniform map as not having changed when it's ready

Change-Id: I250378ee07690ee04cbc94a65a1623a69c2a32c8

6 years ago[4.0] Changed Update to reset only target properties each frame 06/168606/1
David Steele [Wed, 24 Jan 2018 13:59:55 +0000 (13:59 +0000)]
[4.0] 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>
(cherry picked from commit 39093bc48ee4ed2b4956c183faf59c36f3e9746c)

6 years agoRevert "[4.0] Discard render instruction if it is empty" 84/168284/1 accepted/tizen/4.0/unified/20180131.050207 submit/tizen_4.0/20180129.062802
Heeyong Song [Thu, 25 Jan 2018 09:53:40 +0000 (18:53 +0900)]
Revert "[4.0] Discard render instruction if it is empty"

This reverts commit 761ca2391a3a7632f7d0728b6685eb4208dc7713.

Change-Id: I84c617396c76b1bef605c9d63d327c2d7395009e

6 years ago[4.0] DALi version 1.2.83 84/168184/1 submit/tizen_4.0/20180125.045739
huiyu,eun [Thu, 25 Jan 2018 01:09:55 +0000 (10:09 +0900)]
[4.0] DALi version 1.2.83

Change-Id: Iaae793524ae62af2651dd404dc19823cd3af6917
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Discard render instruction if it is empty 86/168086/1
Heeyong Song [Wed, 17 Jan 2018 05:53:38 +0000 (14:53 +0900)]
[4.0] Discard render instruction if it is empty

Change-Id: I79b4ffff23bbb4a3a08a16e84d0fa8f3889670d8

6 years ago[4.0] DALi version 1.2.82 94/167494/1 accepted/tizen/4.0/unified/20180119.060727 accepted/tizen/4.0/unified/20180119.133706 submit/tizen_4.0/20180118.063616 submit/tizen_4.0/20180119.025151
huiyu,eun [Thu, 18 Jan 2018 04:30:31 +0000 (13:30 +0900)]
[4.0] DALi version 1.2.82

Change-Id: Iace808e1184afd3ab7b3470e7cd3abdda4b06122
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years agoFix doxygen format 02/167202/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 ago[4.0] DALi version 1.2.81 00/166800/1 accepted/tizen/4.0/unified/20180116.022653 submit/tizen_4.0/20180112.054144 tizen_4.0.IoT.p2_release
huiyu,eun [Fri, 12 Jan 2018 04:16:42 +0000 (13:16 +0900)]
[4.0] DALi version 1.2.81

Change-Id: I1f6e690c53cbf25ab3a3fc97bed7acbc9c4870c5
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi version 1.2.80 65/166465/1 accepted/tizen/4.0/unified/20180111.051334 submit/tizen_4.0/20180110.094500
huiyu,eun [Wed, 10 Jan 2018 09:14:05 +0000 (18:14 +0900)]
[4.0] DALi version 1.2.80

Change-Id: I29fa528c98e519f0b3c87f7c8d86d9c87c5d96d0
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi version 1.2.79 95/165795/1 accepted/tizen/4.0/unified/20180111.044801 submit/tizen_4.0/20180104.070146
dongsug.song [Thu, 4 Jan 2018 05:10:20 +0000 (14:10 +0900)]
[4.0] DALi version 1.2.79

Change-Id: Ib23eac116645bc8b10e52e33e83392168b6098fa
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years ago[4.0] DALi version 1.2.78 38/165338/1 accepted/tizen/4.0/unified/20180104.054044 submit/tizen_4.0/20171228.093240 submit/tizen_4.0/20180103.021210 submit/tizen_4.0/20180104.011142
huiyu,eun [Thu, 28 Dec 2017 08:39:03 +0000 (17:39 +0900)]
[4.0] DALi version 1.2.78

Change-Id: I8d6f29ba3e3f37f06926d53ecc01838052ba1cb1
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi version 1.2.77 11/165111/1 accepted/tizen/4.0/unified/20171228.065052 submit/tizen_4.0/20171226.082854 submit/tizen_4.0/20171227.063609
huiyu,eun [Tue, 26 Dec 2017 08:24:00 +0000 (17:24 +0900)]
[4.0] DALi version 1.2.77

Change-Id: I727757e0353b29753ce80adcf0785f96367458a5
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi version 1.2.76 87/164787/1 accepted/tizen/4.0/unified/20171222.062703 submit/tizen_4.0/20171221.053908
huiyu,eun [Thu, 21 Dec 2017 05:08:45 +0000 (14:08 +0900)]
[4.0] DALi version 1.2.76

Change-Id: Ie6afb35ac95f9157323567eba7028117c0a2a6c3
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi version 1.2.75 15/164615/1 accepted/tizen/4.0/unified/20171221.070836 submit/tizen_4.0/20171220.054557
dongsug.song [Wed, 20 Dec 2017 05:02:39 +0000 (14:02 +0900)]
[4.0] DALi version 1.2.75

Change-Id: I317142e86a05b73438b1534401c264f1be5a0260
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years ago[4.0] DALi version 1.2.74 01/164201/1 accepted/tizen/4.0/unified/20171219.072151 submit/tizen_4.0/20171218.104831
huiyu,eun [Mon, 18 Dec 2017 05:17:07 +0000 (14:17 +0900)]
[4.0] DALi version 1.2.74

Change-Id: I55e300ebc26c1d796533497f95099b4e0cd49728
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] Fix screen position calulation in Actor 86/164186/2
Heeyong Song [Fri, 15 Dec 2017 05:54:13 +0000 (14:54 +0900)]
[4.0] Fix screen position calulation in Actor

Change-Id: Id8f153a670e72e35bb254426d0db030b457f1913

6 years agoAdd DALI_LOG_RELEASE_INFO for debug 46/163946/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 ago[4.0] DALi Version 1.2.73 38/163938/1 accepted/tizen/4.0/unified/20171215.060729 submit/tizen_4.0/20171214.071527
huiyu,eun [Thu, 14 Dec 2017 06:56:42 +0000 (15:56 +0900)]
[4.0] DALi Version 1.2.73

Change-Id: Ibf5525c118ddcaf1dffdbb7d2757e8e99a746ac8
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi Version 1.2.72 79/163779/1 submit/tizen_4.0/20171213.103220
huiyu,eun [Wed, 13 Dec 2017 10:06:05 +0000 (19:06 +0900)]
[4.0] DALi Version 1.2.72

Change-Id: I7c2e142119bd662479c5c6ce26a75382e93e09d1
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi Version 1.2.71 54/163654/1 accepted/tizen/4.0/unified/20171213.040853 submit/tizen_4.0/20171213.004332
huiyu,eun [Tue, 12 Dec 2017 16:22:15 +0000 (01:22 +0900)]
[4.0] DALi Version 1.2.71

Change-Id: I03f0d4aa40d179d11aa92880a2c492255379d028
Signed-off-by: huiyu,eun <huiyu.eun@samsung.com>
6 years ago[4.0] DALi Version 1.2.70 accepted/tizen/4.0/unified/20171212.064853 submit/tizen_4.0/20171211.060416
dongsug.song [Mon, 11 Dec 2017 04:25:32 +0000 (13:25 +0900)]
[4.0] DALi Version 1.2.70

Change-Id: I8210cfcd7b1e52d5e2055658e32e2b55c37f1952
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
6 years ago[4.0] DALi version 1.2.69 51/162751/1 accepted/tizen/4.0/unified/20171205.221935 accepted/tizen/4.0/unified/20171205.222141 submit/tizen_4.0/20171205.071939 submit/tizen_4.0/20171205.085322 submit/tizen_4.0/20171205.134230
Heeyong Song [Tue, 5 Dec 2017 07:08:20 +0000 (16:08 +0900)]
[4.0] DALi version 1.2.69

Change-Id: Ice67e86a036b8ed349c327f64d7d7c9996ddd8ad

6 years ago[4.0] Update doxygen comments 57/162257/1
Heeyong Song [Wed, 29 Nov 2017 02:47:09 +0000 (11:47 +0900)]
[4.0] Update doxygen comments

Change-Id: I1c9705fbe86d10f9a0059fc8f57fbc2c02774c6f

6 years ago[4.0] DALi version 1.2.68 49/162149/1
Heeyong Song [Wed, 29 Nov 2017 09:35:07 +0000 (18:35 +0900)]
[4.0] DALi version 1.2.68

Change-Id: I7dc2a7ff10d3975338d1424d490bf8fe6587111e

6 years ago[4.0] Change Dali::Thread, Dali::Mutex and Dali::ConditionalWait to use std::thread... 45/162145/1 accepted/tizen/4.0/unified/20171129.150239 submit/tizen_4.0/20171129.111338
Kimmo Hoikka [Thu, 17 Aug 2017 13:51:33 +0000 (14:51 +0100)]
[4.0] Change Dali::Thread, Dali::Mutex and Dali::ConditionalWait to use std::thread from C++ 11 instead of pthread APIs

Change-Id: I257035b0ba4a4c32dea52551dd0b39acb06575ba

6 years ago[4.0] Update doxygen comments 70/161870/1
Seoyeon Kim [Tue, 28 Nov 2017 05:08:33 +0000 (14:08 +0900)]
[4.0] 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 ago[4.0] DALi version 1.2.67 45/161745/1 accepted/tizen/4.0/unified/20171128.072818 submit/tizen_4.0/20171127.091326
Heeyong Song [Mon, 27 Nov 2017 08:29:18 +0000 (17:29 +0900)]
[4.0] DALi version 1.2.67

Change-Id: I89bea1e5a2e2a45644fa97acef96f9d503cd856d

6 years ago[4.0] DALi version 1.2.66 93/160793/1 accepted/tizen/4.0/unified/20171121.061725 submit/tizen_4.0/20171120.062402
Heeyong Song [Mon, 20 Nov 2017 06:11:53 +0000 (15:11 +0900)]
[4.0] DALi version 1.2.66

Change-Id: Ia3e48371cc3e854f9fc5042604fe2c315c8c5325

6 years ago[4.0] pan-gesture code refactor and environment variables 50/160750/1
Heeyong Song [Tue, 28 Feb 2017 06:20:55 +0000 (15:20 +0900)]
[4.0] pan-gesture code refactor and environment variables

Change-Id: Ief4bcc44a8a34fd319aa13b4372c87948848386f

6 years ago[4.0] Disable certain GL calls when depth and/or stencil buffers are not available 28/160728/1
Adeel Kazmi [Thu, 9 Nov 2017 14:51:01 +0000 (14:51 +0000)]
[4.0] Disable certain GL calls when depth and/or stencil buffers are not available

Change-Id: Ibe949280e963e3ffbbe46d99499b4415c4b86ec0
(cherry picked from commit 145a9d83ce4debdb5876fa65a246eb65a46a4c01)

6 years ago[4.0] Render to Frame Buffer Object. 51/160551/1
Victor Cebollada [Thu, 12 Oct 2017 15:32:21 +0000 (16:32 +0100)]
[4.0] 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>
(cherry picked from commit 4581860eac334340242f9a208ea85eb8c7e9bb9a)

6 years agoMerge "[4.0] Do nothing if the same size is set to the stage." into tizen_4.0
Adeel Kazmi [Thu, 16 Nov 2017 16:35:42 +0000 (16:35 +0000)]
Merge "[4.0] Do nothing if the same size is set to the stage." into tizen_4.0

6 years agoMerge "[4.0] Vector2 is a struct" into tizen_4.0
Adeel Kazmi [Thu, 16 Nov 2017 16:33:46 +0000 (16:33 +0000)]
Merge "[4.0] Vector2 is a struct" into tizen_4.0

6 years agoMerge "[4.0] Caches stencil glStencilFunc() and glStencilOp() calls." into tizen_4.0
Adeel Kazmi [Thu, 16 Nov 2017 16:33:35 +0000 (16:33 +0000)]
Merge "[4.0] Caches stencil glStencilFunc() and glStencilOp() calls." into tizen_4.0

6 years agoMerge "[4.0] Avoid calling glActiveTexture() unnecessarily." into tizen_4.0
Adeel Kazmi [Thu, 16 Nov 2017 16:33:29 +0000 (16:33 +0000)]
Merge "[4.0] Avoid calling glActiveTexture() unnecessarily." into tizen_4.0

6 years ago[4.0] Vector2 is a struct 45/160545/1
Francisco Santos [Tue, 7 Nov 2017 17:46:25 +0000 (17:46 +0000)]
[4.0] Vector2 is a struct

Change-Id: I1299b0223c6eb773a84e49e7b806648b6d9827d6
(cherry picked from commit cdf5bb91a0ae88779eda324f3dd6a91049bd3ba8)

6 years ago[4.0] Caches stencil glStencilFunc() and glStencilOp() calls. 44/160544/1
Victor Cebollada [Wed, 8 Nov 2017 11:01:41 +0000 (11:01 +0000)]
[4.0] Caches stencil glStencilFunc() and glStencilOp() calls.

Change-Id: I970ec25b1a6ab39c284c561bf96c81a1515b9434
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
(cherry picked from commit 83e7fd6820cdb9d16d91377912f85bdbbdf84eb4)

6 years ago[4.0] Avoid calling glActiveTexture() unnecessarily. 43/160543/2
Victor Cebollada [Tue, 7 Nov 2017 15:36:19 +0000 (15:36 +0000)]
[4.0] 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>
(cherry picked from commit 3ed1b4ee9d310989b3da67e51e31039c9e32714a)

6 years ago[4.0] RenderTaskProcessor code cleaning. 42/160542/1
Victor Cebollada [Wed, 25 Oct 2017 15:03:40 +0000 (16:03 +0100)]
[4.0] RenderTaskProcessor code cleaning.

* Removes a cut & pasted code.

Change-Id: I927fe965209ee3209604385094e0ed6c8e9d8657
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
(cherry picked from commit 8008ad178766370cf938c962c7562109e59be2b9)

6 years ago[4.0] Do nothing if the same size is set to the stage. 41/160541/1
Victor Cebollada [Mon, 23 Oct 2017 08:14:35 +0000 (09:14 +0100)]
[4.0] 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>
(cherry picked from commit fac1ab05d5ebbec145e8b34956c267768454f0f0)

6 years ago[4.0] DALi 1.2.61.3 43/159843/1 accepted/tizen/4.0/unified/20171114.062921 submit/tizen_4.0/20171113.081818 submit/tizen_4.0/20171114.000133
Heeyong Song [Mon, 13 Nov 2017 07:50:27 +0000 (16:50 +0900)]
[4.0] DALi 1.2.61.3

Change-Id: Id73d92bf5f93a136d3a657e7f184b641a28c6cbc

7 years ago[4.0] Bug fix at DevelAnimation::ProgressReashedSignal 31/159331/2
Eunki Hong [Mon, 6 Nov 2017 07:10:35 +0000 (16:10 +0900)]
[4.0] 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 ago[4.0] DALi version 1.2.61.2 86/158986/1 accepted/tizen/4.0/unified/20171109.065828 submit/tizen_4.0/20171106.091104 submit/tizen_4.0/20171106.114750 submit/tizen_4.0/20171108.072916
Heeyong Song [Mon, 6 Nov 2017 08:07:09 +0000 (17:07 +0900)]
[4.0] DALi version 1.2.61.2

Change-Id: I07e933bd908cf5594363452c24a1a9c94ab74800

7 years ago[4.0] Bug fix at PlayAfter 38/158938/1
Eunki Hong [Thu, 26 Oct 2017 17:20:02 +0000 (02:20 +0900)]
[4.0] 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 ago[4.0] DALi version 1.2.61.1 47/158647/1 accepted/tizen/4.0/unified/20171103.162647 submit/tizen_4.0/20171102.100953
Heeyong Song [Thu, 2 Nov 2017 08:44:36 +0000 (17:44 +0900)]
[4.0] DALi version 1.2.61.1

Change-Id: Ie468572f3525d2d1bffecf2c169b24236a5b6c7c

7 years ago[4.0] Ensured Random::Range does not overflow 38/158538/1
David Steele [Mon, 23 Oct 2017 18:08:00 +0000 (19:08 +0100)]
[4.0] 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>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
7 years agoMerge "[4.0] Change to process events when the application is paused" into tizen_4.0
Heeyong Song [Mon, 30 Oct 2017 23:08:26 +0000 (23:08 +0000)]
Merge "[4.0] Change to process events when the application is paused" into tizen_4.0

7 years agoBounding box clipping fix 32/156932/3
adam.b [Fri, 20 Oct 2017 16:58:31 +0000 (17:58 +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: I66e6e6686e5b22597317bc0d583f33f962405097

7 years ago[4.0] Change to process events when the application is paused 84/157984/1
Heeyong Song [Mon, 25 Sep 2017 06:59:13 +0000 (15:59 +0900)]
[4.0] Change to process events when the application is paused

Change-Id: I1a798c461962ce34eed99d97971a85012e1e08b4

7 years ago[4.0] Fix SCREEN_POSITION error 72/157972/1
Heeyong Song [Tue, 24 Oct 2017 02:35:17 +0000 (11:35 +0900)]
[4.0] Fix SCREEN_POSITION error

Change-Id: I07e7104e14b30c330c7266b44a6a20b28accff23

7 years ago[4.0] Add Property::EXTENTS type 20/155920/2 accepted/tizen/4.0/unified/20171017.212908 submit/tizen_4.0/20171017.144330 submit/tizen_4.0/20171017.145254 tizen_4.0.m2_release
Seoyeon Kim [Wed, 11 Oct 2017 02:53:06 +0000 (11:53 +0900)]
[4.0] 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 ago[4.0] When native image is destroyed, It call TriggerEventInterface 69/155669/1
Seoyeon Kim [Mon, 16 Oct 2017 02:22:11 +0000 (11:22 +0900)]
[4.0] When native image is destroyed, It call TriggerEventInterface

This reverts commit 133c2dfcc8398169b2a5d36b7e9999f27a6b2a37.

Change-Id: Ib40e51c1920fcf368d6459a7d0f271be21696528

7 years ago[4.0] check if event is called from main thread always 68/155668/1
Seoyeon Kim [Mon, 16 Oct 2017 02:21:34 +0000 (11:21 +0900)]
[4.0] check if event is called from main thread always

This reverts commit ed5a6eb14f1a3f78f2042eb4c6f33c513472fbd0.

Change-Id: I5bb2f8035be04c8e4fcb0509aaa4a713412e4a29

7 years ago[4.0] Restore Uploaded signal for BufferImage and ResourceImage 65/155665/1
Seoyeon Kim [Mon, 16 Oct 2017 02:14:02 +0000 (11:14 +0900)]
[4.0] Restore Uploaded signal for BufferImage and ResourceImage

This reverts commit faee48a770ea6ef284842e1bc01ee76570453dab.

Change-Id: Iad8cde2776311647e6c5f70ba05e742936c82c08

7 years agoMerge branch 'devel/master' into tizen_4.0 61/155661/1
Seoyeon Kim [Mon, 16 Oct 2017 02:12:55 +0000 (11:12 +0900)]
Merge branch 'devel/master' into tizen_4.0

Change-Id: Iadf66b532e8d9b9540d91f76fb689a6e5ba1e082

7 years agoRevert "[4.0] Restore Uploaded signal for BufferImage and ResourceImage" 37/155637/1
Seoyeon Kim [Mon, 16 Oct 2017 01:52:16 +0000 (10:52 +0900)]
Revert "[4.0] Restore Uploaded signal for BufferImage and ResourceImage"

This reverts commit a71dd9f900dfb077304645d608b1049b8e404700.

Change-Id: Ia0042bf983ab2acfd047115a4a229db58b894237

7 years agoRevert "[4.0] check if event is called from main thread always" 36/155636/1
Seoyeon Kim [Mon, 16 Oct 2017 01:51:43 +0000 (10:51 +0900)]
Revert "[4.0] check if event is called from main thread always"

This reverts commit d3d3244cb2df74291c9e4104b1688667aa7af0a8.

Change-Id: I9272d78506139b4100218600efe1d4a386f917a0

7 years agoRevert "[4.0] When native image is destroyed, It call TriggerEventInterface" 35/155635/1
Seoyeon Kim [Mon, 16 Oct 2017 01:30:28 +0000 (10:30 +0900)]
Revert "[4.0] When native image is destroyed, It call TriggerEventInterface"

This reverts commit c3991d8a4c6a83cd1433bdc903c099e2e79f363e.

Change-Id: I9578885303ac4756c699c0a9f70ad8db997266a9

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 ago[4.0] When native image is destroyed, It call TriggerEventInterface 95/154795/1 accepted/tizen/4.0/unified/20171012.230017 submit/tizen_4.0/20171012.085532 submit/tizen_4.0/20171012.091159 submit/tizen_4.0/20171014.001058 tizen_4.0.IoT.p1_release
taeyoon0.lee [Wed, 11 Oct 2017 08:32:41 +0000 (17:32 +0900)]
[4.0] When native image is destroyed, It call TriggerEventInterface

This reverts commit ec726413586c8e080cd7590260c4a776c7dfb32b.

Change-Id: I3be243ea94800af14bdf16e8a39bb5bb0b9c3996

7 years ago[4.0] check if event is called from main thread always 94/154794/1
taeyoon0.lee [Wed, 11 Oct 2017 08:31:57 +0000 (17:31 +0900)]
[4.0] check if event is called from main thread always

This reverts commit 0fc41a96ca4bb15bfd915b907b278810d8dab628.

Change-Id: Icd43407b21ae0a6c861dedc6083dbe5cfe846bed

7 years ago[4.0] Restore Uploaded signal for BufferImage and ResourceImage 93/154793/1
taeyoon0.lee [Wed, 11 Oct 2017 08:31:12 +0000 (17:31 +0900)]
[4.0] Restore Uploaded signal for BufferImage and ResourceImage

This reverts commit bf0fc38794304b32d2bb7770e42d2e0dc82c4714.

Change-Id: I155d729832ca9c01d3e298d11d92e29ffe7566f4

7 years agoMerge branch 'devel/master (1.2.60)' into tizen_4.0 92/154792/1
taeyoon0.lee [Wed, 11 Oct 2017 08:26:42 +0000 (17:26 +0900)]
Merge branch 'devel/master (1.2.60)' into tizen_4.0

Change-Id: Ide9c356938107479ed2288c81f0876a9c8f445bf

7 years agoRevert "[4.0] Restore Uploaded signal for BufferImage and ResourceImage" 91/154791/1
taeyoon0.lee [Wed, 11 Oct 2017 08:25:28 +0000 (17:25 +0900)]
Revert "[4.0] Restore Uploaded signal for BufferImage and ResourceImage"

This reverts commit 45a28cb889a15c044232c25705129ff4193dc125.

Change-Id: I00a648900baad2c497ff7943054139a0f62ba333

7 years agoRevert "[4.0] check if event is called from main thread always" 90/154790/1
taeyoon0.lee [Wed, 11 Oct 2017 08:25:06 +0000 (17:25 +0900)]
Revert "[4.0] check if event is called from main thread always"

This reverts commit 7b7795e0ea89309977a2b1343553a72775d0fe05.

Change-Id: Ie8db3705a152e8de11e22a4fdde59c123230de3b

7 years agoRevert "[4.0] Initialize random number generator" 89/154789/1
taeyoon0.lee [Wed, 11 Oct 2017 08:24:41 +0000 (17:24 +0900)]
Revert "[4.0] Initialize random number generator"

This reverts commit a6f1d65817d345731c06de99d88f7ac8c95cb7c8.

Change-Id: I8aaf48d430aaa1f00e41c800807292eef387e81b

7 years agoRevert "[4.0] Fast bounding-box clipping feature" 88/154788/1
taeyoon0.lee [Wed, 11 Oct 2017 08:24:17 +0000 (17:24 +0900)]
Revert "[4.0] Fast bounding-box clipping feature"

This reverts commit e5ae770573de0421fdeb9b5509a82fdd14e92284.

Change-Id: Idd67527d44805844224f3673c1b024a855e587db

7 years agoRevert "[4.0] When native image is destroyed, It call TriggerEventInterface" 87/154787/1
taeyoon0.lee [Wed, 11 Oct 2017 08:23:21 +0000 (17:23 +0900)]
Revert "[4.0] When native image is destroyed, It call TriggerEventInterface"

This reverts commit 9b15d29195c609d5865bc8481ad45d4ca33e6894.

Change-Id: Iea39627415e4b26bd73cc25c1ef677e41ea12917

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