commit | 32f05e343c5ffb17f3235942bcda651bd3b9f1d6 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Tue Sep 17 16:20:29 2013 -0700 |
committer | Chris Craik <ccraik@google.com> | Tue Sep 17 17:48:14 2013 -0700 |
tree | f3c0ed7a1a252728c21bd5b178ff69d625bf74d5 | |
parent | 0f3e1487b26a822697f70747290809081c2072cc [diff] |
Conservatively estimate geometry bounds bug:10761696 Avoids a case where a rect with top coordinate of (e.g.) 0.51f is assumed to not draw in the first row of pixels, which leads to it not being clipped. Since rounding can cause it to render in this first pixel anyway, we very slightly expand geometry bounds. Now, in ambiguous cases, the geometry bounds are expanded so clipping is more likely to happen. Change-Id: I119b7c7720de07bac1634549724ffb63935567fc