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

Unified Diff: include/gpu/GrDrawContext.h

Issue 1730903007: Make GrDrawContext::internalDrawPath cons up its own GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@retract-pipeline
Patch Set: Update to ToT Created 4 years, 10 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 8cd5ee62a030bb03591c82f17d88cbe9da283701..bde2f4a9d4b11cd23bb0abf13e02017e0ad1e039 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -100,7 +100,7 @@ public:
const GrPaint& paint,
const SkMatrix& viewMatrix,
const SkRect&,
- const GrStrokeInfo* strokeInfo = NULL);
+ const GrStrokeInfo* strokeInfo = nullptr);
/**
* Maps a rectangle of shader coordinates to a rectangle and fills that rectangle.
@@ -302,12 +302,11 @@ private:
const SkRRect& origOuter,
const SkRRect& origInner);
- void internalDrawPath(GrPipelineBuilder*,
+ void internalDrawPath(const GrClip& clip,
+ const GrPaint& paint,
const SkMatrix& viewMatrix,
- GrColor,
- bool useAA,
- const SkPath&,
- const GrStrokeInfo&);
+ const SkPath& path,
+ const GrStrokeInfo& strokeInfo);
// This entry point allows the GrTextContext-derived classes to add their batches to
// the drawTarget.
« 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