Skip to content
Commit 7baca0b0 authored by Stan Iliev's avatar Stan Iliev
Browse files

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
parent 3939be61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment