Index: include/gpu/GrDrawContext.h |
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h |
index bf9a2fd476592172ad165719fba5cf3eb6b2669d..1a7580ea03947db7fb84de27f06545f1fe12fbb2 100644 |
--- a/include/gpu/GrDrawContext.h |
+++ b/include/gpu/GrDrawContext.h |
@@ -44,7 +44,6 @@ |
class SkRRect; |
struct SkRSXform; |
class SkTextBlob; |
-struct GrUserStencilSettings; |
/* |
* A helper object to orchestrate draws |
@@ -261,8 +260,7 @@ |
bool hasMixedSamples() const { return fRenderTarget->hasMixedSamples(); } |
bool mustUseHWAA(const GrPaint& paint) const { |
- return paint.isAntiAlias() && |
- (fRenderTarget->isUnifiedMultisampled() || fRenderTarget->hasMixedSamples()); |
+ return paint.isAntiAlias() && fRenderTarget->isUnifiedMultisampled(); |
} |
const GrSurfaceDesc& desc() const { return fRenderTarget->desc(); } |
@@ -347,8 +345,7 @@ |
// This entry point allows the GrTextContext-derived classes to add their batches to |
// the drawTarget. |
- void drawBatch(const GrPaint&, const GrClip&, const GrUserStencilSettings&, GrDrawBatch* batch, |
- GrDrawFace = GrDrawFace::kBoth); |
+ void drawBatch(const GrPipelineBuilder& pipelineBuilder, const GrClip&, GrDrawBatch* batch); |
GrDrawTarget* getDrawTarget(); |