skia2/src
Brian Salomon c683912173 Improve thin horiz/vertical dashed lines by not forcing width to 1.
It looks like a bug slipped in quite a while back here:
https://codereview.chromium.org/1092793006/diff/30002/src/gpu/effects/GrDashingEffect.cpp

where a width snapping that was supposed to apply to non-AA lines was
changed to apply to AA lines.

Adds GM that tests < 1 pixel wide dashed horiz/vertical lines.

The lines look better with the change but are still a little too thick,
depending on the subpixel offset.

BUG: chromium:1049028

Change-Id: I45734f5ef55548b62c188d9f55d3150c00059eed
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/288628
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2020-05-08 16:25:20 +00:00
..
android Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
atlastext Plumb SkMatrixProvider throughout Ganesh 2020-04-20 13:48:40 +00:00
c Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
codec Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +00:00
core Revert "Revert "custom typeface"" 2020-05-07 22:52:56 +00:00
effects Revert "Support large kernels on GPU in matrix convolution effect" 2020-05-05 01:28:11 +00:00
fonts Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
gpu Improve thin horiz/vertical dashed lines by not forcing width to 1. 2020-05-08 16:25:20 +00:00
image Pass description of GrSurface to GrSurfaceProxy lazy callbacks. 2020-04-14 21:34:05 +00:00
images Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +00:00
lazy turn on -Wreturn-std-move-in-c++11 2020-02-18 23:55:35 +00:00
opts try skipping _cvtmask64_u64 2020-04-27 17:06:19 +00:00
pathops Remove RawIter usages from pathops 2020-05-07 19:38:50 +00:00
pdf Fix SkBitSet. 2020-05-05 20:04:11 +00:00
ports Fix loaders for DW variable fonts. 2020-05-07 14:45:45 +00:00
sfnt Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
shaders detect failed matrix update in SkDraw::drawAtlas() 2020-04-28 14:17:10 +00:00
sksl Add min/max/clamp/saturate intrinsics to ByteCodeGenerator 2020-05-04 20:45:27 +00:00
svg [svgdevice] Handle text path effects 2020-03-13 16:19:06 +00:00
utils remove another bad assert 2020-05-08 00:31:16 +00:00
xml update skstd 2020-04-30 15:05:43 +00:00
xps Fix SkBitSet. 2020-05-05 20:04:11 +00:00