Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: include/gpu/GrDrawContext.h

Issue 2175573004: Revert of Retract PipelineBuilder some more (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698