Index: src/gpu/GrPipelineBuilder.cpp |
diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp |
index 04967a780b50b9e9e59796fb232aed73e71116b7..f7848ba9d627d016beb36a79651688560f83dbae 100644 |
--- a/src/gpu/GrPipelineBuilder.cpp |
+++ b/src/gpu/GrPipelineBuilder.cpp |
@@ -22,7 +22,7 @@ GrPipelineBuilder::GrPipelineBuilder() |
SkDEBUGCODE(fBlockEffectRemovalCnt = 0;) |
} |
-GrPipelineBuilder::GrPipelineBuilder(const GrPaint& paint, bool targetHasUnifiedMultisampling) |
+GrPipelineBuilder::GrPipelineBuilder(const GrPaint& paint, bool useHWAA) |
: GrPipelineBuilder() { |
SkDEBUGCODE(fBlockEffectRemovalCnt = 0;) |
@@ -36,8 +36,7 @@ GrPipelineBuilder::GrPipelineBuilder(const GrPaint& paint, bool targetHasUnified |
fXPFactory.reset(SkSafeRef(paint.getXPFactory())); |
- this->setState(GrPipelineBuilder::kHWAntialias_Flag, |
- targetHasUnifiedMultisampling && paint.isAntiAlias()); |
+ this->setState(GrPipelineBuilder::kHWAntialias_Flag, useHWAA); |
this->setState(GrPipelineBuilder::kDisableOutputConversionToSRGB_Flag, |
paint.getDisableOutputConversionToSRGB()); |
this->setState(GrPipelineBuilder::kAllowSRGBInputs_Flag, |