Merge "[composer] Make Auto low latency mode APIs optional."

This commit is contained in:
Peiyong Lin 2020-01-10 19:24:50 +00:00 committed by Android (Google) Code Review
commit ae5e8ab33e

View file

@ -2953,8 +2953,7 @@ typedef int32_t /*hwc2_error_t*/ (*HWC2_PFN_SET_ACTIVE_CONFIG_WITH_CONSTRAINTS)(
/* setAutoLowLatencyMode(displayToken, on)
* Descriptor: HWC2_FUNCTION_SET_AUTO_LOW_LATENCY_MODE
* Required for HWC2 devices for composer 2.4, connected to a display via HDMI 2.1
* Optional for internally connected devices and HDMI <2.1 display connections
* Optional for HWC2 devices
*
* setAutoLowLatencyMode requests that the display goes into low latency mode. If the display
* is connected via HDMI 2.1, then Auto Low Latency Mode should be triggered. If the display is
@ -2972,7 +2971,7 @@ typedef int32_t /*hwc_error_t*/ (*HWC2_PFN_SET_AUTO_LOW_LATENCY_MODE)(hwc2_devic
/* getSupportedContentTypes(..., outSupportedContentTypes)
* Descriptor: HWC2_FUNCTION_GET_SUPPORTED_CONTENT_TYPES
* Required for HWC2 devices for composer 2.4
* Optional for HWC2 devices
*
* getSupportedContentTypes returns a list of supported content types
* (as described in the definition of ContentType above).
@ -2993,8 +2992,7 @@ typedef int32_t /*hwc_error_t*/ (*HWC2_PFN_GET_SUPPORTED_CONTENT_TYPES)(hwc2_dev
/* setContentType(displayToken, contentType)
* Descriptor: HWC2_FUNCTION_SET_CONTENT_TYPE
* Required for HWC2 devices for composer 2.4
* Optional for HWC2 devices for composer 2.1, 2.2, 2.3
* Optional for HWC2 devices
*
* setContentType instructs the display that the content being shown is of the given contentType
* (one of GRAPHICS, PHOTO, CINEMA, GAME).