commit | 7baca0b0519993d505fe862d3d090ac61f36c52e | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Thu May 02 11:23:00 2019 -0400 |
committer | Stan Iliev <stani@google.com> | Thu May 02 12:42:54 2019 -0400 |
tree | fb3f90266ba57a49ce1a68ca730f5f4701227d1a | |
parent | 3939be6195db6528e70a59e37b9aecdb47091160 [diff] |
Improve SurfaceView bounds calculation Estimate SurfaceView bounds conservatively to handle GPU rounding errors. When SurfaceView border is in the middle of a pixel, a fudge factor is added or substracted to always extend the region. Test: passed CTS tests Bug: 131240729 Change-Id: I74d5c1b40f9e730758f26341eb4a028bbae6ecd9