commit | 3b653e717315ac19b6800cda747f148615d737a6 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Mon Feb 24 16:40:50 2020 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Tue Feb 25 18:15:16 2020 +0000 |
tree | 697997ce22b63777585433d5a12f0aa631e71d45 | |
parent | 219643eebd19e550100f317ea52854bde4047d8f [diff] |
Zero out framenumber when clearing out layer Fixes a bug where the contents of the client composition buffer was not reused because HWC requested clearing the layer. When checking if the composition request changed, the framenumber was always incrementing. Bug: b/146238164 Test: go/wm-smoke Test: adb shell su root dumpsys SurfaceFlinger --timestats -dump -maxlayers 0 Change-Id: I39029835003b40c7e50acf765b52ee9103ce8303