diff options
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 624cc68987..7166a07f51 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -693,6 +693,10 @@ void SkGpuDevice::drawRect(const SkDraw& draw, const SkRect& rect, if (paint.getMaskFilter()) { usePath = true; } + // until we aa rotated rects... + if (!usePath && paint.isAntiAlias() && !draw.fMatrix->rectStaysRect()) { + usePath = true; + } if (usePath) { SkPath path; |