diff options
author | Brian Salomon <bsalomon@google.com> | 2018-04-20 13:54:11 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-20 18:45:35 +0000 |
commit | 62e4f3daf7262463774ca0434a9232a8e2292350 (patch) | |
tree | 0402b8e6fb48469d3dc23c697ecc4fda9ee39fb2 /src/gpu/SkGpuDevice.cpp | |
parent | 2fda63abcdd4ba7ee41e5226b68c93b102b76fb2 (diff) |
Analytic dashing of circles with single on/off intervals and butt caps.
Change-Id: If19ac52cb78af57572a102cec0084f5b6c037680
Reviewed-on: https://skia-review.googlesource.com/121882
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index f26ed7b8ab..3a48e8cbe6 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -509,14 +509,6 @@ void SkGpuDevice::drawRegion(const SkRegion& region, const SkPaint& paint) { void SkGpuDevice::drawOval(const SkRect& oval, const SkPaint& paint) { ASSERT_SINGLE_OWNER GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawOval", fContext.get()); - // Presumably the path effect warps this to something other than an oval - if (paint.getPathEffect()) { - SkPath path; - path.setIsVolatile(true); - path.addOval(oval); - this->drawPath(path, paint, nullptr, true); - return; - } if (paint.getMaskFilter()) { // The RRect path can handle special case blurring |