platform/core/uifw/dali-adaptor.git
10 years agoMerge "Remove Adaptor class from Public API" into tizen accepted/tizen_3.0.2014.q3_common tizen_3.0.2014.q3_common accepted/tizen/common/20140925.172111 submit/tizen_common/20140925.141856 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
Kimmo Hoikka [Wed, 24 Sep 2014 13:45:36 +0000 (06:45 -0700)]
Merge "Remove Adaptor class from Public API" into tizen

10 years agoRemove unused functions 13/28013/1
Yury Usishchev [Tue, 23 Sep 2014 12:04:57 +0000 (16:04 +0400)]
Remove unused functions

Change-Id: Ie25ac47e434da0ee838fc408bf473881c74a9fcc
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
10 years agoRemove Adaptor class from Public API 70/27970/1
Adeel Kazmi [Tue, 23 Sep 2014 15:40:01 +0000 (16:40 +0100)]
Remove Adaptor class from Public API

Change-Id: Ie166cc3225dec2eb68c2cc4cb43a3545f671337e

10 years ago(Automated Tests) Updated test suite utils 70/27770/2
Adeel Kazmi [Thu, 18 Sep 2014 18:28:29 +0000 (19:28 +0100)]
(Automated Tests) Updated test suite utils

Change-Id: I15a976bf9ef324c0cc4cb4c01d45963d2ed26370

10 years agoFix build break for Tizen TV 76/27876/2
Nick Holland [Mon, 22 Sep 2014 10:39:11 +0000 (11:39 +0100)]
Fix build break for Tizen TV

Change-Id: I9e6c618433784ed86e2705c93eeec3af6aedffbd

10 years agoMerge "(AutomatedTests) Synchronise TestGLAbstraction" into tizen
Kimmo Hoikka [Thu, 18 Sep 2014 17:50:13 +0000 (10:50 -0700)]
Merge "(AutomatedTests) Synchronise TestGLAbstraction" into tizen

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

Change-Id: I87dcc8297fa90918a82322212e42f7ee93300145

10 years ago(AutomatedTests) Synchronise TestGLAbstraction 48/27748/1
Adeel Kazmi [Thu, 18 Sep 2014 13:31:12 +0000 (14:31 +0100)]
(AutomatedTests) Synchronise TestGLAbstraction

Change-Id: Iba80899937e9b72eb413ad5918325aa6bcb06e8f

10 years agoMerge "Reduced level of unnecessary debug" into tizen
Adeel Kazmi [Thu, 18 Sep 2014 09:43:08 +0000 (02:43 -0700)]
Merge "Reduced level of unnecessary debug" into tizen

10 years ago(Resource Text) Remove unused functions 29/27729/1
Adeel Kazmi [Thu, 18 Sep 2014 09:24:14 +0000 (10:24 +0100)]
(Resource Text) Remove unused functions

Change-Id: Ice8f8fc1ddda6fa08f50b98e79a71400a047af79

10 years agoReduced level of unnecessary debug 92/27692/1
David Steele [Wed, 17 Sep 2014 12:41:38 +0000 (13:41 +0100)]
Reduced level of unnecessary debug

Change-Id: Ibecb3e33c1cd01ce3ee1150ee5a1fa126bd7c98d
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(Automated Tests) Fix compiler warnings in some test cases 90/27590/1
Adeel Kazmi [Tue, 16 Sep 2014 09:00:45 +0000 (10:00 +0100)]
(Automated Tests) Fix compiler warnings in some test cases

Change-Id: I91eb66e9a01c39951b80341f73e71cc185da86af

10 years ago(Build) Fix checks for gles20, glyphcache install folder 15/27415/2 accepted/tizen/common/20140916.140309 submit/tizen_common/20140916.094545
Manuel Bachmann [Fri, 12 Sep 2014 09:39:19 +0000 (11:39 +0200)]
(Build) Fix checks for gles20, glyphcache install folder

Tizen Common does not have "gles20", but only "glesv2" and
"egl" in all repos. We have a macro to replace it in the
specfile, but not the autoconf files. Fixing.

The glyphcache install folder seems to have changed in
latest releases ("/opt/usr" to "/usr"). Fixing.

Use the %configure macro instead of "./configure". Simplify
the specfile by using a conditional variable.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Change-Id: Icc88ee08b2f373be92e1a9be0f85656da032f99e

10 years ago(Build) Ensure branch coverage is collected for later versions of lcov 65/27465/3
Adeel Kazmi [Fri, 12 Sep 2014 17:16:21 +0000 (18:16 +0100)]
(Build) Ensure branch coverage is collected for later versions of lcov

Change-Id: I52200982606e14c2191470fd8bc3b60a776e9271

10 years ago(Build) Combined common & application libraries 12/27312/3
Adeel Kazmi [Wed, 10 Sep 2014 17:01:51 +0000 (18:01 +0100)]
(Build) Combined common & application libraries

Change-Id: I974fe5a668001364489c4891ec01774f72e04bf9

10 years agoFix X11 build for Tizen Common (MSG_DOMAIN_CONTROL_ACCESS) 70/27170/2 submit/tizen/20140910.172931 submit/tizen/20140910.172954
Manuel Bachmann [Fri, 5 Sep 2014 11:57:53 +0000 (13:57 +0200)]
Fix X11 build for Tizen Common (MSG_DOMAIN_CONTROL_ACCESS)

The X11 adaptor code uses the "MSG_DOMAIN_CONTROL_ACCESS"
macro, which was at once an alias to "ECORE_X_ATOM_E_ILLUME
_ACCESS_CONTROL" in a Tizen Mobile-specific version of
Elementary.

As Tizen Common now has a more recent version of Elementary
which contains this macro, we can directly use it ; this
shouldn't break other profiles either.

Change-Id: I2687b7303a5f7bcb2360c0c682e78a71211e6315
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years ago[dali_1.0.8] Merge branch 'tizen' 93/27293/1
Adeel Kazmi [Wed, 10 Sep 2014 10:08:07 +0000 (11:08 +0100)]
[dali_1.0.8] Merge branch 'tizen'

Change-Id: I08db1c75ea79c859ae0127702590ad6f33ec20b3

10 years agoDALi Version 1.0.8 89/27289/1 dali_1.0.8
Adeel Kazmi [Wed, 10 Sep 2014 10:01:29 +0000 (11:01 +0100)]
DALi Version 1.0.8

Change-Id: Iaa436985cf759803f2e013accde96959b14fc4f8

10 years ago(VSyncMonitor) Fixed build break for UBUNTU profile 84/27284/1
Adeel Kazmi [Wed, 10 Sep 2014 09:28:01 +0000 (10:28 +0100)]
(VSyncMonitor) Fixed build break for UBUNTU profile

Change-Id: Ie4fe3d883bf2402a722d854eed3213bed2e4f688

10 years agoMerge "Redesigning render sync to handle reduced frequency" into tizen
Kimmo Hoikka [Mon, 8 Sep 2014 15:47:51 +0000 (08:47 -0700)]
Merge "Redesigning render sync to handle reduced frequency" into tizen

10 years ago(AutomatedTests) Added automated tests for SingletonService 86/26986/4
Adeel Kazmi [Tue, 2 Sep 2014 16:47:38 +0000 (17:47 +0100)]
(AutomatedTests) Added automated tests for SingletonService

Change-Id: I59e9aa7267ee699709071a3999274d3d25b98dfe

10 years ago(Application) Added a New method which does not require an arglist 80/26980/4
Adeel Kazmi [Tue, 2 Sep 2014 14:02:38 +0000 (15:02 +0100)]
(Application) Added a New method which does not require an arglist

Change-Id: I49c7bf988e6ccf3153a00f6793da4c9822412287

10 years agoAdded SingletonService, removed Singleton APIs from Adaptor & removed Application... 42/26942/8
Adeel Kazmi [Mon, 1 Sep 2014 17:45:12 +0000 (18:45 +0100)]
Added SingletonService, removed Singleton APIs from Adaptor & removed Application::Get

Change-Id: I09191b12dfb40c54e68f3bfa811bd61b70248780

10 years agoRedesigning render sync to handle reduced frequency 61/26461/13
David Steele [Fri, 22 Aug 2014 17:40:12 +0000 (18:40 +0100)]
Redesigning render sync to handle reduced frequency

[Problem] Update and render timers are out of step with expected results.
[Solution] Manage frame skipping and synchronisation with VSync in a single
place.

Moved all compositor syncing to reside in PixmapRenderSurface only.

Change-Id: I5577fc2c4c4d2ac7fb514a01c4956e402a31a038
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago[dali_1.0.7] Merge branch 'tizen' 12/27112/1 dali_1.0.7
Agnelo Vaz [Thu, 4 Sep 2014 14:13:36 +0000 (15:13 +0100)]
[dali_1.0.7] Merge branch 'tizen'

Change-Id: Ie6d2c1a3c7b88d1f08baf2b90489c30f5625ddf5

10 years agoDALi Version 1.0.7 07/27107/1
Agnelo Vaz [Thu, 4 Sep 2014 13:54:56 +0000 (14:54 +0100)]
DALi Version 1.0.7

Change-Id: Iba95c3e85bdcd530973df214f9346c97cf43c67b
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years agoMerge "Moved FrameTime from Core to Adaptor" into tizen
Paul Wisbey [Fri, 29 Aug 2014 09:07:13 +0000 (02:07 -0700)]
Merge "Moved FrameTime from Core to Adaptor" into tizen

10 years agoUses TextArray new type definition. 95/26395/3
Victor Cebollada [Wed, 13 Aug 2014 14:32:23 +0000 (15:32 +0100)]
Uses TextArray new type definition.

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

Change-Id: I49930f74969b8b7b7562b57f104baf1ebcf3585a
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoMoved FrameTime from Core to Adaptor 31/26431/3
David Steele [Fri, 22 Aug 2014 10:01:37 +0000 (11:01 +0100)]
Moved FrameTime from Core to Adaptor

[Problem]  Core::Update was second-guessing VSyncMonitor.
[Solution] Moved FrameTime from Core to Adaptor; now passes in elapsed time
and last/next vsync times to Core::Update().
Updated test harness

Change-Id: I9852d240c9d152219f00f6d217ab8e8b265435af
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago[dali_1.0.6] Merge branch 'tizen' 84/26684/1
Nick Holland [Wed, 27 Aug 2014 16:17:37 +0000 (17:17 +0100)]
[dali_1.0.6] Merge branch 'tizen'

Change-Id: Ic69941959efe20002d53e30d5967b76f1e13b164

10 years agoDALi Version 1.0.6 77/26677/1 dali_1.0.6
Nick Holland [Wed, 27 Aug 2014 16:06:39 +0000 (17:06 +0100)]
DALi Version 1.0.6

Change-Id: I0e6d397f9b4b576b747ed409f8620d17ddcbb933

10 years ago[dali_1.0.5] Merge branch 'tizen' 32/26332/1
Lee Morgan [Wed, 20 Aug 2014 15:45:51 +0000 (16:45 +0100)]
[dali_1.0.5] Merge branch 'tizen'

Change-Id: If9ba312ec08080ba8c105d0b3c28678e898f518b
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoDALi Version 1.0.5 18/26318/4 dali_1.0.5
Lee Morgan [Wed, 20 Aug 2014 12:56:11 +0000 (13:56 +0100)]
DALi Version 1.0.5

Change-Id: Ib78687ee422a30e690daed9c3f91f63f95b2e3cf
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoRevert "Revert pc file & spec changes" 31/26331/1
Adeel Kazmi [Wed, 20 Aug 2014 15:43:06 +0000 (08:43 -0700)]
Revert "Revert pc file & spec changes"

This reverts commit a87c8432f6cdf5eec93117eaf9fe1c980046b76e.

Change-Id: I0a432477303b5518d807591af78aca055d1a48c2

10 years agoRevert pc file & spec changes 30/26330/1
Adeel Kazmi [Wed, 20 Aug 2014 15:37:26 +0000 (08:37 -0700)]
Revert pc file & spec changes

Reverting due to ensure matching weekly release across all repos.  Will be pushed later.

This reverts commit f85a9b4bc73ea297646152c134a6ae340634fcbb.

Change-Id: Ie6795a9e2a44a5dadf7ac616fe582053a0b1103e

10 years agoFix the plugins install path, and search path in "*.pc" files 90/26290/3
Manuel Bachmann [Wed, 20 Aug 2014 09:11:32 +0000 (11:11 +0200)]
Fix the plugins install path, and search path in "*.pc" files

Plugins were not always installed in a directory matching
the architecture ("/usr/lib" instead of "/usr/lib64" e.g.),
which caused build problems.

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

Change-Id: I286907a4b3d59e3416ca96e8903665f155c07415
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoPublic API headers are installed in the correct folder 30/26230/1
Adeel Kazmi [Tue, 19 Aug 2014 12:08:41 +0000 (13:08 +0100)]
Public API headers are installed in the correct folder

Change-Id: I8cf1b8865be9fe35a4c95dfe43de7ae10acfb911

10 years agoMerge "Removed troubleshooting section from README" into tizen
Adeel Kazmi [Mon, 18 Aug 2014 11:05:48 +0000 (04:05 -0700)]
Merge "Removed troubleshooting section from README" into tizen

10 years agoRemoved troubleshooting section from README 14/26114/3
Adeel Kazmi [Sat, 16 Aug 2014 00:44:43 +0000 (01:44 +0100)]
Removed troubleshooting section from README

- libjpegturbo.so link created by dali_env script now.

Change-Id: Ia9ad48e71620ed75c72e98a844972ed6a23da4bf

10 years agoUpdated documentation for stereoscopic rendering 08/26108/1
Ferran Sole [Fri, 15 Aug 2014 14:10:01 +0000 (15:10 +0100)]
Updated documentation for stereoscopic rendering

Change-Id: Ie1ab44aaff897b02dd967282e73d04646d041941

10 years agoRefactored image loaders, added public API 81/25881/5
David Steele [Mon, 11 Aug 2014 18:01:36 +0000 (19:01 +0100)]
Refactored image loaders, added public API

[Problem] No synchronous access to the image loaders from external application
[Cause] No requirement
[Solution]

Moved image loading code out of resource-thread-image.cpp into a new image-loader.cpp.

New API to allow bitmaps to be loaded synchronously.
These can then be used to instantiate a BitmapImage().

Change-Id: I48e2975628a647f822ef45dd15078edbb58e69e0
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoMerge "DALi Version 1.0.4" into tizen
Adeel Kazmi [Wed, 13 Aug 2014 15:36:46 +0000 (08:36 -0700)]
Merge "DALi Version 1.0.4" into tizen

10 years ago[dali_1.0.4] Merge branch 'tizen' 89/25989/1
Kingsley Stephens [Wed, 13 Aug 2014 14:21:03 +0000 (15:21 +0100)]
[dali_1.0.4] Merge branch 'tizen'

Change-Id: Ie4edfa6323fdc01304b9150c825607dc59edbc08

10 years agoDALi Version 1.0.4 85/25985/1 dali_1.0.4
Kingsley Stephens [Wed, 13 Aug 2014 14:15:07 +0000 (15:15 +0100)]
DALi Version 1.0.4

Change-Id: Ifb1510ecc7a96db8ea961a10392e586a8f58fe8a

10 years agoMerge "Implemented the Handle assignment operators properly" into tizen
Paul Wisbey [Wed, 13 Aug 2014 10:05:48 +0000 (03:05 -0700)]
Merge "Implemented the Handle assignment operators properly" into tizen

10 years agoImplemented the Handle assignment operators properly 78/25878/2
Paul Wisbey [Mon, 11 Aug 2014 17:10:30 +0000 (18:10 +0100)]
Implemented the Handle assignment operators properly

[Problem] Some unsafe handle assignments are allowed by the compiler e.g.
Actor notAnImageActor = Actor::New();
ImageActor notSafeToUse = notAnImageActor;
[Cause] using BaseHandle::operator= is unsafe
[Solution] Implemented the Handle assignment operators properly

Change-Id: I0df98636a08f49afbf195f0ee9f7d4f7bdbfdc5a

10 years agoMerge "Remove Deprecated APIs" into tizen
Paul Wisbey [Mon, 11 Aug 2014 15:56:30 +0000 (08:56 -0700)]
Merge "Remove Deprecated APIs" into tizen

10 years agoRemove Deprecated APIs 64/25864/1
Richard Huang [Mon, 11 Aug 2014 10:58:22 +0000 (11:58 +0100)]
Remove Deprecated APIs

Change-Id: I9f70e6649fc6124d045420398fc16f9f7e0e00e6

10 years agoFix to disable all tests for in-flight cancellation off the async loading path 61/25661/5
Andrew Cox [Thu, 7 Aug 2014 16:05:48 +0000 (17:05 +0100)]
Fix to disable all tests for in-flight cancellation off the async loading path

[problem]
When loading nine-patch images, an interruption exception could be
thrown on a thread that doesn't handle them.

[cause]
Our standard loading path involves two threads at a time coordinating on
cancellation of resource loads that have already been started.
Nine-patch images are a special case that execute image loading file IO
and decoding to bitmaps directly on the event thread, thus introducing a
third thread into this mix.
The event thread was not considered in the design or the reviews of the
late image cancelation feature.

[solution]
Make all image loading paths other than the main async one on a
background thread use a stubbed NOP implementation of the interface that
lets such loading paths interrupt themselves.
Thus the nine-patch loading path can never be interrupted.

No currently-commited demos show this issue but the following patch
fails without this one and works after it is applied:
https://review.tizen.org/gerrit/25392

Change-Id: Id5adeebb95b41eac1414e58b8ab61e560ad1a585
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoEnsure a valid profile is selected 58/25658/1
Adeel Kazmi [Thu, 7 Aug 2014 14:20:38 +0000 (15:20 +0100)]
Ensure a valid profile is selected

[Problem] It was possible to pass any old junk when using --enable-profile and there would be no
          error.
[Cause]   we never actually checked if it matched any of the profiles we support.
[Solutin] Ensure we check all profiles and show an error when the profile does not match any of
          the ones we support.

Change-Id: Ide85946093a06e7dd1f7ef97585a42b1bae71c81

10 years agoFix for ColorController. 33/25533/4
Victor Cebollada [Wed, 6 Aug 2014 15:00:59 +0000 (16:00 +0100)]
Fix for ColorController.
Creates an internal implementation for the default color controller to avoid a crash if it's called.

[problem] Crash if the default ColorController is used.
[cause] There is no internal implementation.
[solution] Create an internal implementation.

Change-Id: I49ac335ed6db2dfc68b6dae3beea42c1b5db275e
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoSupport to build against ubuntu environment. 45/25145/15
Francisco Santos [Wed, 16 Jul 2014 16:25:13 +0000 (17:25 +0100)]
Support to build against ubuntu environment.

Change-Id: I59e1aa0adc3a3f32cde756ae816e71d955fd1a8e
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago[dali_1.0.3] Merge branch 'tizen' 21/25621/1
Agnelo Vaz [Thu, 7 Aug 2014 10:05:09 +0000 (11:05 +0100)]
[dali_1.0.3] Merge branch 'tizen'

Change-Id: I2fdaee520c05b07783c08691c11b8ca780b4d620
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years agoRemove lib-adaptor as it is not used anymore 98/25398/2
Francisco Santos [Mon, 4 Aug 2014 14:03:12 +0000 (15:03 +0100)]
Remove lib-adaptor as it is not used anymore

Change-Id: I62644c25c9d1f22f2adfe43a31311692d7a96302

10 years agoDALi Version 1.0.3 39/25539/1 dali_1.0.3
Agnelo Vaz [Wed, 6 Aug 2014 18:08:02 +0000 (19:08 +0100)]
DALi Version 1.0.3

Change-Id: Ieeeb77b93ea1b24d3987fddc5f4d68986e2fabf0
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years agoFix for crash when first resource load is synchronous 48/25348/2
Andrew Cox [Mon, 4 Aug 2014 08:21:39 +0000 (09:21 +0100)]
Fix for crash when first resource load is synchronous

[problem]
If the first load of a resource executed by dali is synchronous,
it is treated as cancelled.

[solution]
Change initialisation of ResourceThreadBase members tracking
cancellation.

Change-Id: I61f4f86dbcb638fb385558429909d46d7bd066a3
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years ago[dali_1.0.2] Merge branch 'tizen' 06/25306/1
Adeel Kazmi [Fri, 1 Aug 2014 15:02:09 +0000 (16:02 +0100)]
[dali_1.0.2] Merge branch 'tizen'

Change-Id: I9d0dc43de965f34f42dbcfcbc0e332609c07e7cd

10 years agoDALi Version 1.0.2 05/25305/1 dali_1.0.2
Adeel Kazmi [Fri, 1 Aug 2014 15:00:59 +0000 (16:00 +0100)]
DALi Version 1.0.2

Change-Id: If5daac36e05fef3445193b1d8cf68287b1a1a6d2

10 years agoAdd some constants that show the version of the library 75/25175/4
Adeel Kazmi [Wed, 30 Jul 2014 16:09:11 +0000 (17:09 +0100)]
Add some constants that show the version of the library

Change-Id: Ibc32649fe2570a16908a502ea7366c31425ae961

10 years agoAdding warning logs for metrics file 34/25034/1
Agnelo Vaz [Fri, 25 Jul 2014 15:54:47 +0000 (16:54 +0100)]
Adding warning logs for metrics file

Change-Id: Ied66c6656ebbbeafe71de2f43a76339a44837191
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years ago[dali_1.0.1] Merge branch 'tizen' 78/24978/1
Adeel Kazmi [Thu, 24 Jul 2014 13:57:14 +0000 (14:57 +0100)]
[dali_1.0.1] Merge branch 'tizen'

Change-Id: I2cba730d1b96f5cd04bd53b2946b624837de6be1

10 years agoDALi Version 1.0.1 76/24976/1 dali_1.0.1
Adeel Kazmi [Thu, 24 Jul 2014 13:53:50 +0000 (14:53 +0100)]
DALi Version 1.0.1

Change-Id: I1aeee2a030054bce297e414ad6794b079630680e

10 years agoRemoved EVAS, NativeBuffer & Livebox plugins 56/24956/2
Adeel Kazmi [Thu, 24 Jul 2014 10:36:01 +0000 (11:36 +0100)]
Removed EVAS, NativeBuffer & Livebox plugins

Change-Id: I689d076ca0f42049e854d8775f855f1a2c948640

10 years agoAdded spec to build for wearable 58/24858/2
Paul Wisbey [Wed, 23 Jul 2014 12:40:30 +0000 (13:40 +0100)]
Added spec to build for wearable

Change-Id: I863ccafbfeb4761f66a1694ad3b7228616ca91ae
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoUse older sensor API for mobile builds 12/24812/1
Paul Wisbey [Tue, 22 Jul 2014 12:54:58 +0000 (13:54 +0100)]
Use older sensor API for mobile builds

(Mobile lite has newer API)

Change-Id: Icf66566d463948cbce00173b35dee14780dd6888
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoAdded README with build commands 81/24781/3
Adeel Kazmi [Mon, 21 Jul 2014 17:32:22 +0000 (18:32 +0100)]
Added README with build commands

Change-Id: Iff6f6fa9274f55e0d91bcdf858ff6d698b8618d3

10 years agoAdded spec to build for mobile 24/24724/3
Adeel Kazmi [Fri, 18 Jul 2014 17:12:17 +0000 (18:12 +0100)]
Added spec to build for mobile

Use gbs build ... --spec dali-adaptor-mobile.spec

Change-Id: I528a444a83260028d3440e689158bfc111226f6c

10 years agoEnable late cancelation of resource loads already in flight 43/24443/10
Andrew Cox [Tue, 24 Jun 2014 15:36:25 +0000 (16:36 +0100)]
Enable late cancelation of resource loads already in flight

Change-Id: If08cbfdc9d7dde4204c3b27f0d50db91e926784d
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoMerge "Add missing DownCast function implementations." into tizen
Paul Wisbey [Tue, 15 Jul 2014 13:44:35 +0000 (06:44 -0700)]
Merge "Add missing DownCast function implementations." into tizen

10 years agoMerge "Build configuration for wearable" into tizen
Kimmo Hoikka [Tue, 15 Jul 2014 11:53:24 +0000 (04:53 -0700)]
Merge "Build configuration for wearable" into tizen

10 years agoAdd missing DownCast function implementations. 90/24490/1
Francisco Santos [Tue, 15 Jul 2014 10:03:56 +0000 (11:03 +0100)]
Add missing DownCast function implementations.

Change-Id: I63f35783ea5a3a7c8ce95db202e8c9b7844638a4

10 years agoTCT tests fix for Wayland refactor 58/24458/1
Andrew Cox [Mon, 14 Jul 2014 17:36:12 +0000 (18:36 +0100)]
TCT tests fix for Wayland refactor

Change-Id: I9cb7e8a348ef6e2bcb852af60474bc73e13243c7
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoBuild configuration for wearable 56/24456/2
Sinjae Lee [Wed, 9 Jul 2014 10:12:20 +0000 (19:12 +0900)]
Build configuration for wearable

Change-Id: I2f2e7e0b0c2368d48dcc1eda5ef213655b55dc04
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoMerge "Fix build errors with GCC4.8." into tizen
Adeel Kazmi [Mon, 14 Jul 2014 16:55:52 +0000 (09:55 -0700)]
Merge "Fix build errors with GCC4.8." into tizen

10 years agoFix build errors with GCC4.8. 55/24455/1
daemyung jang [Fri, 11 Jul 2014 00:58:58 +0000 (09:58 +0900)]
Fix build errors with GCC4.8.

[problem] 'uint64_t' does not name a type.
[cause] Don't include 'stdint.h'.
[solution] Include 'stdint.h'.

Change-Id: I702e7e43efd31e2b0e296f46026bdd74e1979f8b

10 years agoRefactor and add Wayland support. 14/23414/11
Yan Wang [Wed, 25 Jun 2014 07:21:52 +0000 (15:21 +0800)]
Refactor and add Wayland support.

Change-Id: I9c949a684dc8a3aa9c4cec0249f80be899492213
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoUpdated automated test scripts for faster cycle time 34/24334/4
David Steele [Thu, 10 Jul 2014 14:36:35 +0000 (15:36 +0100)]
Updated automated test scripts for faster cycle time

Change-Id: I7543dde6ba38bb811065289a00269b0ad5e5c2b0
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoRemoved redundant TET cases from automated tests 31/24331/1
David Steele [Thu, 10 Jul 2014 14:26:00 +0000 (15:26 +0100)]
Removed redundant TET cases from automated tests

Change-Id: Iadafd1c25183d53a41b54e7ad1c88d6116c12451
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoEnabled test cases to install to target 26/24326/2
David Steele [Thu, 10 Jul 2014 13:35:57 +0000 (14:35 +0100)]
Enabled test cases to install to target

Test cases require an install script to put them on target device.

Change-Id: I3eecdba5a7ca0378ce53c87a86dbbd035a2eafbc
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoDALi Version 1.0.0 85/24285/1 dali_1.0.0
Adeel Kazmi [Wed, 9 Jul 2014 17:04:50 +0000 (18:04 +0100)]
DALi Version 1.0.0

Change-Id: I213f2c61ebb86ff34aa1b8f12e55fa0ad0f6ea88

10 years agoUpdated Makefiles to support different profiles. 50/24150/5
Adeel Kazmi [Tue, 8 Jul 2014 17:16:01 +0000 (18:16 +0100)]
Updated Makefiles to support different profiles.

Change-Id: Iff4731aec5c3e3f660be58229a398f69be8dcc78
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoImproved statistics of GL calls from dali-adaptor, now logging clears, binds, program... 49/24149/1
Kimmo Hoikka [Fri, 4 Jul 2014 14:39:37 +0000 (15:39 +0100)]
Improved statistics of GL calls from dali-adaptor, now logging clears, binds, programs and uniform sets

Change-Id: If72e2275b5618c860f8427e32fdc2e79801654fb
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoTCT Tests for platform abstraction 48/24148/1
Andrew Cox [Thu, 26 Jun 2014 16:10:15 +0000 (17:10 +0100)]
TCT Tests for platform abstraction

[problem] The platform abstraction has features that should be tested.
[cause] Current tests of the dali-adaptor project use a stubbed platform
abstraction.
[solution] Make a new TCT test app that calls PlatformAbstraction
functions connected to a full platform abstraction underneath.

Single test case that loads 1000 images and checks that they all
complete.

Change-Id: Ibe5f89ebd469719ad798436dfb3cc784f0cf73f0
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Pinch) Remove gradient limitations, distance moved = pinch 47/24147/1
Adeel Kazmi [Mon, 7 Jul 2014 17:54:17 +0000 (18:54 +0100)]
(Pinch) Remove gradient limitations, distance moved = pinch

[problem]      Hard to do pinch sometimes when fingers moving opposite gradients (but apart)
[cause]        Checking the gradient of motion of the two fingers matches (within a certain threshold).
[solution]     Just emit a pinch if there is enough distance.

Change-Id: I4e5a119843a19ae35348cf1794ec28c416fef897
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdd #include <cstdlib> to find NULL definition 46/24146/1
jonghyun.ho [Mon, 7 Jul 2014 06:39:08 +0000 (15:39 +0900)]
Add #include <cstdlib> to find NULL definition

[cause]       'NULL' was not declared in this scope
              Common issues with GCC-4.6
              GCC-4.6 is again more strict, introduces new warnings,
               and lets packages fail to build, which did succeed to build with earlier GCC versions.
              Reference : https://wiki.ubuntu.com/GCC4.6
[solution]    Add #include <cstdlib> to find NULL definition

Change-Id: I2c2258339e3387cba54692fb7a6f7e0500de46e7
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoDecrease CPU loads for resource thread 45/24145/1
jonghyun.ho [Fri, 4 Jul 2014 13:05:48 +0000 (22:05 +0900)]
Decrease CPU loads for resource thread

[problem]     Gallery is stuck sometimes if it has so many images.
[cause]       Heavy works in resource thread.
[solution]    Decrease CPU loads for resource thread using environment variable.
              Have DALI_RESOURCE_THREAD_IDLE_PRIORITY set, and idle priority for the resources
              will be used.

Change-Id: Iab8b3a5687046831329740429b2ae586dc9ec5cb
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdded metrics gathering for GL calls 44/24144/1
David Steele [Tue, 1 Jul 2014 16:56:08 +0000 (17:56 +0100)]
Added metrics gathering for GL calls

[solution]     Added a gl proxy implementation class that overrides the methods
that we're interested in gathering metrics on, and only use this proxy implementation
if the DALI_GRAPHICS_STATUS_TIME environment variable is set.
Added calls from RenderThread to use the new PreRender and PostRender methods in the
GL abstraction -this enables the proxy implementation to count per-frame data.

Change-Id: I25e09664f6b2f3fd9a6b33f99622d547362e2849
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFix TET cases for adaptor 43/24143/1
Victor Cebollada [Thu, 3 Jul 2014 10:48:45 +0000 (11:48 +0100)]
Fix TET cases for adaptor

Change-Id: Iecf5348cd98dddfb0f594ef524b6be9881b7276e
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdaptor - Handle font style correctly in the font controller. 42/24142/1
Victor Cebollada [Fri, 27 Jun 2014 08:01:03 +0000 (09:01 +0100)]
Adaptor - Handle font style correctly in the font controller.

[problem]      The font controller always retrieves a 'Regular' font style if no font name is given,
               even if a different font style is set (ex: Light) and a valid font for this style exists.
[cause]        If no font name is given, the font controller resets the style to default (which is Regular) as well.
               In general the font controller doesn't handle the font style completely.
[solution]     Fix the handle on font styles inside the font controller.

Change-Id: I879ae3c12d88b32f51ce9c00d667a4948933f2a1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFix build break 41/24141/1
Nick Holland [Wed, 2 Jul 2014 08:41:14 +0000 (09:41 +0100)]
Fix build break

Change-Id: I5cd4a4f770c53af630eb0d4d167ce63b207a54df
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoPan Gesture Cleanup - included new integration-api/input-options.h in adaptor-impl.cpp 40/24140/1
Julien Heanley [Wed, 2 Jul 2014 07:44:05 +0000 (08:44 +0100)]
Pan Gesture Cleanup - included new integration-api/input-options.h in adaptor-impl.cpp

Change-Id: I8da059f09f66a5fa71b946ad6c0a592fc7670251
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(PanGesture) Phase in the initial pan-threshold if it's a slow pan 39/24139/1
Adeel Kazmi [Tue, 1 Jul 2014 07:57:39 +0000 (16:57 +0900)]
(PanGesture) Phase in the initial pan-threshold if it's a slow pan

[problem]     When we are doing a slow pan, there is a jump at the start which does not look good
[cause]       To minimise the distance between finger and object, the WHOLE threshold is applied
              when the gesture starts.
[solution]    If it's a slow pan, phase in the pan-threshold.

Change-Id: Ifee6547f66761881d04c3a847b4b3cdb5e3bc4e1
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoPan Gesture Smoothing - Added APIs to change smoothing mode and amount 38/24138/1
Julien Heanley [Thu, 26 Jun 2014 09:04:17 +0000 (10:04 +0100)]
Pan Gesture Smoothing - Added APIs to change smoothing mode and amount

  DALI_PAN_SMOOTHING_MODE - Currently only 0 for off and 1 for a simple smoothing technique
  DALI_PAN_SMOOTHING_AMOUNT - From 0.0f for no smoothing to 1.0f for full smoothing

[problem]      Predicted panning is a little jittery at times
[cause]        Any slight error in touch data could skew the calculations a little
[solution]     Added smoothing phase

Change-Id: Ifc573419a63904fdadbc169fbeefd9dcae27dc0b
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoInitialize SyncMode variable to fix valgrind warning. 37/24137/1
jonghyun.ho [Wed, 2 Jul 2014 04:15:32 +0000 (13:15 +0900)]
Initialize SyncMode variable to fix valgrind warning.

Change-Id: I2019e680161b3ed82668a071cadec6c9e800fef0
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Accessibility) Added action scroll signal 36/24136/1
Sinjae Lee [Wed, 25 Jun 2014 09:29:16 +0000 (18:29 +0900)]
(Accessibility) Added action scroll signal

[problem] Homescreen d-box want to do scroll by 2 fingers drag
[cause] Not implemented
[solution] Added new signal to provide scroll event to accessibility observers

Change-Id: Id1cf797affe58d9d4365f2251d8592cd3e67b190
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(PanGesture) Two motions before pan & ability to set the min distance/events via... 35/24135/1
Adeel Kazmi [Thu, 26 Jun 2014 14:23:05 +0000 (23:23 +0900)]
(PanGesture) Two motions before pan & ability to set the min distance/events via environment variable

[problem]     Need more than one motion event to determine the direction.
[cause]       N/A
[solution]    Wait at least one more pan.
              Add configurability via environment variables:
              Minimum distance before pan: DALI_PAN_MINIMUM_DISTANCE
              Minimum motion events before pan (include down): DALI_PAN_MINIMUM_EVENTS

Change-Id: I3dbe34dc56d6c84518aec3807911054280998ca5
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoRemove valgrind warning of VSyncMonitor 34/24134/1
jonghyun.ho [Tue, 24 Jun 2014 08:15:52 +0000 (17:15 +0900)]
Remove valgrind warning of VSyncMonitor

Change-Id: I4f7e695eeb7c1f28323801056054e76128b2514d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoDisable Late-cancels of in-flight resource loads using boost::thread interrupt() 33/24133/1
Andrew Cox [Tue, 24 Jun 2014 10:24:06 +0000 (11:24 +0100)]
Disable Late-cancels of in-flight resource loads using boost::thread interrupt()

Change-Id: I992d18a8f33582bf9c6f769e9244edc86a2d3153
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoIncrease the pan gesutre threshold. 32/24132/1
daemyung jang [Mon, 23 Jun 2014 08:04:33 +0000 (17:04 +0900)]
Increase the pan gesutre threshold.

[problem] The scroll view is too sensitive.
[cause] The pan threshold is little.
[solution] Increase the pan gesture threshold.

Change-Id: Ia84df6092a1763d0d677ce1a3adc9c0ac10ed51d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Indicator) Skip updating when indicator is not showing 31/24131/1
Sinjae Lee [Sat, 21 Jun 2014 12:21:29 +0000 (21:21 +0900)]
(Indicator) Skip updating when indicator is not showing

[problem] Dali render once by indicator updating even indicator is not showing
[cause] Calls RequestUpdateOnce() for every indicator update signal
[solution] Check mIsShowing before updating

Change-Id: Ie03395aba8baf1764189f5d5f8df4ff2624ea199
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>