diff options
author | 2015-07-09 10:24:35 -0700 | |
---|---|---|
committer | 2015-07-09 10:24:36 -0700 | |
commit | 5f10b5c1b5744106312e24835d235b72fdba5802 (patch) | |
tree | 84b17f420f40ff9793f7d24285fa81412102bae7 /src/gpu/GrPaint.cpp | |
parent | cc29d26f5742449eb2a2bafa7bbb6ec5ee701aef (diff) |
More threading of GrProcessorDataManager
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/1230813003
Diffstat (limited to 'src/gpu/GrPaint.cpp')
-rw-r--r-- | src/gpu/GrPaint.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp index 3c40c96d1b..f1533dd295 100644 --- a/src/gpu/GrPaint.cpp +++ b/src/gpu/GrPaint.cpp @@ -24,23 +24,27 @@ void GrPaint::setCoverageSetOpXPFactory(SkRegion::Op regionOp, bool invertCovera } void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { - this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); + this->addColorProcessor(GrSimpleTextureEffect::Create(&fProcDataManager, texture, + matrix))->unref(); } void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) { - this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); + this->addCoverageProcessor(GrSimpleTextureEffect::Create(&fProcDataManager, texture, + matrix))->unref(); } void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) { - this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref(); + this->addColorProcessor(GrSimpleTextureEffect::Create(&fProcDataManager, texture, matrix, + params))->unref(); } void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) { - this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref(); + this->addCoverageProcessor(GrSimpleTextureEffect::Create(&fProcDataManager, texture, matrix, + params))->unref(); } bool GrPaint::isConstantBlendedColor(GrColor* color) const { |