History log of /hardware/libhardware/include/hardware/hwcomposer2.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
af153e0a5d081c7ac8045a73a48498b619c97abf 15-May-2018 Dan Stoza <stoza@google.com> hwc2: Fix readback docs

Fixes a couple of problems with the return codes in the readback
documentation and adds a paragraph of clarification about when
getReadbackBufferAttributes will be called.

Bug: 67048889
Test: N/A, doc fix only
Change-Id: I3ea1a6993323f7ce12c36a377bf69e2866b18082
/hardware/libhardware/include/hardware/hwcomposer2.h
28310aa8685fbc65aaa1ff1134b02cd66850d997 16-Mar-2018 Chia-I Wu <olv@google.com> hwcomposer2: add render intent support

Add

HWC2_FUNCTION_GET_RENDER_INTENTS
HWC2_FUNCTION_SET_COLOR_MODE_WITH_RENDER_INTENT
HWC2_FUNCTION_GET_DATASPACE_SATURATION_MATRIX

and fix HWC2_FUNCTION_SET_PER_FRAME_METADATA to be per-layer.

Bug: 73824924
Test: manual
Change-Id: I25e34c4bf3dc5d496ea23c2d13419dd28f3e6cca
/hardware/libhardware/include/hardware/hwcomposer2.h
437ce43787ea0a114483b25944e4efb65d91578d 26-Feb-2017 Courtney Goeltzenleuchter <courtneygo@google.com> Add support for HDR metadata (SMPTE2086)

Add HWC interface to pass in SMPTE2086 & CTA 861.3 metadata.
Test: TBD CTS test
Bug: 29940137

Change-Id: Ib99787752441b8a883864cc8adc8431478a15ba7
/hardware/libhardware/include/hardware/hwcomposer2.h
fd05d13edcf20c04c40467e9445f8f442b7667ad 22-Jan-2018 Peiyong Lin <lpy@google.com> [HWC] Add setLayerFloatColor API.

This patch adds the struct of float color, and setLayerFloatColor API so that
SurfaceFlinger can set the layer color with more bits on each channel.
Currently the display calibration tool require 10-bits support.

BUG: 69970838
Test: make locally and applied on device
Change-Id: I8bab335cc4fbc41a3eb18306a8831d1e9a9a219a
/hardware/libhardware/include/hardware/hwcomposer2.h
9bdc0b65f3ecf0c3490863456a52fe1bb6d0a84f 13-Jun-2017 Fabien Sanglard <sanglardf@google.com> Add Skip Validate capability to hwc2 interface

Change-Id: I716100780f820574440abc5a247ea7071b630113
/hardware/libhardware/include/hardware/hwcomposer2.h
49018a55ae145ec39514cc5df46571fb7d4bd964 05-Apr-2017 Brian Anderson <brianderson@google.com> Add PRESENT_FENCE_IS_NOT_RELIABLE

Test: adb shell /data/nativetest/libgui_test/libgui_test
--gtest_filter=*GetFrameTimestamps*
Bug: 36730849, 36887025

Change-Id: I09a543e7143542a4ed2952e7af1add17d864e3f2
/hardware/libhardware/include/hardware/hwcomposer2.h
cc8d9f9fcbc170dedba609a15705e838cf09218b 07-Oct-2016 Colin Cross <ccross@android.com> Avoid C-style cast warnings

hardware/libhardware/include was being included with -isystem, which
hides warnings. Use a macro to convert modules to hw_device_t** to call
the open function that works in C++ and C.

Bug: 32018017
Test: m -j
Change-Id: If68bf15581975f1217fcab366cef7bc784894641
/hardware/libhardware/include/hardware/hwcomposer2.h
248ec3da8be61befd19f6c01019a4243edc8c319 07-Oct-2016 Colin Cross <ccross@android.com> Fix enum switch warnings

hardware/libhardware/include was being included with -isystem, which
hides warnings. -Wswitch requires that all cases in a switch statement
on an enum be enum values. For enums being used as bit flags, cast the
enum to an int.

Bug: 32018017
Test: m -j
Change-Id: Idb430c451d017bb7ec61a7119d6abd87b6dcdc87
/hardware/libhardware/include/hardware/hwcomposer2.h
d2168f7e471f07d4f9ea02e65357c83fbde13932 14-Jul-2016 Dan Stoza <stoza@google.com> HWC2: Add SKIP_CLIENT_COLOR_TRANSFORM capability

Adds HWC2_CAPABILITY_SKIP_CLIENT_COLOR_TRANSFORM, which indicates
that the client should never apply the color transform, even if all
layers are being composed by the client. This allows the device to
use its color management hardware in all cases to avoid any potential
mismatches between client and device application of the transform.

Bug: 29870302
Change-Id: I90234d91858206714e650eadb03227a4a180d975
/hardware/libhardware/include/hardware/hwcomposer2.h
ef264828fe1c3801ade282221cd270d293cffbde 13-Jul-2016 Dan Stoza <stoza@google.com> HWC2: Redefine retire fence as present fence

Redefines the retire fence returned by presentDisplay to be a present
fence with more strictly defined semantics: this fence should fire
at the vsync when the frame is picked up by hardware, either for
scanout (in the case of video-mode panels) or for transfer to panel
memory (in the case of command-mode panels).

Bug: 29771461
Change-Id: Idf5f86c92a8748426cf3368242c08876a48d81dd
/hardware/libhardware/include/hardware/hwcomposer2.h
68cd3759be6a20245eba10f8aaf861cc65ab41b7 20-May-2016 Dan Stoza <stoza@google.com> HWC2: Add format to VD create, surface damage

Adds a format in/out parameter to createVirtualDisplay so that the
device knows what format the consumer prefers, but can override it if
it is not capable of rendering to it.

Also adds a surface damage region to the setClientTarget call.

Bug: 22767098
Change-Id: I58801aed2d95fd7dbf63db2e303bc3079caaba25
/hardware/libhardware/include/hardware/hwcomposer2.h
3abcfa53c018949eca8b84613e8bba1dc29a55e0 04-May-2016 Dan Stoza <stoza@google.com> HWC2: Clarify null client target handle

Documentation-only change that clarifies that in the case where the
client isn't compositing any of the layers, the buffer handle
provided to setClientTarget may be null, and that this should not be
treated as an error by the device.

Bug: 28569722
Change-Id: Ia5825eb0a80c7f838894642654db7d7be14a3b6b
/hardware/libhardware/include/hardware/hwcomposer2.h
f601e977d5379fd5f2d0492c8e2384404fbf8d7d 16-Mar-2016 Dan Stoza <stoza@google.com> HWC2: Add getHdrCapabilities

Adds support for querying the HDR capabilities of a connected display.

Bug: 25684127
Change-Id: I9f927f1e92ca9854cb63804177521caf77cf98f5
/hardware/libhardware/include/hardware/hwcomposer2.h
c46e96a5a21d507d81c22822b8a3c729ca05c8cd 24-Mar-2016 Dan Stoza <stoza@google.com> HWC2: Add const and alphabetize

Alphabetizes the display functions and adds const to a float*
input parameter.

Bug: 22767098
Change-Id: I8cb4d6b27980753cfb17a8ad6b74cbbc984c5ac0
/hardware/libhardware/include/hardware/hwcomposer2.h
5dfbe33cf3635280841883d3e9db86f7db85df65 24-Mar-2016 Dan Stoza <stoza@google.com> HWC2: Fix a doc bug in setColorTransform

Fixes a minor error in the documentation of the setColorTransform
function.

Change-Id: Id1a94d6066f642579c6b935a6cc781505f25c11d
/hardware/libhardware/include/hardware/hwcomposer2.h
4e9221bd8785c2f2de9fe2c0e315e5c590fefd9f 03-Sep-2015 Dan Stoza <stoza@google.com> Hardware Composer 2.0

Headers for version 2.0 of the Hardware Composer HAL

Change-Id: Ie5c26a11b20b7e8f8c752ca51d5cbaf2cbaa9a45
/hardware/libhardware/include/hardware/hwcomposer2.h