diff options
author | Robert Phillips <robertphillips@google.com> | 2017-03-08 14:32:55 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-08 22:37:42 +0000 |
commit | 538f1a36e3cd0327ee2639693143179ec0359151 (patch) | |
tree | d7bb0d1a15e23e952038967f87a69185d981c07f /src/image/SkImage_Gpu.h | |
parent | f141fff87abdc68d1a5adba6ea77d1885952ca5b (diff) |
Switch GrYUVProvider over to GrTextureProxies
This is split out of: https://skia-review.googlesource.com/c/8823/ (Remove GrFragmentProcessor-derived class' GrTexture-based ctors)
Change-Id: I302e6b4c1ffed449a990288ec06f2dfdcdadf1f8
Reviewed-on: https://skia-review.googlesource.com/9448
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/image/SkImage_Gpu.h')
-rw-r--r-- | src/image/SkImage_Gpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h index c918b5c3d8..419d4d1c25 100644 --- a/src/image/SkImage_Gpu.h +++ b/src/image/SkImage_Gpu.h @@ -49,6 +49,10 @@ public: *uniqueID = this->uniqueID(); return fTexture; } + + bool onReadYUV8Planes(const SkISize sizes[3], void* const planes[3], + const size_t rowBytes[3], SkYUVColorSpace colorSpace) const override; + bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint) const override; |