diff options
author | bsalomon <bsalomon@google.com> | 2015-08-26 05:39:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-26 05:39:18 -0700 |
commit | 24243446cdf7b7e4e132c2a0c387c7723777e0c7 (patch) | |
tree | a1515829dd08b0c600dc5878fe3495d28adc8549 /src/image | |
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/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 d172df829e..a6edd98813 100644 --- a/src/image/SkImage_Gpu.cpp +++ b/src/image/SkImage_Gpu.cpp @@ -250,8 +250,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)); |