Xiangyin Ma [Wed, 5 Nov 2014 19:25:21 +0000 (19:25 +0000)]
Adaptor: Fix Klocwork issues
[Problem] Klocwork issues
[Cause] 1. Data member not initialized in the constructor or non-used data member
2. Floating point expression is test for equality
3. Constant condition in conditional expression
4. Memory leak
5. syntax shortcuts: variable used twice in one expression where one usage is subject to side-effects
6. Unreachable code
[Solution]
Change-Id: I815b8d9ae73c6bc08b807d898e197db90c6c08a4
Kimmo Hoikka [Thu, 6 Nov 2014 09:39:01 +0000 (01:39 -0800)]
Merge "Remove handle::operator=(NULL) as it is duplicating handle.Reset() functionality and thus redundant" into tizen
Adeel Kazmi [Thu, 6 Nov 2014 08:20:54 +0000 (08:20 +0000)]
[dali_1.0.16] Merge branch 'tizen'
Change-Id: I30d51cf954a3e263620b9cdc9829d1dc7400b8e2
Adeel Kazmi [Thu, 6 Nov 2014 08:19:21 +0000 (08:19 +0000)]
DALi Version 1.0.16
Change-Id: Ieb72ee27d4f07331dfbb8acfcc8998dfffa5ffd0
Kimmo Hoikka [Wed, 5 Nov 2014 18:37:49 +0000 (18:37 +0000)]
Remove handle::operator=(NULL) as it is duplicating handle.Reset() functionality and thus redundant
Change-Id: Iabc6220d316a3bdca55fa1edab6ff4733fb36532
David Steele [Thu, 11 Sep 2014 18:01:07 +0000 (19:01 +0100)]
Add handling for context loss and regain behaviour
[Problem] Dali doesn't handle context loss
[Cause] Never tested.
[Solution]
Fixed ReplaceSurface handling for window surface case. Fixed window destructor to ensure
indicator is correctly removed.
Added new application policy for dealing with context loss. If the application
doesn't support context loss, then Dali must instead retain resource data or have
some means to re-load it.
Added a new data retention policy to PlatformAbstraction. This allows Core to query
what to do with bitmap data and mesh data on context loss / resume.
Change-Id: Ic98d04ada6915eaa600490c1e9465232b3ed6b64
Signed-off-by: David Steele <david.steele@partner.samsung.com>
David Steele [Tue, 9 Sep 2014 12:28:30 +0000 (13:28 +0100)]
Removed mutex locking in render thread.
Communication is now through the UpdateRenderSync object, which has a single mutex.
[Problem]
Need to add new interface onto render thread without using messages.
Current mechanism for ReplaceSurface API uses a mutex lock around a
double buffered data store.
Adding new interface using this method with a different mutex around a
different data-store could easily lead to deadlock.
[Solution]
Remove all mutexs from within RenderThread. There are 2 communication
points in RenderThread from UpdateRenderSync: RenderSyncWithUpdate(),
which triggers the start of the render, and RenderFinished(), which
informs that the render has finished.
Utilize RenderSyncWithUpdate to pass requests from UpdateRenderSync
into render thread. Any responses should be written back into these
requests.
Modify UpdateRenderController to talk with UpdateRenderSync rather
than directly to RenderThread. Event requests will block until the
next render pass, it is UpdateRenderSync's responsibility to ensure
that the update/render threads are awake and available to process.
Change-Id: Ib187d895cce5c4b4860dfb3af31dbd9402112dca
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Adeel Kazmi [Wed, 5 Nov 2014 11:36:12 +0000 (03:36 -0800)]
Merge "fix unsafe multithreaded boolean read/write" into tizen
Kimmo Hoikka [Wed, 5 Nov 2014 11:29:54 +0000 (03:29 -0800)]
Merge "Removed unnecessary mutex lock" into tizen
Kimmo Hoikka [Fri, 17 Oct 2014 17:00:34 +0000 (18:00 +0100)]
fix unsafe multithreaded boolean read/write
Change-Id: I60d6263ea9b0740fcce2a19e83a0398424cd0784
Kimmo Hoikka [Tue, 4 Nov 2014 13:45:43 +0000 (13:45 +0000)]
Dont keep update unnecessarily running when even thread notifications are being processed (requires Adaptor patch as well)
Change-Id: I6fb6fc3a5b1f0406ef7180193eb01f4debab1959
Nick Holland [Tue, 4 Nov 2014 10:14:05 +0000 (10:14 +0000)]
Removed unnecessary mutex lock
Profiler flagged this function up.
For dali-demo it gets called over 2500 times on start-up ( by reserve message
slot).
As it's only ever called from a single thread the mutex is not needed.
Change-Id: I3e6784aa62d118360244891684c4e09d0896b3ef
Kimmo Hoikka [Fri, 31 Oct 2014 17:42:05 +0000 (17:42 +0000)]
moving of COMPILE_TIME_ASSERT to common
Change-Id: Ibdb4d7bc6bf9f1779875f6ed8aeb9ed11b740ef3
Adeel Kazmi [Thu, 30 Oct 2014 15:28:20 +0000 (15:28 +0000)]
Stop exporting internal symbols
Change-Id: I11baf0831b4faca59ecf94030593f2f84431f5d0
Adeel Kazmi [Thu, 30 Oct 2014 10:13:08 +0000 (10:13 +0000)]
[dali_1.0.15] Merge branch 'tizen'
Change-Id: Ia80069a7933bdbb49c791662f539937a3049c963
Adeel Kazmi [Thu, 30 Oct 2014 10:11:04 +0000 (03:11 -0700)]
Merge "DALi Version 1.0.15" into tizen
Adeel Kazmi [Thu, 30 Oct 2014 10:07:01 +0000 (10:07 +0000)]
DALi Version 1.0.15
Change-Id: Ia44ae18a89802345f3f425fd12a6c7b35417307b
Nick Holland [Mon, 27 Oct 2014 12:06:28 +0000 (12:06 +0000)]
Removed unnecessary use of osstream and ofstream
saves 1KB from dali-adaptor library on ARM
Change-Id: I07677bbaee9c7a7075818c5297074bfdffb06770
Kimmo Hoikka [Mon, 27 Oct 2014 16:09:45 +0000 (16:09 +0000)]
moving the environment options to Adaptor (where they are handled)
Change-Id: I953fcbf66c9da2da18f817a24a3868506fea254c
Adeel Kazmi [Tue, 28 Oct 2014 10:48:15 +0000 (10:48 +0000)]
Add required headers when these files are included individually
Change-Id: Icff2a20f0d91630bead981e3a55ca3a880928387
David Steele [Tue, 21 Oct 2014 11:41:02 +0000 (12:41 +0100)]
Cleaned up handling for optional Assimp package.
The only place that needs to change if assimp is required or not is configure.ac.
Change-Id: Ifd47dfe39e4da7f0cd8876e0e3c848e9a35b4ea2
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Jonghyun Ho [Tue, 21 Oct 2014 06:16:58 +0000 (15:16 +0900)]
Add support for glProgramBinary extension in GLES 2.0
[problem] glProgramBinary is disabled at the moment
[cause] Missing implementation
[solution] Add support for glProgramBinary extension in GLES 2.0
Change-Id: I1fc798009f9cbc6a933258db2d9209d70dc0fd56
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Adeel Kazmi [Fri, 24 Oct 2014 09:58:04 +0000 (02:58 -0700)]
Merge "add missing update keep updating reasons to logging" into tizen
Kimmo Hoikka [Wed, 22 Oct 2014 11:11:48 +0000 (12:11 +0100)]
add missing update keep updating reasons to logging
Change-Id: Idf7f68f6462f8c2ce75eaa15fe10dfcc34941991
Lee Morgan [Wed, 22 Oct 2014 11:05:43 +0000 (12:05 +0100)]
[dali_1.0.14] Merge branch 'tizen'
Change-Id: I477121b578e10d2d71adb1e3fdf85168240030f9
Lee Morgan [Wed, 22 Oct 2014 10:54:31 +0000 (11:54 +0100)]
DALi Version 1.0.14
Change-Id: I6956e055641c846769674094b46b7041cc396636
Adeel Kazmi [Fri, 17 Oct 2014 17:17:27 +0000 (18:17 +0100)]
Use vector wrapper
Also Use map directly in automated tests
Change-Id: Id52c1fb676842270d53fff92fa9fb63423943cb1
Kimmo Hoikka [Fri, 17 Oct 2014 10:15:44 +0000 (11:15 +0100)]
make frametime state flags properly atomic read/write
Change-Id: I8b3f1680c6ef88e52cc6598904afc21e42b2b942
Kingsley Stephens [Wed, 15 Oct 2014 13:16:19 +0000 (14:16 +0100)]
[dali_1.0.13] Merge branch 'tizen'
Change-Id: Id6a176017a73ec185c94ce2d67f5b67e80953463
Kingsley Stephens [Wed, 15 Oct 2014 13:08:04 +0000 (14:08 +0100)]
DALi Version 1.0.13
Change-Id: Iab9b1e9317c7b6cbcdfa0f5d212c86e892005ee3
Adeel Kazmi [Thu, 9 Oct 2014 15:27:06 +0000 (08:27 -0700)]
Merge "(ImfManager) Initialise ImfManager only when required rather than at startup" into tizen
Adeel Kazmi [Thu, 9 Oct 2014 11:14:16 +0000 (12:14 +0100)]
(Build) Ensure efl-assist is not used in UBUNTU profile
Change-Id: I73ad523c199509ac3f26ddf70cba5a92757b61ef
Adeel Kazmi [Wed, 8 Oct 2014 10:14:28 +0000 (11:14 +0100)]
[dali_1.0.12] Merge branch 'tizen'
Change-Id: I7668aa8c3d852ae7d943161359e6eeda1f4aa91e
Adeel Kazmi [Wed, 8 Oct 2014 10:09:44 +0000 (11:09 +0100)]
DALi Version 1.0.12
Change-Id: If26bbf75700169acf3a3e3cd1064b4ee264ea36c
Adeel Kazmi [Mon, 6 Oct 2014 09:54:53 +0000 (10:54 +0100)]
(ImfManager) Initialise ImfManager only when required rather than at startup
Also remove ImfManager implementation from Wayland as it was not being initialised propertly anyway
(we always returned an empty handle as we never registered the singleton)
Change-Id: I39e44f35ccca8fa193b7a21324ca78027bda76fa
Richard Huang [Fri, 19 Sep 2014 10:46:52 +0000 (11:46 +0100)]
Event handling for hover event
Change-Id: If80f5cf4facd93bedcdb4ea8f76d98ffe14bb0e1
Nick Holland [Fri, 3 Oct 2014 06:01:40 +0000 (07:01 +0100)]
[dali_1.0.11] Merge branch 'tizen'
Change-Id: I294122fc6c65d63dd4134205028063a0d7358e96
Nick Holland [Thu, 2 Oct 2014 14:59:06 +0000 (15:59 +0100)]
DALi Version 1.0.11
Change-Id: I194076af7c2f2c474330998f2b3110af47065d8e
Richard Huang [Mon, 22 Sep 2014 17:19:43 +0000 (18:19 +0100)]
Add spec and manifest files for TV platform
Change-Id: Ifb3d187432de7dd7d5891f915a4a8740385121c8
Lee Morgan [Thu, 25 Sep 2014 15:01:26 +0000 (16:01 +0100)]
[dali_1.0.10] Merge branch 'tizen'
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Change-Id: I4fe15a7e78ba074ed6c2f673616a8d1ff53c8b5b
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Lee Morgan [Thu, 25 Sep 2014 14:55:11 +0000 (15:55 +0100)]
DALi Version 1.0.10
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Change-Id: Ibde990f6f09e0a1a38ac311f890aa0bd5d595ccb
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
Kimmo Hoikka [Wed, 24 Sep 2014 13:45:36 +0000 (06:45 -0700)]
Merge "Remove Adaptor class from Public API" into tizen
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>
Adeel Kazmi [Tue, 23 Sep 2014 15:40:01 +0000 (16:40 +0100)]
Remove Adaptor class from Public API
Change-Id: Ie166cc3225dec2eb68c2cc4cb43a3545f671337e
Adeel Kazmi [Thu, 18 Sep 2014 18:28:29 +0000 (19:28 +0100)]
(Automated Tests) Updated test suite utils
Change-Id: I15a976bf9ef324c0cc4cb4c01d45963d2ed26370
Nick Holland [Mon, 22 Sep 2014 10:39:11 +0000 (11:39 +0100)]
Fix build break for Tizen TV
Change-Id: I9e6c618433784ed86e2705c93eeec3af6aedffbd
Kimmo Hoikka [Thu, 18 Sep 2014 17:50:13 +0000 (10:50 -0700)]
Merge "(AutomatedTests) Synchronise TestGLAbstraction" into tizen
Kingsley Stephens [Thu, 18 Sep 2014 14:07:28 +0000 (15:07 +0100)]
[dali_1.0.9] Merge branch 'tizen'
Change-Id: Idbf8d1e6df075605a5f50200ca5a4adde76e77cc
Kingsley Stephens [Thu, 18 Sep 2014 14:02:47 +0000 (15:02 +0100)]
DALi Version 1.0.9
Change-Id: I87dcc8297fa90918a82322212e42f7ee93300145
Adeel Kazmi [Thu, 18 Sep 2014 13:31:12 +0000 (14:31 +0100)]
(AutomatedTests) Synchronise TestGLAbstraction
Change-Id: Iba80899937e9b72eb413ad5918325aa6bcb06e8f
Adeel Kazmi [Thu, 18 Sep 2014 09:43:08 +0000 (02:43 -0700)]
Merge "Reduced level of unnecessary debug" into tizen
Adeel Kazmi [Thu, 18 Sep 2014 09:24:14 +0000 (10:24 +0100)]
(Resource Text) Remove unused functions
Change-Id: Ice8f8fc1ddda6fa08f50b98e79a71400a047af79
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>
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
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
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
Adeel Kazmi [Wed, 10 Sep 2014 17:01:51 +0000 (18:01 +0100)]
(Build) Combined common & application libraries
Change-Id: I974fe5a668001364489c4891ec01774f72e04bf9
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>
Adeel Kazmi [Wed, 10 Sep 2014 10:08:07 +0000 (11:08 +0100)]
[dali_1.0.8] Merge branch 'tizen'
Change-Id: I08db1c75ea79c859ae0127702590ad6f33ec20b3
Adeel Kazmi [Wed, 10 Sep 2014 10:01:29 +0000 (11:01 +0100)]
DALi Version 1.0.8
Change-Id: Iaa436985cf759803f2e013accde96959b14fc4f8
Adeel Kazmi [Wed, 10 Sep 2014 09:28:01 +0000 (10:28 +0100)]
(VSyncMonitor) Fixed build break for UBUNTU profile
Change-Id: Ie4fe3d883bf2402a722d854eed3213bed2e4f688
Kimmo Hoikka [Mon, 8 Sep 2014 15:47:51 +0000 (08:47 -0700)]
Merge "Redesigning render sync to handle reduced frequency" into tizen
Adeel Kazmi [Tue, 2 Sep 2014 16:47:38 +0000 (17:47 +0100)]
(AutomatedTests) Added automated tests for SingletonService
Change-Id: I59e9aa7267ee699709071a3999274d3d25b98dfe
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
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
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>
Agnelo Vaz [Thu, 4 Sep 2014 14:13:36 +0000 (15:13 +0100)]
[dali_1.0.7] Merge branch 'tizen'
Change-Id: Ie6d2c1a3c7b88d1f08baf2b90489c30f5625ddf5
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>
Paul Wisbey [Fri, 29 Aug 2014 09:07:13 +0000 (02:07 -0700)]
Merge "Moved FrameTime from Core to Adaptor" into tizen
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>
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>
Nick Holland [Wed, 27 Aug 2014 16:17:37 +0000 (17:17 +0100)]
[dali_1.0.6] Merge branch 'tizen'
Change-Id: Ic69941959efe20002d53e30d5967b76f1e13b164
Nick Holland [Wed, 27 Aug 2014 16:06:39 +0000 (17:06 +0100)]
DALi Version 1.0.6
Change-Id: I0e6d397f9b4b576b747ed409f8620d17ddcbb933
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>
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>
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
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
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>
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
Adeel Kazmi [Mon, 18 Aug 2014 11:05:48 +0000 (04:05 -0700)]
Merge "Removed troubleshooting section from README" into tizen
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
Ferran Sole [Fri, 15 Aug 2014 14:10:01 +0000 (15:10 +0100)]
Updated documentation for stereoscopic rendering
Change-Id: Ie1ab44aaff897b02dd967282e73d04646d041941
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>
Adeel Kazmi [Wed, 13 Aug 2014 15:36:46 +0000 (08:36 -0700)]
Merge "DALi Version 1.0.4" into tizen
Kingsley Stephens [Wed, 13 Aug 2014 14:21:03 +0000 (15:21 +0100)]
[dali_1.0.4] Merge branch 'tizen'
Change-Id: Ie4edfa6323fdc01304b9150c825607dc59edbc08
Kingsley Stephens [Wed, 13 Aug 2014 14:15:07 +0000 (15:15 +0100)]
DALi Version 1.0.4
Change-Id: Ifb1510ecc7a96db8ea961a10392e586a8f58fe8a
Paul Wisbey [Wed, 13 Aug 2014 10:05:48 +0000 (03:05 -0700)]
Merge "Implemented the Handle assignment operators properly" into tizen
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
Paul Wisbey [Mon, 11 Aug 2014 15:56:30 +0000 (08:56 -0700)]
Merge "Remove Deprecated APIs" into tizen
Richard Huang [Mon, 11 Aug 2014 10:58:22 +0000 (11:58 +0100)]
Remove Deprecated APIs
Change-Id: I9f70e6649fc6124d045420398fc16f9f7e0e00e6
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>
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
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>
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>
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>
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
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>
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>
Adeel Kazmi [Fri, 1 Aug 2014 15:02:09 +0000 (16:02 +0100)]
[dali_1.0.2] Merge branch 'tizen'
Change-Id: I9d0dc43de965f34f42dbcfcbc0e332609c07e7cd
Adeel Kazmi [Fri, 1 Aug 2014 15:00:59 +0000 (16:00 +0100)]
DALi Version 1.0.2
Change-Id: If5daac36e05fef3445193b1d8cf68287b1a1a6d2