summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2013-02-15 11:58:14 -0800
committerChris Craik <ccraik@google.com>2013-02-15 14:53:12 -0800
commit62a42c13a6e86255a0118688a60c9248030c95a9 (patch)
tree3f7e12c3f6c7dcc4ae571a792fda5d9780afa429 /graphics/java/android/renderscript/RenderScript.java
parent101ae3bb3909827303121e5e11ed16b7efe36538 (diff)
Adjust offset for non-AA line drawing
bug:8114304 The original .375 was chosen to make GL_LINES align with Skia drawing. The new value of .065 is chosen to be as small as possible to make triangle-based lines align with Skia, while keeping lines drawn on integer coordinates unambiguous as to which column/row they draw on. Also adds more lines in CanvasCompare test to highlight the difference Change-Id: If578684f2db320682219c3caa625cf79bc62d88f
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions