| Index: src/image/SkImage_Gpu.cpp
|
| diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp
|
| index a758efed5c884e55d8d96bcab46a88264b3964d4..226dc5cc0a1860183fcb494e83027ad82ed8eab0 100644
|
| --- a/src/image/SkImage_Gpu.cpp
|
| +++ b/src/image/SkImage_Gpu.cpp
|
| @@ -9,7 +9,7 @@
|
| #include "GrContext.h"
|
| #include "GrDrawContext.h"
|
| #include "GrImageIDTextureAdjuster.h"
|
| -#include "effects/GrYUVtoRGBEffect.h"
|
| +#include "effects/GrYUVEffect.h"
|
| #include "SkCanvas.h"
|
| #include "SkBitmapCache.h"
|
| #include "SkGpuDevice.h"
|
| @@ -266,8 +266,8 @@ SkImage* SkImage::NewFromYUVTexturesCopy(GrContext* ctx , SkYUVColorSpace colorS
|
|
|
| GrPaint paint;
|
| paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode);
|
| - paint.addColorFragmentProcessor(GrYUVtoRGBEffect::Create(yTex, uTex, vTex, yuvSizes,
|
| - colorSpace))->unref();
|
| + paint.addColorFragmentProcessor(GrYUVEffect::CreateYUVToRGB(yTex, uTex, vTex, yuvSizes,
|
| + colorSpace))->unref();
|
|
|
| const SkRect rect = SkRect::MakeWH(SkIntToScalar(dstDesc.fWidth),
|
| SkIntToScalar(dstDesc.fHeight));
|
|
|