Android 4.4.2 doesn't define HWC_DEVICE_API_VERSION_0_* anymore so #ifdef out that code

Signed-off-by: David Greaves <david@dgreaves.com>
Merge pull request #17 from lbt/master

Android 4.4.2 doesn't define HWC_DEVICE_API_VERSION_0_* anymore so #ifde...
[eglfs] Set swapInterval at the right time

The swapInterval applies to the current context and cannot be set
before.
Fix compilation when macro HWC_DEVICE_API_VERSION_0_1 defined
Use HWC_NUM_DISPLY_TYPES for 1.3 as number of displays

Some Android hwcomposer implementations expect all displays being initialized even if not
used.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add support for changes in API version 1.3

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #20 from energycsdx/master

Fix compilation when macro HWC_DEVICE_API_VERSION_0_1 defined
Require Android 4.3 for planeAlpha attribute

The addition of the planeAlpha attribute is one of the bad stories about the HAL
compatbility between different Android versions. It was added after 1.2 with jelly bean
but not marked as part of 1.2. It doesn't break the ABI. We're adding support for it
now depending on the Android version (>= 4.3).

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #21 from webOS-ports/hwcomposer-1.3-support

Hwcomposer 1.3 support
[hwc] Updated instruction to include android-version.h
Merge pull request #22 from sledges/hwcomposer-1.3-support

Fix build
Merge pull request #19 from sletta/master

[eglfs] Set swapInterval at the right time
[eglfs] fix return logic

Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
Revert "Use HWC_NUM_DISPLY_TYPES for 1.3 as number of displays"

This reverts commit a6c564e51955f4a238e83ff4fb53c7f19a43cf5c, because it
got fixed upstream: http://review.cyanogenmod.org/#/c/67489/
Merge pull request #24 from sledges/revert-morphis

tearing fixed in cm nightly, reverting relevant morphis' commit
[backend-v10] Skip wait condition if vsync timeframe exceeds

The hwcomposer v10 backend can deadlock when setting an ambience theme
in jolla-gallery, as it is waiting for the signal to continue the swapping.
[backend-v10] Only print vsync information once
[backend-v10] Cache VSync FPS in global variable for use in the wait condition
Merge pull request #27 from beidl/master

[backend-v10] Skip wait condition if vsync timeframe exceeds
qeglfsscreen: Fix ordering in initializer to match class order.

Fixes a compile warning.