summaryrefslogtreecommitdiffstats
path: root/include/hardware/hwcomposer_defs.h
Commit message (Collapse)AuthorAgeFilesLines
* libhardware: Only support tertiary display in QTI_BSP is definedAbhisek Devkota2015-12-171-0/+9
| | | | | | Non-caf display hals crap out with this Change-Id: I85390a818ee074dd4bdf637976a3c010a67764ac
* Merge tag 'android-6.0.0_r26' into cm-13.0Ricardo Cerqueira2015-11-051-0/+4
|\ | | | | | | Android 6.0.0 release 26
| * HWC: Add a color transform attribute per displayDan Stoza2015-08-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Adds a color transform option to the queryable display attributes, which allows a different vendor-specific color transform (e.g., wide gamut, sRGB, etc.) per display configuration. This does not increase the HWC version, and is considered a part of HWC 1.5, though if getDisplayAttributes returns an error code as a result of being passed an unsupported attribute, the call will be retried without the new color transform option. Bug: 20853317 Change-Id: Iab1605bc073ed4caa780e55ddf396efeeff3aff1
* | libhardware: add support for tertiary displayVinu Deokaran2015-10-061-3/+5
|/ | | | | | | The legacy HWC header only supports Primary and External, we need to support Tertiary display for automotive project. Change-Id: I37637bf6c3ec341b9174a9f488b8bf06e0011733
* HWC 1.5: Add per-layer damage regionDan Stoza2015-02-251-0/+1
| | | | | | | | | | | This adds an array of rects to hwc_layer_1_t that define which portions of that layer's source buffer have been modified. If there are a non-zero number of rects, then any portion of the source buffer not touched by one of the rects may safely be assumed to not have been modified. If no rects are defined, then the whole source buffer must be assumed to have been modified. Change-Id: Id5efafee74602ed7d76609180e334ed203c23f7e
* Add interface for doing asynchonous cursor layer updates to hwcomposerRiley Andrews2014-07-241-1/+16
| | | | Change-Id: If2ab523b400cfb586c8e1fed98f2ebe3538c0419
* Add new HWC_POWER_MODE_DOZE_SUSPEND power state.Jeff Brown2014-07-181-0/+19
| | | | Change-Id: Ice194315bc51ca25732c9e30c809bd6b39f3718f
* hwcomposer: Add function pointer for setPowerMode() callbackPrashant Malani2014-06-121-0/+7
| | | | | | | | | | | | | | | | | | | | The blank HWC call is being replaced by a setPowerMode() call. This incorporates all of the blank functionality, but provides added support for display low power modes, if they are available in hardware. Currently there are three supported modes: - HWC_POWER_MODE_OFF : Turn screen off. - HWC_POWER_MODE_DOZE : Put screen in low power mode. - HWC_POWER_MODE_NORMAL : Turn screen on, and exit low power mode (if display was previously in low power mode). Where applicable, the device driver is expected to retain and restore the low power mode state of the display during entry and exit from suspend, respectively. Bug: 13472578 Change-Id: I743ea3a2cb58247d14d7c47158b09a5309cca710 Signed-off-by: Prashant Malani <pmalani@google.com>
* Add HWC 1.4 with support for sideband video layersJesse Hall2014-03-111-0/+5
| | | | Change-Id: Ie40668a8667e26f1d570a2f756f1178d0dcbbf5c
* Add HWC_DISPLAY_VIRTUAL and adjust display count constantsJesse Hall2013-08-161-1/+5
| | | | | | | | Both surfaceflinger and HWC implementations have been defining these themselves, making future changes more difficult. Better to define them centrally, where they can be updated easily. Change-Id: I793158b858c84b2470b05f9ea77cc5a0c7e247f1
* bump HWC version to 1.3, add support for float crop rectangleMathias Agopian2013-07-101-0/+1
| | | | Change-Id: I8601ecc9f39052000b872805be1637ee73b0d3e1
* Remove remnants of HWC 0.xJesse Hall2013-01-101-5/+0
| | | | Change-Id: I85f4b95e8db44998abc07686a554d3e802a6a4a9
* Add outbuf fields for HWC 1.2 virtual displaysJesse Hall2012-09-121-2/+2
| | | | | | | Also rename HWC_DISPLAY_RESOLUTION_* to HWC_DISPLAY_WIDTH and HWC_DISPLAY_HEIGHT for consistency. Change-Id: Iabe6db0816f6f6eaaac24c3c9ae554177bcabf1d
* Make HWC_MODULE_API_VERSION fit in uint16_t againJesse Hall2012-09-041-1/+1
| | | | Change-Id: I4e32c3b7be9826cfac1e7226f7fd8894b6c97c1e
* Add new HWC 1.1 queries and hotplug callbackJesse Hall2012-08-311-6/+33
| | | | Change-Id: I40164e60b33174e98a3843ec99f1680b1bb1c675
* Encode header version in api versionsJesse Hall2012-08-291-6/+9
| | | | Change-Id: I0216bef3ba0cfaed2fe908f735e546d0734c0b13
* Add NUM_DISPLAY_TYPES query and refine display list semanticsJesse Hall2012-08-221-0/+18
| | | | Change-Id: I740859bfa2b126edcdf06f7b2c8208770bc864f9
* Define HWC_DEVICE_API_VERSION_1_1Jesse Hall2012-08-211-0/+1
| | | | Change-Id: I925e010fb6367979de9b7657607ea5b444820a7e
* HWC 1.1: add FRAMEBUFFER_TARGET layer typeJesse Hall2012-08-161-0/+4
| | | | Change-Id: I61965c343dceb4137bc439b49ea90ec13183b719
* Introduce HWC_DEVICE_API_VERSION_1_0Jesse Hall2012-06-181-1/+1
| | | | | | | The new version adds an acquire and release fence to each layer, providing explicit producer->hwc and hwc->producer synchronization. Change-Id: Ibd6e3c7b3515c012c767246e6d6514274fdef01d
* split hwcomposer.hMathias Agopian2012-05-131-0/+148
hwcomposer_defs.h now contains enums, which are essentially names. This won't change when we rev the h/w composer API (new ones will be added instead). we do this to avoid having to abstract all these constants in higher level APIs; instead hwcomposer_defs.h can be included without exposing the hwcomposer's data structures (which are a lot more fragile wrt. backward compatibility) Change-Id: Ifb514f64de02a599fdd2d31c188327209ccb0ffc