Make non-AA hairline stroke rects snap to pixels centers so they close.
authorbsalomon <bsalomon@google.com>
Mon, 27 Apr 2015 17:07:04 +0000 (10:07 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Apr 2015 17:07:04 +0000 (10:07 -0700)
commitd79c549467e5e7be025e38357f179b7965ed2ec3
tree0720748cd608879aaca87f563fdb795085719bc3
parentf0c000df552a3ab51da6cd4997f5878825dec97e
Make non-AA hairline stroke rects snap to pixels centers so they close.

BUG=skia:3717

Review URL: https://codereview.chromium.org/1101663007
src/gpu/GrClipMaskManager.cpp
src/gpu/GrContext.cpp
src/gpu/GrPipeline.cpp
src/gpu/GrPipeline.h
src/gpu/GrPipelineBuilder.cpp
src/gpu/GrPipelineBuilder.h
src/gpu/GrProgramDesc.h
src/gpu/gl/GrGLProgramDesc.cpp
src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp
tests/GLProgramsTest.cpp