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

Unified Diff: src/gpu/GrPipeline.h

Issue 912413002: Pass in ProcOptInfos into willNeedDstCopy on XPs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Review cleanup Created 5 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 | « src/gpu/GrInOrderDrawBuffer.cpp ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPipeline.h
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h
index 8480c0045856ba4f3b7977d22d7a0955e62754ed..61b40d0c4d3c98c143d8f978c8ed96f1a189f0d5 100644
--- a/src/gpu/GrPipeline.h
+++ b/src/gpu/GrPipeline.h
@@ -29,14 +29,13 @@ class GrPipeline {
public:
SK_DECLARE_INST_COUNT(GrPipeline)
- // TODO get rid of this version of the constructor when we use batch everywhere
- GrPipeline(const GrPipelineBuilder& pipelineBuilder, const GrPrimitiveProcessor*,
- const GrDrawTargetCaps&, const GrScissorState&,
+ GrPipeline(const GrPipelineBuilder&,
+ const GrProcOptInfo& colorPOI,
+ const GrProcOptInfo& coveragePOI,
+ const GrDrawTargetCaps&,
+ const GrScissorState&,
const GrDeviceCoordTexture* dstCopy);
- GrPipeline(GrBatch*, const GrPipelineBuilder&, const GrDrawTargetCaps&,
- const GrScissorState&, const GrDeviceCoordTexture* dstCopy);
-
/*
* Returns true if it is possible to combine the two GrPipelines and it will update 'this'
* to subsume 'that''s draw.
@@ -137,14 +136,6 @@ public:
const GrPipelineInfo& getInitBatchTracker() const { return fInitBT; }
private:
- // TODO we can have one constructor once GrBatch is complete
- void internalConstructor(const GrPipelineBuilder&,
- const GrProcOptInfo& colorPOI,
- const GrProcOptInfo& coveragePOI,
- const GrDrawTargetCaps&,
- const GrScissorState&,
- const GrDeviceCoordTexture* dstCopy);
-
/**
* Alter the program desc and inputs (attribs and processors) based on the blend optimization.
*/
« no previous file with comments | « src/gpu/GrInOrderDrawBuffer.cpp ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698