diff options
author | 2015-08-26 05:39:18 -0700 | |
---|---|---|
committer | 2015-08-26 05:39:18 -0700 | |
commit | 24243446cdf7b7e4e132c2a0c387c7723777e0c7 (patch) | |
tree | a1515829dd08b0c600dc5878fe3495d28adc8549 /src/gpu/GrPaint.cpp | |
parent | 60e0fee6d4acff638ccc9670c4055aced529a7a0 (diff) |
Remove GrStagedProcessor, remove the word Stage as it applies to FPs
Review URL: https://codereview.chromium.org/1307223004
Diffstat (limited to 'src/gpu/GrPaint.cpp')
-rw-r--r-- | src/gpu/GrPaint.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp index 7427785588..d37ac57a08 100644 --- a/src/gpu/GrPaint.cpp +++ b/src/gpu/GrPaint.cpp @@ -25,32 +25,33 @@ void GrPaint::setCoverageSetOpXPFactory(SkRegion::Op regionOp, bool invertCovera } void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { - this->addColorProcessor(GrSimpleTextureEffect::Create(fProcDataManager, texture, + this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(fProcDataManager, texture, matrix))->unref(); } void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { - this->addCoverageProcessor(GrSimpleTextureEffect::Create(fProcDataManager, texture, + this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(fProcDataManager, texture, matrix))->unref(); } void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) { - this->addColorProcessor(GrSimpleTextureEffect::Create(fProcDataManager, texture, matrix, + this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(fProcDataManager, texture, matrix, params))->unref(); } void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) { - this->addCoverageProcessor(GrSimpleTextureEffect::Create(fProcDataManager, texture, matrix, + this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(fProcDataManager, texture, matrix, params))->unref(); } bool GrPaint::isConstantBlendedColor(GrColor* color) const { GrProcOptInfo colorProcInfo; - colorProcInfo.calcWithInitialValues(fColorStages.begin(), this->numColorStages(), fColor, + colorProcInfo.calcWithInitialValues(fColorFragmentProcessors.begin(), + this->numColorFragmentProcessors(), fColor, kRGBA_GrColorComponentFlags, false); GrXPFactory::InvariantBlendedColor blendedColor; |