diff options
author | bsalomon <bsalomon@google.com> | 2015-08-27 06:30:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 06:30:17 -0700 |
commit | ac856c97acc84dcb54d9cdb068ec8a02b8869647 (patch) | |
tree | 6ae028321a4e2f179918390a03788f3e598545e5 /src/image | |
parent | a04c650459280363454da3b43ae910b8593434c8 (diff) |
Remove GrStagedProcessor, remove the word Stage as it applies to FPs
Committed: https://skia.googlesource.com/skia/+/24243446cdf7b7e4e132c2a0c387c7723777e0c7
Review URL: https://codereview.chromium.org/1307223004
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/SkImage_Gpu.cpp | 5 |
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)); |