diff options
author | Brian Salomon <bsalomon@google.com> | 2017-12-01 13:49:50 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-01 20:00:09 +0000 |
commit | 096074af2c6fcbf622f0a42b2f7c56d0c66fbd80 (patch) | |
tree | c8162aad746f18fee6344567a6cf63ae11dc7dec /gn | |
parent | b826a3ab7247fea323eb8b06372a678fbc6c3dbe (diff) |
Fix rendering of drrects with small circular inner rrects.
Previously when the inner rrect was a circle with a radius of 1 we would
cause a inf * 0 in the shader which would lead to the shape not rendering.
This change also makes concentric circle drrects draw as stroked circles.
bug: chromium:789262
Change-Id: I6efbe3fdde25d6c4e031c7412d83df009afe014a
Reviewed-on: https://skia-review.googlesource.com/79141
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/gm.gni | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -118,6 +118,7 @@ gm_sources = [ "$_gm/drawregionmodes.cpp", "$_gm/dropshadowimagefilter.cpp", "$_gm/drrect.cpp", + "$_gm/drrect_small_inner.cpp", "$_gm/dstreadshuffle.cpp", "$_gm/emboss.cpp", "$_gm/emptypath.cpp", |