From 096074af2c6fcbf622f0a42b2f7c56d0c66fbd80 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Fri, 1 Dec 2017 13:49:50 -0500 Subject: 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 Reviewed-by: Robert Phillips --- gn/gm.gni | 1 + 1 file changed, 1 insertion(+) (limited to 'gn/gm.gni') diff --git a/gn/gm.gni b/gn/gm.gni index de98f79aad..611d4f3fe8 100644 --- a/gn/gm.gni +++ b/gn/gm.gni @@ -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", -- cgit v1.2.3