aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-04-20 13:54:11 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-20 18:45:35 +0000
commit62e4f3daf7262463774ca0434a9232a8e2292350 (patch)
tree0402b8e6fb48469d3dc23c697ecc4fda9ee39fb2 /src/gpu/SkGpuDevice.cpp
parent2fda63abcdd4ba7ee41e5226b68c93b102b76fb2 (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.cpp8
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