aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-08-27 06:30:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-27 06:30:17 -0700
commitac856c97acc84dcb54d9cdb068ec8a02b8869647 (patch)
tree6ae028321a4e2f179918390a03788f3e598545e5 /src/image
parenta04c650459280363454da3b43ae910b8593434c8 (diff)
Remove GrStagedProcessor, remove the word Stage as it applies to FPs
Diffstat (limited to 'src/image')
-rw-r--r--src/image/SkImage_Gpu.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp
index 1be6eaaa26..d758795d43 100644
--- a/src/image/SkImage_Gpu.cpp
+++ b/src/image/SkImage_Gpu.cpp
@@ -248,8 +248,9 @@ SkImage* SkImage::NewFromYUVTexturesCopy(GrContext* ctx , SkYUVColorSpace colorS
GrPaint paint;
paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode);
- paint.addColorProcessor(GrYUVtoRGBEffect::Create(paint.getProcessorDataManager(), yTex, uTex,
- vTex, yuvSizes, colorSpace))->unref();
+ paint.addColorFragmentProcessor(GrYUVtoRGBEffect::Create(paint.getProcessorDataManager(),
+ yTex, uTex, vTex, yuvSizes,
+ colorSpace))->unref();
const SkRect rect = SkRect::MakeWH(SkIntToScalar(dstDesc.fWidth),
SkIntToScalar(dstDesc.fHeight));