ccpr: Use ceil/floor to round out path cover octagons

We used to round out octagons with a bloat of .4911 px in order to
achieve conservative raster. This worked in theory, but the GL and
Vulkan specs only require 4 bits of subpixel precision in the
rasterizer. This didn't allow enough precision to properly handle our
outset value of .4911 on all platforms. Using ceil/floor instead
should work on any rasterizer.

Bug: swiftshader:110
Change-Id: I7f5b754e056f11353ac9d14089dbc71ba8fa405d
Reviewed-on: https://skia-review.googlesource.com/c/160995
Reviewed-by: Alexis Hetu <sugoi@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
1 file changed