commit | 4459bf40e9166405755239d37d347edbaad2ef0e | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Tue Jan 04 13:58:26 2022 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Wed Jan 05 17:25:53 2022 -0500 |
tree | e5d91eee1eea3927d96556a678c038344bf4b9f7 | |
parent | e5cff63e831dfb62478701e39b8f0d2a7fe5e320 [diff] |
HWC2: refactor code to convert a Region to hwcRects This code already appears twice, and I991c8e1beca22075ec831f96dff218e6af3d9a08 will add a third use. Move it into a common function so that it can be called by all three. Bug: 212736475 Test: existing tests (no change in behavior) Change-Id: Ibe7684b415c08b7bec01188dbab4655c91086372