| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 747688ed8b6371a48e3af6f6c2d26285ede30888..b66125a11f009f76dde48b07990b69f2ba50c1c7 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -846,14 +846,6 @@ void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath,
|
| return;
|
| }
|
|
|
| - // can we cheat, and treat a thin stroke as a hairline w/ coverage
|
| - // if we can, we draw lots faster (raster device does this same test)
|
| - SkScalar hairlineCoverage;
|
| - bool doHairLine = SkDrawTreatAsHairline(paint, fContext->getMatrix(), &hairlineCoverage);
|
| - if (doHairLine) {
|
| - grPaint.setCoverage(SkScalarRoundToInt(hairlineCoverage * grPaint.getCoverage()));
|
| - }
|
| -
|
| // If we have a prematrix, apply it to the path, optimizing for the case
|
| // where the original path can in fact be modified in place (even though
|
| // its parameter type is const).
|
| @@ -883,10 +875,6 @@ void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath,
|
| pathPtr = &effectPath;
|
| }
|
|
|
| - if (!pathEffect && doHairLine) {
|
| - stroke.setHairlineStyle();
|
| - }
|
| -
|
| if (paint.getMaskFilter()) {
|
| if (!stroke.isHairlineStyle()) {
|
| if (stroke.applyToPath(&tmpPath, *pathPtr)) {
|
|
|