commit | 0f67b3f01fc74bbd8cf4be24fce4a1e42f102282 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Tue May 17 10:48:38 2016 -0700 |
committer | Dan Stoza <stoza@google.com> | Tue May 17 10:48:38 2016 -0700 |
tree | 54a3d3aa524a9c56678cc33f5a59b67f0563adaf | |
parent | 853f8f9c0b95120731459c1f7567af69ce457fe0 [diff] |
HWC2: Set composition type before setting buffer SurfaceFlinger was incorrectly setting the buffer handle before setting the composition type. This led to cases where the layer was initially marked as Invalid or Client, allowing HWC2 to ignore the buffer handle, even though the layer was later changed to Device before presentation. Bug: 28814745 Change-Id: I41189495dcb254f04e6b2b329c044301c5cff97c