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

Unified Diff: src/gpu/GrGpu.h

Issue 1332923003: Remove batchtracker (Closed) Base URL: https://skia.googlesource.com/skia.git@latecreatepathprocessor
Patch Set: tweaks Created 5 years, 3 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 | « src/gpu/GrGeometryProcessor.h ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index ba9e85b54f12924df4a78b85f998b3cdf7f72f6c..73a5264bbc17bb28c114203ecdbf7f242bded264 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -286,8 +286,7 @@ public:
virtual void buildProgramDesc(GrProgramDesc*,
const GrPrimitiveProcessor&,
- const GrPipeline&,
- const GrBatchTracker&) const = 0;
+ const GrPipeline&) const = 0;
// Called to perform a surface to surface copy. Fallbacks to issuing a draw from the src to dst
// take place at the GrDrawTarget level and this function implement faster copy paths. The rect
@@ -301,18 +300,15 @@ public:
struct DrawArgs {
DrawArgs(const GrPrimitiveProcessor* primProc,
const GrPipeline* pipeline,
- const GrProgramDesc* desc,
- const GrBatchTracker* batchTracker)
+ const GrProgramDesc* desc)
: fPrimitiveProcessor(primProc)
, fPipeline(pipeline)
- , fDesc(desc)
- , fBatchTracker(batchTracker) {
- SkASSERT(primProc && pipeline && desc && batchTracker);
+ , fDesc(desc) {
+ SkASSERT(primProc && pipeline && desc);
}
const GrPrimitiveProcessor* fPrimitiveProcessor;
const GrPipeline* fPipeline;
const GrProgramDesc* fDesc;
- const GrBatchTracker* fBatchTracker;
};
void draw(const DrawArgs&, const GrVertices&);
« no previous file with comments | « src/gpu/GrGeometryProcessor.h ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698