diff options
author | 2015-02-13 12:50:09 -0800 | |
---|---|---|
committer | 2015-02-13 12:50:09 -0800 | |
commit | db0f9516ae22a28e16e18bfaa375eca01d29e346 (patch) | |
tree | 5ad94618299407b995830499da30229713941cf9 /src/gpu/GrBatch.h | |
parent | efe513b6fea7196dc72c1d49b365c5c28e939012 (diff) |
Stop lieing about GrBatch color for Rects
BUG=skia:
Review URL: https://codereview.chromium.org/920423003
Diffstat (limited to 'src/gpu/GrBatch.h')
-rw-r--r-- | src/gpu/GrBatch.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gpu/GrBatch.h b/src/gpu/GrBatch.h index 2f1afee1e4..48327c61c2 100644 --- a/src/gpu/GrBatch.h +++ b/src/gpu/GrBatch.h @@ -39,10 +39,6 @@ struct GrInitInvariantOutput; * information will be communicated to the GrBatch prior to geometry generation. */ -struct GrBatchOpt { - bool fCanTweakAlphaForCoverage; -}; - class GrBatch : public SkRefCnt { public: SK_DECLARE_INST_COUNT(GrBatch) @@ -54,13 +50,9 @@ public: virtual void getInvariantOutputCoverage(GrInitInvariantOutput* out) const = 0; /* - * initBatchOpt is used to communicate possible optimizations to the GrBatch. initBatchTracker - * is a hook for the some additional overrides from the GrXferProcessor. This is a bit - * confusing but has to be like this until GrBatch is everywhere. - * - * TODO combine to a single init call when GrBatch is everywhere. + * initBatchTracker is a hook for the some additional overrides / optimization possibilities + * from the GrXferProcessor. */ - virtual void initBatchOpt(const GrBatchOpt&) = 0; virtual void initBatchTracker(const GrPipelineInfo& init) = 0; bool combineIfPossible(GrBatch* that) { |