platform/core/uifw/dali-adaptor.git
8 years agoEnsure event/update/render times are logged when using the combined-update-render... 97/63597/1
Adeel Kazmi [Thu, 24 Mar 2016 17:32:09 +0000 (17:32 +0000)]
Ensure event/update/render times are logged when using the combined-update-render threading model

The performance logging output is only shown when a VSYNC marker is sent, but we do not have a
Vsync thread in the combined-update-render threading model.

The solution is to just set a vsync marker at the start of the frame.

Change-Id: Ifd1c2b91d546f4b1819a034ef918b9484501018e

8 years agoMerge "DALi Version 1.1.27" into devel/master
Adeel Kazmi [Thu, 24 Mar 2016 16:35:19 +0000 (09:35 -0700)]
Merge "DALi Version 1.1.27" into devel/master

8 years agoDALi Version 1.1.27 84/63584/1 dali_1.1.27
Tom Robinson [Thu, 24 Mar 2016 15:48:59 +0000 (15:48 +0000)]
DALi Version 1.1.27

Change-Id: Ic52c9ed654a6b6311ecab31259b4b5bfbebb07c4

8 years agoWayland virtual keyboard support 71/61971/4
Nick Holland [Fri, 11 Mar 2016 14:09:34 +0000 (14:09 +0000)]
Wayland virtual keyboard support

DALi text controls still needs IMF support(coming next) for
full functionality.

Change-Id: I07c70a51245247c75faa569ffe4f9b71f3330ca5

8 years agoFix for libjpeg API changes 68/60168/4
minho.sun [Wed, 24 Feb 2016 02:24:43 +0000 (11:24 +0900)]
Fix for libjpeg API changes

TurboJPEG API functions will now return an error code if a warning is triggered in the underlying libjpeg API.

For instance, if a JPEG file is corrupt, the TurboJPEG decompression functions will attempt to decompress as much of the image as possible, but those functions will now return -1 to indicate that the decompression was not entirely successful.

For this reason, we need to distinguish return of tjGetErrorStr() is warning or error.

If the return string has 'Corrupt JPEG data' prefix, it means warning.
Then, do not return false.

Change-Id: Ib542f2365c0e35c14187e3daa7e32008296c26bb

8 years agoUpdate public header comments of DALi adaptors 42/58842/3
Seoyeon Kim [Thu, 4 Feb 2016 02:38:09 +0000 (11:38 +0900)]
Update public header comments of DALi adaptors

Change-Id: Iaad1da40d10ca8db3b5a4756b22cb4c1e48a5fb2

8 years agoPropertyBuffer SetData clean-up 23/63023/2
Paul Wisbey [Mon, 21 Mar 2016 16:49:32 +0000 (16:49 +0000)]
PropertyBuffer SetData clean-up

Change-Id: I55e4430319324bcbbca3bc1f6ac1839c9821ea35

8 years agoDALi Version 1.1.26 21/62821/1 dali_1.1.26
Richard Huang [Fri, 18 Mar 2016 13:09:53 +0000 (13:09 +0000)]
DALi Version 1.1.26

Change-Id: If6f819fbb9c60857a86e1f556e76035851027bd9

8 years agoReplaced internal sensor api or deprecated api 37/45437/9
taeyoon [Thu, 6 Aug 2015 04:41:24 +0000 (13:41 +0900)]
Replaced internal sensor api or deprecated api

 - Modification of adaptors/tizen/tilt-sensor-impl* by SinJae Lee
 - Add some modification according to latest dali

Conflicts:
build/tizen/adaptor/Makefile.am
build/tizen/configure.ac

Change-Id: Ib3c401448af337a780ebf2233a4ce597177777b4

8 years agoMerge "DALi Version 1.1.25" into devel/master
David Steele [Fri, 11 Mar 2016 15:19:25 +0000 (07:19 -0800)]
Merge "DALi Version 1.1.25" into devel/master

8 years agoDALi Version 1.1.25 74/61974/1 dali_1.1.25
Nick Holland [Fri, 11 Mar 2016 15:02:26 +0000 (15:02 +0000)]
DALi Version 1.1.25

Change-Id: I52900b5453ea5f7468af5046d710f02b0f8f7b84

8 years agoMerge "Change SetNativeImageSource() to SetSource()" into devel/master
taeyoon [Fri, 11 Mar 2016 09:15:42 +0000 (01:15 -0800)]
Merge "Change SetNativeImageSource() to SetSource()" into devel/master

8 years agoFixed Svace Defect 84/61584/1
suhyung Eom [Wed, 9 Mar 2016 04:55:45 +0000 (13:55 +0900)]
Fixed Svace Defect

[Defect - NO_CAST.INTEGER_OVERFLOW]
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I22b67509755134baaee7f1854b5576656faa3600

8 years agoEventHandlers use IsDeviceButton for filtering Keyevents to IMF 69/61069/5
Agnelo Vaz [Thu, 3 Mar 2016 18:03:12 +0000 (18:03 +0000)]
EventHandlers use IsDeviceButton for filtering Keyevents to IMF

A comparison was being done with the Ecore KeyEvent and the lookup table in in Dali KeyLookup,
as there could be one to many mappings the first match was returned. Meant a following match that was needed got ignored.
Use IsDeviceButton now which returns true or false after checking whole KeyLookup table.

Change-Id: I0d888a641e700569d6a66106df52ccef01f86a1d

8 years agoDALi Version 1.1.24 20/61320/1 dali_1.1.24
Ferran Sole [Mon, 7 Mar 2016 09:07:42 +0000 (09:07 +0000)]
DALi Version 1.1.24

Change-Id: I521f82f1fab86f8593a3de9c210fdf489a1ac5d0

8 years agoMerge "Cache font description when a font is created from the file path." into devel...
Paul Wisbey [Fri, 4 Mar 2016 11:56:37 +0000 (03:56 -0800)]
Merge "Cache font description when a font is created from the file path." into devel/master

8 years agoMerge "Added cumulative statistics option and actual call count to GLES call debug...
Kimmo Hoikka [Fri, 4 Mar 2016 10:51:19 +0000 (02:51 -0800)]
Merge "Added cumulative statistics option and actual call count to GLES call debug counters" into devel/master

8 years agoAdded cumulative statistics option and actual call count to GLES call debug counters 31/60831/3
Tom Robinson [Wed, 2 Mar 2016 10:58:14 +0000 (10:58 +0000)]
Added cumulative statistics option and actual call count to GLES call debug counters

Change-Id: Id3c1cfd6c1185d653ca48108e79d1ef7837d84db

8 years agoCache font description when a font is created from the file path. 71/60871/1
Victor Cebollada [Tue, 16 Feb 2016 09:45:41 +0000 (09:45 +0000)]
Cache font description when a font is created from the file path.

Change-Id: I8d14be70111a1560970e995c7b9c41ffb7c61656
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
8 years agoWayland DPI and Multi-threading Wayland support 01/59801/3
Nick Holland [Mon, 29 Feb 2016 15:22:26 +0000 (15:22 +0000)]
Wayland DPI and Multi-threading Wayland support

- DPI support for text rendering
- Multi-threading support to prevent dead locks when
DALi and Tizen TPL communicates to Compositor on different threads
( TPL will run on DALi render-thread at the same time as DALis main
thread is processing input events etc.)

Change-Id: I6521da41305940f58687fb5ca5b1cf9253df9ea1

8 years agoChange SetNativeImageSource() to SetSource() 11/60811/1
taeyoon [Wed, 2 Mar 2016 09:21:36 +0000 (18:21 +0900)]
Change SetNativeImageSource() to SetSource()

 - Change API name before ACR for the API.

Change-Id: I5aa6310ff1e3e91def89983f5cf1807085ae847d

8 years agoFix for Emscripten build returning positive result from build script 93/60693/1
Tom Robinson [Tue, 1 Mar 2016 14:57:09 +0000 (14:57 +0000)]
Fix for Emscripten build returning positive result from build script

Change-Id: I09c3dc75836bc2d41d9a71cfe925b959ceb8bfca

8 years agoMerge "Emscripten browser regression tests" into devel/master
Kimmo Hoikka [Tue, 1 Mar 2016 13:48:00 +0000 (05:48 -0800)]
Merge "Emscripten browser regression tests" into devel/master

8 years agoDALi Version 1.1.23 94/60494/1 dali_1.1.23
David Steele [Fri, 26 Feb 2016 13:45:13 +0000 (13:45 +0000)]
DALi Version 1.1.23

Change-Id: If4f3bd291016aa4891ea221466dd66565e640e1d

8 years agoEmscripten browser regression tests 52/60152/5
Lee Morgan [Mon, 8 Dec 2014 17:22:44 +0000 (17:22 +0000)]
Emscripten browser regression tests

Change-Id: I7ef718224d15ba0a1e6d0a9a0fe40b2bc5730196

8 years agoMerge "Emscripten minimal adaptor build" into devel/master
Kimmo Hoikka [Wed, 24 Feb 2016 14:06:28 +0000 (06:06 -0800)]
Merge "Emscripten minimal adaptor build" into devel/master

8 years agoEmscripten minimal adaptor build 87/44187/25
Lee Morgan [Mon, 8 Dec 2014 17:22:44 +0000 (17:22 +0000)]
Emscripten minimal adaptor build

A bare bones adaptor build that isn't compatible with toolkit.

Change-Id: Ice7a5953d34da55d4121e3b4bceb212dbfac36e1

8 years agoDALi Version 1.1.22 17/59917/1 dali_1.1.22
Agnelo Vaz [Fri, 19 Feb 2016 10:52:16 +0000 (10:52 +0000)]
DALi Version 1.1.22

Change-Id: Id0d2f5392b0f5c27ba7efd6d4b63a2a95dee75c5

8 years agoFix for LibGif API change 06/59806/5
Tom Robinson [Wed, 17 Feb 2016 15:56:42 +0000 (07:56 -0800)]
Fix for LibGif API change

Change-Id: I5c93de741bc4046b15f27b6a67c80f39f4f41f04

8 years agoRevert "[3.0] giflib upgrade" 08/59708/1
Adeel Kazmi [Wed, 17 Feb 2016 15:56:42 +0000 (07:56 -0800)]
Revert "[3.0] giflib upgrade"

This reverts commit 420c53a44c1e5699d3c8a4e103982827c18d7305.

Change-Id: If71ab565630a365251d2b4d2deb553116dd89e92

8 years ago[3.0] giflib upgrade 06/59506/2
minho.sun [Tue, 16 Feb 2016 06:50:49 +0000 (15:50 +0900)]
[3.0] giflib upgrade

giflib's apis are changed.

Some functions need additional parameter.

I add parameters.

Change-Id: If2a435db9d2e3cb60b7d483d4b576fdd7f4dbd11

8 years agoDALi Version 1.1.21 10/59310/1 dali_1.1.21
Adeel Kazmi [Fri, 12 Feb 2016 10:32:05 +0000 (10:32 +0000)]
DALi Version 1.1.21

Change-Id: I2aedf7ebace4df8d3936a5b79f375ee655b295ef

8 years agoMerge "Upgraded test harness." into devel/master
Adeel Kazmi [Tue, 9 Feb 2016 14:46:05 +0000 (06:46 -0800)]
Merge "Upgraded test harness." into devel/master

8 years agoUpgraded test harness. 13/59013/3
David Steele [Mon, 8 Feb 2016 11:27:09 +0000 (11:27 +0000)]
Upgraded test harness.

As per dali-core, the test harness has been updated as follows:

A new Serial mode has been added to the test harness that will run
test cases in serial without using Testkit Lite. This executes all
the dali test cases in ~35 seconds, and dumps the test case output
to stdout/stderr. It can be run using "execute.sh -S"

Have changed the Parallel mode to always re-run failing test cases,
causing it to display the failing checks.

All types of execution now write to summary.xml, and display a human
readable version of it before exiting.

execute.sh's exit status has been changed - 0 means no failures,
1 means there was a test case failure.

Ensured TestGLAbstraction initialization covers all member variables.

Change-Id: I01a701387896fee814a56197e1b0d9cf4980aa78
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoDistinguish tizen version via tizen_version_major 35/57935/6
minho.sun [Tue, 26 Jan 2016 05:36:02 +0000 (14:36 +0900)]
Distinguish tizen version via tizen_version_major

Add

[ 0%{?tizen_profile_name:1} ]

to if statement

for check tizen_profile_name existence.

%if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}

-------------------------------------------------

We distinguish Tizen version depending on whether build.conf has "tizen_profile_name" now. (2.4 has "tizen_profile_name" but 3.0 doesn't)
When build for hawkP 3.0, it makes error because hawkP 3.0 build.conf use profile and tizen_profile_name both.
For this reason, we should distinguish other way.

I think, to distinguish version, using version variable is appropriate.

So, i change

%if 0%{?tizen_profile_name:1}

to

%if "%{tizen_version_major}" == "2"

Change-Id: If392982514a8137a9278fe48dcac7e44807a3dcc

8 years agoDALi Version 1.1.20 46/58946/1 dali_1.1.20
Xiangyin Ma [Fri, 5 Feb 2016 08:53:00 +0000 (08:53 +0000)]
DALi Version 1.1.20

Change-Id: I07c202aa299198955460fc351c77db41490ccd88

8 years agoFix for bidirectional support. 68/58668/3
Victor Cebollada [Mon, 25 Jan 2016 10:52:18 +0000 (10:52 +0000)]
Fix for bidirectional support.

-Use the character's direction to know whether to mirror it.

This patches fix a 'mirroring' issue when there is bidirectional text.
i.e if RTL text is added to the string "(Hello world)", the text controller
replaces (mirror) the parenthesis getting the string ")Hello world( RTL_text"

It needs https://review.tizen.org/gerrit/#/c/58772/

Change-Id: Id7ed384560cbdee9e14f3e1ae2d29f029488f4b9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
8 years agoAdd key grab/ungrab features for Tizen 19/57119/12
Yoonsang Lee [Mon, 27 Apr 2015 10:33:06 +0000 (19:33 +0900)]
Add key grab/ungrab features for Tizen

- Key grab feature is designed for following example scenarios:
  - TV : A user might want to change the volume or channel of the background TV contents while focusing on the foregrund app.
  - Mobile : When a user presses Home key, the homescreen appears regardless of current foreground app.
  - Mobile : Using volume up/down as zoom up/down in camera apps.

- key-grab.h is built and provides public API for the feature only for Tizen (located in adaptor/tizen)

- For X
  - Uses utilX APIs
- For Wayland,
  - Uses ecore APIs (ecore_wl_window_keygrab_set/unset), thus located

Change-Id: Ic969c45a3660be97648492fde4e3ee7e5045b274

8 years agoMerge "NativeImageSource with tbm_surface for tizen 3.0 wayland" into devel/master
taeyoon [Tue, 2 Feb 2016 01:30:13 +0000 (17:30 -0800)]
Merge "NativeImageSource with tbm_surface for tizen 3.0 wayland" into devel/master

8 years agoNativeImageSource with tbm_surface for tizen 3.0 wayland 75/52175/29
taeyoon [Thu, 19 Nov 2015 13:00:09 +0000 (22:00 +0900)]
NativeImageSource with tbm_surface for tizen 3.0 wayland

 - NativeImageSource uses XPixmap or Ecore Pixmap type in x windows system.
 - Tizen 3.0 wayland doesn't support the pixmap type.
 -> Replaces pixmap to tbm_surface.
 -> Adds implementation of NativeImageInterface::Extension for external OES sampler type and Prefix, which tbm_surface needs

Change-Id: I4a0477c09765aae5769f5c4960242a9272a057bd

8 years agoDALi Version 1.1.19 43/58343/1 dali_1.1.19
Tom Robinson [Fri, 29 Jan 2016 11:33:23 +0000 (11:33 +0000)]
DALi Version 1.1.19

Change-Id: Ibe49776a1da04cdbc0fff004870b51e63d55f452

8 years agoMerge "Allow up-scaling of Emojis" into devel/master
Adeel Kazmi [Wed, 27 Jan 2016 10:51:21 +0000 (02:51 -0800)]
Merge "Allow up-scaling of Emojis" into devel/master

8 years agoMerge "Implement Wayland IMFmanager" into devel/master
suhyung Eom [Wed, 27 Jan 2016 09:00:37 +0000 (01:00 -0800)]
Merge "Implement Wayland IMFmanager" into devel/master

8 years agoImplement Wayland IMFmanager 08/57408/2
suhyung Eom [Wed, 20 Jan 2016 01:39:53 +0000 (10:39 +0900)]
Implement Wayland IMFmanager

Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I1e4752c351624b2a8dc5ac203371df9dc9c68919

8 years agoAllow up-scaling of Emojis 86/57886/3
Paul Wisbey [Mon, 25 Jan 2016 17:10:33 +0000 (17:10 +0000)]
Allow up-scaling of Emojis

Change-Id: I0a77babdfa910ca32f7a9da576b301e12364f7d6

8 years agoApply the new doxygen tagging rule for @SINCE 45/57545/7
Yoonsang Lee [Fri, 22 Jan 2016 00:19:37 +0000 (09:19 +0900)]
Apply the new doxygen tagging rule for @SINCE

- Change @since 1.1.x to @SINCE_1_1.x to follow the new doxygen tagging rule.
- Add @SINCE_1_0.0 for all symbols not having @since tag.
- Sort the order of doxygen tags as guided by the Tizen guideline.
  ('platform','deprecated','brief','details','since_tizen','privlevel',
   'privilege', 'remarks','param','return','retval','exception','pre','post',
   'note','see')

Change-Id: I99ce2a063f1d28130bc7951de212c47b5af06509

8 years agoDALi Version 1.1.18 75/57775/1 dali_1.1.18
Richard Huang [Fri, 22 Jan 2016 13:28:47 +0000 (13:28 +0000)]
DALi Version 1.1.18

Change-Id: I786c689f9bd177b3e6cd8ebc608ba9acf1b74ca6

8 years agoMerge "Fix a comment about dali-adaptor-uv dependency" into devel/master
Adeel Kazmi [Thu, 21 Jan 2016 14:00:38 +0000 (06:00 -0800)]
Merge "Fix a comment about dali-adaptor-uv dependency" into devel/master

8 years agoFix a comment about dali-adaptor-uv dependency 34/57634/1
Yoonsang Lee [Thu, 21 Jan 2016 07:41:46 +0000 (16:41 +0900)]
Fix a comment about dali-adaptor-uv dependency

Change-Id: Ib57341e45fe103a80968a17719d68ec7b7ac457d

8 years agoReporting dali version on stderr instead of stdout 06/56806/2
David Steele [Tue, 12 Jan 2016 17:34:12 +0000 (17:34 +0000)]
Reporting dali version on stderr instead of stdout

Change-Id: If33e61b5a006a45c10bdbaa383be66f458484cf0

8 years agoRemoved singletons from the type registry 07/57507/2
David Steele [Wed, 20 Jan 2016 13:04:46 +0000 (13:04 +0000)]
Removed singletons from the type registry

The type registry creation order is dependent on library load order, so it's possible for dali toolkit singletons to be created before adaptor singletons.

Have changed all adaptor singletons to register with the singleton
service in the Get() method, and removed unnecessary type registry
entries for them. Thus, they will be created when first required,
rather than when the type registry tries to create them.

Change-Id: I36281d86f5c769a05feb6c074b55375ddea9359b
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoSeperate dali-adaptor & dali-adaptor-uv packages 35/55835/21
Yoonsang Lee [Mon, 28 Dec 2015 02:46:35 +0000 (11:46 +0900)]
Seperate dali-adaptor & dali-adaptor-uv packages

* Overview
- Now dali-adaptor has one spec file (dali-adaptor.spec) and two pc files
(dali-adaptor.pc, dali-adaptor-uv.pc), which means it generates one rpm file,
two packages (dali-adaptor, dali-adaptor-uv), and two so files (libdali-adaptor.so,
libdali-adaptor-uv.so)
- Change the package name of dali-adaptor (dali.pc) to clearer
ones (dali-adaptor.pc, dali-adaptor-uv.pc)
- If --with-libuv is not specified in build option, dali-adaptor-uv is
not generated (only dali-adaptor is generated)
- Tidy plugins build code up.

* Dependency
- Now dali-demo (and other dali appplication packages) uses dali-adaptor
- Now dali-addon uses dali-adaptor-uv

* Directory Structure:
<Before>
dali-adaptor/build/tizen/
  adaptor/
    dali-adaptor-integration.pc.in
    Makefile.am
  plugins/
    Makefile.am
  dali.pc.in
  configure.ac
  Makefile.am
      ||
     \\//
      \/
<After>
dali-adaptor/build/tizen/
  adaptor/
    dali-adaptor.pc.in
    dali-adaptor-integration.pc.in
    configure.ac
    Makefile.am
  adaptor-uv/
    dali-adaptor-uv.pc.in
    configure.ac
    Makefile.am
  plugins/
    configure.ac
    Makefile.am
  configure.ac
  Makefile.am

* Intention
- Aims to make minimum changes from existing configure.ac & Makefile.am
because seperating dali-adaptor-uv is not ideal solution. It's the
best resonable solution at the moment.
- That's why adaptor/configure.ac & Makefile.am and
adaptor-uv/configure.ac & Makefile.am are almost same to each other and
to original adaptor/Makefile.am and /configure.ac.
- Ideally, only one libdali-adaptor.so can handle all kind of backends,
but it requires intensive refactoring of dali-adaptor and a large amount
of man-month efforts.

* Detalis
- enable_efl is always yes for dali-adaptor. --enable-efl only affects
dali-adaptor-uv
- with_libuv is always no for dali-adaptor. --with-libuv only affects
dali-adaptor-uv
- If --with-libuv is not specified in build option, dali-adaptor-uv is
not generated (only dali-adaptor is generated)
- Move feedback & plugins related code in adaptor/configure.ac &
adaptor-uv/configure.ac to plugins/configure.ac
- In build point of view, plugin building part is functionally same
because it just moves location of each plugin build code snippets.
- dali-adaptor-uv for MOBILE profile uses ecore-wayland even if enable_efl==no
because adaptors/mobile/pixmap-render-surface-factory.cpp uses it.

Change-Id: Ib0cd7a0170a617b9d7499a36df20b8c06f9df140

8 years agoFix crash in wayland 23/57323/3
taeyoon [Wed, 30 Dec 2015 03:13:42 +0000 (12:13 +0900)]
Fix crash in wayland

Change-Id: I2cd7e2990bdb9a1a674ddc3ff3cafa41d12f213f

8 years agoAdd tpkp-curl dependency only in case of Tizen 3.0 82/57082/2
Yoonsang Lee [Fri, 15 Jan 2016 04:56:06 +0000 (13:56 +0900)]
Add tpkp-curl dependency only in case of Tizen 3.0

- tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0

Change-Id: Ife49a300ac82ab6231d222b9e63949dc79aeabd0

8 years agoDALi Version 1.1.17 69/57169/1 dali_1.1.17
Nick Holland [Fri, 15 Jan 2016 14:40:29 +0000 (14:40 +0000)]
DALi Version 1.1.17

Change-Id: Iebc49850eb2da5147236576af296c4cb13eeb5ec

8 years agoMerge "Added ASTC Native file format loader" into devel/master
Adeel Kazmi [Thu, 14 Jan 2016 17:32:07 +0000 (09:32 -0800)]
Merge "Added ASTC Native file format loader" into devel/master

8 years agoFix keyboard events on DALi Node JS 28/57028/1
Nick Holland [Thu, 14 Jan 2016 12:16:03 +0000 (12:16 +0000)]
Fix keyboard events on DALi Node JS

Change-Id: I76f1ccba8b709c147ccd95cdae76d9bfaab6c236

8 years agoFix DALi JS failing to startup on Tizen 3 27/57027/1
Nick Holland [Thu, 14 Jan 2016 11:31:19 +0000 (11:31 +0000)]
Fix DALi JS failing to startup on Tizen 3

Re-add lib jpeg (removed recently)

symbol lookup error: /usr/lib/libdali-adaptor.so.0: undefined symbol: jpeg_std_error

Change-Id: Icbfe2eb498b71d5f2dbcab250e0d2f861e2c376d

8 years agoAdded ASTC Native file format loader 46/56646/7
Tom Robinson [Mon, 11 Jan 2016 16:49:57 +0000 (16:49 +0000)]
Added ASTC Native file format loader

ASTC can be wrapped in a KTX file, but also has its own native file format.
This patch provides support for the native ASTC file format (.astc).

Textures can be generated using tools (Eg. Mali texture compression tool).

Note: ASTC is "OpenGL friendly" in that the textures are pre-flipped vertically.
In DALi there is currently not a differenciation between different texture compression formats in that the data (once the header is extracted) is given to the hardware as-is.
For this reason textures must currently be pre-flipped vertically (before compression) when using the native .astc file format with DALI.

An example .astc file is included as part of the unit tests.

Change-Id: I574961bc184d68d3ec722be3c682ca2a2b7ed0ce

8 years agoFixed ICO loader for all bpp variants + optimisations 54/55054/9
Tom Robinson [Mon, 21 Dec 2015 12:07:14 +0000 (12:07 +0000)]
Fixed ICO loader for all bpp variants + optimisations

The Icon loader had the following issues:
* 32, 24, 8, 4 bbp variants all had rgb color swap.
* 32 & 24 variants showed corrupt pixels at top of image.
* Alpha could crash 32bpp images.
* Masks incorrect for palettized images.
* Stride width calculated incorrectly for some non-aligned widths.
* Redundant memcopies done.
* Could not handle 1bit masks for images with non multiples of 8 widths.

Change-Id: I03edc70e0af888ba26d5092ab97023f4c8d7b2ae

8 years agoSupport for ASTC compressed textures wrapped in KTX files 77/54477/11
Tom Robinson [Tue, 15 Dec 2015 11:29:44 +0000 (11:29 +0000)]
Support for ASTC compressed textures wrapped in KTX files

ASTC is supported by OpenGL ES 3.1 and above.
To build this patch with ASTC support, a GLES 31 context must be specified.

To build for desktop with configure, the gles version must be set to 31.
Here is an example configure line:
CXXFLAGS="-g -O0 -Wno-unused-local-typedefs" CXX="ccache g++" ./configure --prefix=$DESKTOP_PREFIX --enable-debug=yes --enable-profile=UBUNTU --enable-gles=31

With GBS, add the following to your gbs build line:
--define "%target_gles_version 31"

Change-Id: I376e55094e408c1b9081a3e86b81e7b3d64633bd

8 years agoDALi Version 1.1.16 95/56495/1 dali_1.1.16
Lee Morgan [Fri, 8 Jan 2016 14:32:35 +0000 (14:32 +0000)]
DALi Version 1.1.16

Change-Id: I9b18f3a7126580ee8e91c8b793cb11ca67917b28

8 years agoFix license issues from the protex server 70/56370/1
Seoyeon Kim [Thu, 7 Jan 2016 06:03:08 +0000 (15:03 +0900)]
Fix license issues from the protex server

- Change licence names in .spec to match SPDX identifiers

Change-Id: I510bc30a7c865666061d300528fc93cfd1dda265

8 years agoHandle NULL pointer for UTC on target 53/55153/3
taeyoon [Wed, 30 Dec 2015 08:20:29 +0000 (17:20 +0900)]
Handle NULL pointer for UTC on target

  Check imfManager pointer
  - Running UTCs, crash occurs because of access to NULL pointer, imfManager.

Change-Id: Ic9619618b4191401be895d831638ba038bf60ad1

8 years agoUpdated README for test cases 37/56337/2
David Steele [Wed, 6 Jan 2016 11:25:19 +0000 (11:25 +0000)]
Updated README for test cases

Change-Id: Ide5353c78fabe3bd16613927d82d4481858bd82b

8 years agoRemoved automated test case style folder 31/56231/1
David Steele [Tue, 5 Jan 2016 12:49:26 +0000 (12:49 +0000)]
Removed automated test case style folder

Change-Id: If959a77137ee3e95f619a5ace82b3ec29b22b6cb

8 years agoDisable tpkp-curl dependency temporarily 33/56133/1
Adeel Kazmi [Mon, 4 Jan 2016 17:54:46 +0000 (17:54 +0000)]
Disable tpkp-curl dependency temporarily

Change-Id: I95005cfeefb0624ae4fbe533f7191bb80b9a8974

8 years agoEnsure TPKP related stuff is only built if the package is available 30/56130/2
Adeel Kazmi [Mon, 4 Jan 2016 17:20:22 +0000 (17:20 +0000)]
Ensure TPKP related stuff is only built if the package is available

Change-Id: I90af1793b158e03b6f6c859a904242641c4f8a05

8 years agoMerge "Fix a build error in WEARABLE profile" into devel/master
Yoonsang Lee [Thu, 31 Dec 2015 04:04:19 +0000 (20:04 -0800)]
Merge "Fix a build error in WEARABLE profile" into devel/master

8 years agoMerge "Fix a build error in MOBILE profile from accessibility impl code" into devel...
Yoonsang Lee [Thu, 31 Dec 2015 04:04:07 +0000 (20:04 -0800)]
Merge "Fix a build error in MOBILE profile from accessibility impl code" into devel/master

8 years agoApply certificate pinning 06/55106/3
Yoonsang Lee [Tue, 22 Dec 2015 02:55:42 +0000 (11:55 +0900)]
Apply certificate pinning

- Tizen 3.0 platform requirement
- Needs to be applied to modules using libcurl
- See more: https://www.owasp.org/index.php/Certificate_and_Public_Key_Pinning

Change-Id: I43a5d6f73cc8bb1e420d5e68dfb54a4b0d49d45f

8 years agoFix a build error in WEARABLE profile 47/55747/1
Yoonsang Lee [Tue, 29 Dec 2015 06:20:40 +0000 (15:20 +0900)]
Fix a build error in WEARABLE profile

- Change the name of gles package

Change-Id: Ia880f4979b01053abe1ba2091cf8517ed963d469

8 years agoFix a build error in MOBILE profile from accessibility impl code 46/55746/1
Yoonsang Lee [Tue, 29 Dec 2015 05:34:36 +0000 (14:34 +0900)]
Fix a build error in MOBILE profile from accessibility impl code

- There is no reason to have a different version for X11 vs Wayland, as
Paul mentioned in his patch (https://review.tizen.org/gerrit/#/c/54601/).
- But it's not true CURRENTLY, as EFL on Wayland has not been
implemented of full accessibility features.
- So on Wayland, we need to cut out some of features working on X11
including sending message to the indicator.
- That's what has been done by previous version of accessibility impl
files - accessibility-adaptor-impl-x.cpp & accessibility-adaptor-impl-wl.cpp.
- Currently no need to have ..-x.cpp & -wl.cpp again, because accessibility
features anyway should be implemented, and then we will only need one
impl file.
- Instead in this patch, #ifndef WAYLAND is used to decide whether current build configure is
for wayland or not. I believe this is acceptable for those difference
between X11 & Wayland supporting that would not be long-lasting.

Change-Id: Ia587261dbc343f5199a9fba7427bc30021b22979

8 years agoTizen 3 Wayland adaptor for DALi 61/47361/31
Nick Holland [Wed, 23 Dec 2015 08:24:01 +0000 (08:24 +0000)]
Tizen 3 Wayland adaptor for DALi

Supports:
Wayland Shell,
XDG Shell ( Version 5),
Input: Keyboard /pointer / touch input

Requires --define "with_libuv 1"

Change-Id: I6bc01be2d369d242c06248660561949db47f5433

8 years agoDALi Version 1.1.15 24/55424/1 dali_1.1.15
Adeel Kazmi [Wed, 23 Dec 2015 17:21:37 +0000 (17:21 +0000)]
DALi Version 1.1.15

Change-Id: I8a96164fae77e5eb829a48753acacc043774e43e

8 years agoEnsure Update/Render thread does not go to sleep too early 72/55272/2
Adeel Kazmi [Tue, 22 Dec 2015 15:26:26 +0000 (15:26 +0000)]
Ensure Update/Render thread does not go to sleep too early

Change-Id: I05e1a69a2e2538b1fd308c500b5ac2c0f8e849e2

8 years agoRenamed ecore-wl-types to wl-types 77/55077/5
Nick Holland [Tue, 22 Dec 2015 10:03:51 +0000 (10:03 +0000)]
Renamed ecore-wl-types to wl-types

The wl-types header is not related to ecore
and will be shared between wayland / ecore-wayland adaptors.

Also conditionally excludes wayland client extensions
on Tizen common platform.

Change-Id: Iee31f398a3fdffeca1f05f5031b775e16fa58183

8 years agoMove ECore_Wayland specific code to ecore folder 45/54745/2
Paul Wisbey [Thu, 17 Dec 2015 15:21:06 +0000 (15:21 +0000)]
Move ECore_Wayland specific code to ecore folder

(The ecore-wl suffix is now used more consistently)

Change-Id: Ie7b7876961dc9649e800ef28addcbb0cdfb35321

8 years agoReduced the amount of AccessibilityAdaptor copy 'n' paste 01/54601/19
Paul Wisbey [Wed, 16 Dec 2015 11:00:14 +0000 (11:00 +0000)]
Reduced the amount of AccessibilityAdaptor copy 'n' paste

The 'mobile' version is different since it forwards events to the indicator.
There is currently no reason to have a different version for X11 vs Wayland.

Change-Id: I370b26763867beca7b8064a1b3e9b6a243f8a098

8 years agoMerge "PixmapSurface changes to double buffered pixmap." into devel/master
Adeel Kazmi [Wed, 16 Dec 2015 14:38:48 +0000 (06:38 -0800)]
Merge "PixmapSurface changes to double buffered pixmap." into devel/master

8 years agoPixmapSurface changes to double buffered pixmap. 45/51445/23
daemyung jang [Mon, 9 Nov 2015 07:29:17 +0000 (16:29 +0900)]
PixmapSurface changes to double buffered pixmap.

Change-Id: Ia8efa3ca09c9320ed2a1e9143a85e48418d56b77

8 years agoRemoved a redundant copy of clipboard-impl.h 04/54504/4
Paul Wisbey [Tue, 15 Dec 2015 16:11:28 +0000 (16:11 +0000)]
Removed a redundant copy of clipboard-impl.h

(Removing the ECore_X_Window dependency)

Change-Id: If820c448b891cbea29d585852d4e4a3f0782f7bf

8 years agoRemoved redundant copy of accessibility-adaptor-impl.h 01/54501/1
Paul Wisbey [Tue, 15 Dec 2015 15:29:07 +0000 (15:29 +0000)]
Removed redundant copy of accessibility-adaptor-impl.h

Change-Id: Ibdb386557c6412b79529fc4bca18510729110ef5

8 years agoMoved ECore specific indicator-impl out of common 76/54476/4
Nick Holland [Tue, 15 Dec 2015 11:29:02 +0000 (11:29 +0000)]
Moved ECore specific indicator-impl out of common

Change-Id: If65c380e6a62b92e7e8f51cd2048c88323f96b8d

8 years agoEGL impl merge 93/54293/2
Paul Wisbey [Mon, 14 Dec 2015 16:59:57 +0000 (16:59 +0000)]
EGL impl merge

Change-Id: Ifa72a8e71d8ae5b16386d18f045e7c8fdbeedab3

8 years agoMoved ECore specific virtual-keyboard out of 'common' 89/54289/3
Paul Wisbey [Mon, 14 Dec 2015 15:29:40 +0000 (15:29 +0000)]
Moved ECore specific virtual-keyboard out of 'common'

Change-Id: Ia0789f1c726ced719f845312ffdedeb6afe84d18

8 years agoMerge "Fix to support PNG image which is indexed color type and depth 1" into devel...
Adeel Kazmi [Fri, 11 Dec 2015 15:54:11 +0000 (07:54 -0800)]
Merge "Fix to support PNG image which is indexed color type and depth 1" into devel/master

8 years agoDALi Version 1.1.14 33/54133/1 dali_1.1.14
David Steele [Fri, 11 Dec 2015 14:41:47 +0000 (14:41 +0000)]
DALi Version 1.1.14

Change-Id: Ief003074c92fc08cca3cce9eec0a49c81d026bdd

8 years agoFix to support PNG image which is indexed color type and depth 1 07/54107/1
Jonghyun Ho [Fri, 11 Dec 2015 10:44:00 +0000 (10:44 +0000)]
Fix to support PNG image which is indexed color type and depth 1

Change-Id: I5fb2740631952e13979c05954798d97b37d2bd12
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
8 years agoRound up/down to closest frame when passing in frame duration 44/53844/1
Adeel Kazmi [Wed, 9 Dec 2015 17:50:36 +0000 (17:50 +0000)]
Round up/down to closest frame when passing in frame duration

Change-Id: I697f7f6a5cfb6fbe90afde712c3356eafb8fe517

8 years agoImplement image fitting modes 58/52858/6
Tom Robinson [Thu, 26 Nov 2015 17:47:23 +0000 (17:47 +0000)]
Implement image fitting modes

Change-Id: Ia56e4d03b86f1db8d37569a7a0488d702f156f53

8 years agoDALi Version 1.1.13 87/53387/1 dali_1.1.13
Xiangyin Ma [Fri, 4 Dec 2015 11:02:48 +0000 (11:02 +0000)]
DALi Version 1.1.13

Change-Id: I95fb0ef0bf4e0f26e9f0973811da0925f72cef34

8 years agoMerge "(ThreadSync) Ensure elapsed time is passed into Core when required" into devel...
Kimmo Hoikka [Wed, 2 Dec 2015 13:56:59 +0000 (05:56 -0800)]
Merge "(ThreadSync) Ensure elapsed time is passed into Core when required" into devel/master

8 years ago(ThreadSync) Ensure elapsed time is passed into Core when required 98/52998/5
Adeel Kazmi [Mon, 30 Nov 2015 16:20:18 +0000 (16:20 +0000)]
(ThreadSync) Ensure elapsed time is passed into Core when required

Problem:  Elapsed time between frames was always constant regardless of time passed to ensure smooth animations.
          This was problematic when we start dropping frames meaning what Core thought was the animated time was
          NOT the elapsed time.
Solution: Calculate actual time between frames and pass in a multiple of the default frame time that's relative
          to the actual time.

Additionally, when we resume from paused, elapsed time is used for the animations, i.e. the could have finished
while we were paused. However, FinishedSignal emission will only happen upon resumption.

Elapsed time is NOT used while if we are waking up from a sleep state or doing an UpdateOnce.

Change-Id: I8b750c79e2f2213734b4925f10b71593124c2f4c

8 years agoFix klocwork problems in Ubuntu build 77/53177/2
Adeel Kazmi [Wed, 2 Dec 2015 10:11:17 +0000 (10:11 +0000)]
Fix klocwork problems in Ubuntu build

Change-Id: Ia79e500c973f2e3a98b22cc952fd5bf71d237689

8 years agoUpdated README & removed files no longer required 84/53084/2
Adeel Kazmi [Tue, 1 Dec 2015 15:32:20 +0000 (15:32 +0000)]
Updated README & removed files no longer required

Change-Id: Ida1a21bbff34ecbba604caf419e64e095254e730

8 years agoFix the type conversion error from unsigned int to int. 67/52967/1
daemyung jang [Mon, 30 Nov 2015 09:23:26 +0000 (18:23 +0900)]
Fix the type conversion error from unsigned int to int.

Change-Id: I20b8dfb895c28ff5ace14c006d5d6318afc49e33

8 years agoDALi Version 1.1.12 85/52885/1 dali_1.1.12
Adeel Kazmi [Fri, 27 Nov 2015 10:17:11 +0000 (10:17 +0000)]
DALi Version 1.1.12

Change-Id: Id3d7feb02ded912652a5c4075d6590fe0ab3674b

8 years agoAdded Combined Update/Render Thread Controller 18/50518/29
Adeel Kazmi [Thu, 29 Oct 2015 10:36:31 +0000 (10:36 +0000)]
Added Combined Update/Render Thread Controller

1. Two Threads:
  a. Main/Event Thread
  b. Update/Render Thread
2. There is NO VSync thread:
  a. We retrieve the time before Update.
  b. Then retrieve the time after Render.
  c. We calculate the difference between these two times and if:
    i.  The difference is less than the default frame time, we sleep.
    ii. If it’s more or the same, then we continue.
3. On the update/render thread, if we discover that we do not need to do any more updates, we use a trigger-event
   to inform the main/event thread. This is then processed as soon as the event thread is able to do so where it
   is easier to make a decision about whether we should stop the update/render thread or not (depending on any
   update requests etc.).
4. The main thread is still blocked while the surface is being replaced.

Change-Id: I54a1ce9ae18fbb4927b29ae8f259034baa9d675f

8 years agoMerge "(AutomatedTests) Ensure warnings are shown as errors" into devel/master
Kimmo Hoikka [Tue, 24 Nov 2015 16:02:57 +0000 (08:02 -0800)]
Merge "(AutomatedTests) Ensure warnings are shown as errors" into devel/master