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

Unified Diff: src/gpu/GrImmediateDrawTarget.h

Issue 1278643006: Make GrBatch carry its own GrPipeline (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more Created 5 years, 4 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/GrDrawTarget.cpp ('k') | src/gpu/GrImmediateDrawTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrImmediateDrawTarget.h
diff --git a/src/gpu/GrImmediateDrawTarget.h b/src/gpu/GrImmediateDrawTarget.h
index 77b807bc965f3b03ecacde5e84aa48fdbe910bed..997a31b594f593b8fb2fbb815c8d63fc8694f9bc 100644
--- a/src/gpu/GrImmediateDrawTarget.h
+++ b/src/gpu/GrImmediateDrawTarget.h
@@ -17,7 +17,6 @@
*/
class GrImmediateDrawTarget : public GrClipTarget {
public:
-
/**
* Creates a GrImmediateDrawTarget
*
@@ -38,7 +37,7 @@ private:
void onFlush() override;
// overrides from GrDrawTarget
- void onDrawBatch(GrBatch*, const PipelineInfo&) override;
+ void onDrawBatch(GrBatch*) override;
void onStencilPath(const GrPipelineBuilder&,
const GrPathProcessor*,
const GrPath*,
@@ -73,12 +72,6 @@ private:
bool isIssued(uint32_t drawID) override { return drawID != fDrawID; }
- bool SK_WARN_UNUSED_RESULT setupPipelineAndShouldDraw(void* pipelineAddr,
- const GrDrawTarget::PipelineInfo&,
- GrPipelineOptimizations* opts);
-
- void recordXferBarrierIfNecessary(const GrPipeline*);
-
GrBatchTarget fBatchTarget;
uint32_t fDrawID;
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrImmediateDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698