summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2013-11-19 18:00:46 -0800
committerChris Craik <ccraik@google.com>2013-11-22 11:36:12 -0800
commitf0a590781b2c3e34132b2011d3956135add73ae0 (patch)
tree336c6ca241497181743671e2f6e1af4405ab0237 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parente6a408ed31a7d1fb8ace6b80487d179b2f085fd3 (diff)
Clean up quick rejection, especially surrounding points + lines.
bug:4351353 quickReject and quickRejectNoScissor have been renamed and refactored: - to make the scissor side effect clear and explicit - dangerous methods no longer public - to make the simple quick reject check logic const - simple quick reject is now conservative This CL also fixes several issues with line and point quickRejection - sub-pixel and hairline lines are much less likely to be incorrectly rejected, especially at small canvas scale. Additionally, alpha modulation for AA points < 1px in size is now correct, dumplicating SW behavior (similar to lines and stroked shapes work). Change-Id: Ibb0710c721b9fb415d05acf54dd3d2b4d602156a
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions