Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libhardware: Commit

hardware/libhardware


Commit MetaInfo

Révision233947c19821f78d3e1ea193b2cf893b7ebcdf2c (tree)
l'heure2017-06-20 16:19:20
Auteurandroid-build-team Robot <android-build-team-robot@goog...>
Commiterandroid-build-team Robot

Message de Log

release-request-8a29fe1b-a466-48e3-824a-9b3737e5c08a-for-git_oc-release-4115999 snap-temp-L30600000075741665

Change-Id: If5c34a1e85d03fdb69f3322101ad522198888b7e

Change Summary

Modification

--- a/include/hardware/hwcomposer2.h
+++ b/include/hardware/hwcomposer2.h
@@ -104,6 +104,17 @@ typedef enum {
104104 * In the future, CTS tests will require present time to be reliable.
105105 */
106106 HWC2_CAPABILITY_PRESENT_FENCE_IS_NOT_RELIABLE = 3,
107+
108+ /* Specifies that a device is able to skip the validateDisplay call before
109+ * receiving a call to presentDisplay. The client will always skip
110+ * validateDisplay and try to call presentDisplay regardless of the changes
111+ * in the properties of the layers. If the device returns anything else than
112+ * HWC2_ERROR_NONE, it will call validateDisplay then presentDisplay again.
113+ * For this capability to be worthwhile the device implementation of
114+ * presentDisplay should fail as fast as possible in the case a
115+ * validateDisplay step is needed.
116+ */
117+ HWC2_CAPABILITY_SKIP_VALIDATE= 4,
107118 } hwc2_capability_t;
108119
109120 /* Possible composition types for a given layer */
@@ -564,6 +575,7 @@ enum class Capability : int32_t {
564575 SidebandStream = HWC2_CAPABILITY_SIDEBAND_STREAM,
565576 SkipClientColorTransform = HWC2_CAPABILITY_SKIP_CLIENT_COLOR_TRANSFORM,
566577 PresentFenceIsNotReliable = HWC2_CAPABILITY_PRESENT_FENCE_IS_NOT_RELIABLE,
578+ SkipValidate = HWC2_CAPABILITY_SKIP_VALIDATE,
567579 };
568580 TO_STRING(hwc2_capability_t, Capability, getCapabilityName)
569581
Afficher sur ancien navigateur de dépôt.