summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2013-09-17 16:20:29 -0700
committerChris Craik <ccraik@google.com>2013-09-17 17:48:14 -0700
commit32f05e343c5ffb17f3235942bcda651bd3b9f1d6 (patch)
treef3c0ed7a1a252728c21bd5b178ff69d625bf74d5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent0f3e1487b26a822697f70747290809081c2072cc (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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions