commit | a9123c8b69422dfff377e3b07746dec48e91dc60 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Thu Oct 03 03:56:44 2024 +0000 |
committer | Vishnu Nair <vishnun@google.com> | Thu Oct 03 15:53:02 2024 +0000 |
tree | 5c6df6ef4e23c369e3323fe80cb7be5f52df4e27 | |
parent | dfee5a2c360f4660dfad53bfd06d7923f98e242e [diff] [blame] |
Support floating point values for layer crop Flag: EXEMPT bug fix Fixes: 310950423 Test: presubmit Change-Id: I05feb4881a95bc8caad90a3d632b3c7881909bf3
diff --git a/services/surfaceflinger/FrontEnd/LayerSnapshot.h b/services/surfaceflinger/FrontEnd/LayerSnapshot.h index 398e64a..b7d4cc5 100644 --- a/services/surfaceflinger/FrontEnd/LayerSnapshot.h +++ b/services/surfaceflinger/FrontEnd/LayerSnapshot.h
@@ -72,7 +72,7 @@ bool premultipliedAlpha; ui::Transform parentTransform; Rect bufferSize; - Rect croppedBufferSize; + FloatRect croppedBufferSize; std::shared_ptr<renderengine::ExternalTexture> externalTexture; gui::LayerMetadata layerMetadata; gui::LayerMetadata relativeLayerMetadata;