diff options
author | 2015-10-06 08:40:50 -0700 | |
---|---|---|
committer | 2015-10-06 08:40:51 -0700 | |
commit | 4a339529612a43871d021877e58698e067d6c4cd (patch) | |
tree | a46e5271f68b194f4351271c1faa65568c9606fd /src/gpu/GrPaint.cpp | |
parent | e1f829699958b673dfe196c80d17a55d18d0fc4b (diff) |
Bye bye processor data manager.
Review URL: https://codereview.chromium.org/1388113002
Diffstat (limited to 'src/gpu/GrPaint.cpp')
-rw-r--r-- | src/gpu/GrPaint.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp index 4a9f417ff4..6f218a4b0b 100644 --- a/src/gpu/GrPaint.cpp +++ b/src/gpu/GrPaint.cpp @@ -22,26 +22,24 @@ void GrPaint::setCoverageSetOpXPFactory(SkRegion::Op regionOp, bool invertCovera } void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { - this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(&fProcDataManager, texture, - matrix))->unref(); + this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); } void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { - this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(&fProcDataManager, texture, - matrix))->unref(); + this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); } void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) { - this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(&fProcDataManager, texture, + this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref(); } void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) { - this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(&fProcDataManager, texture, + this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref(); } |