Chromium Code Reviews| Index: include/core/SkImage.h |
| diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
| index 62a9e9cf426bc132ded0e4fad45aa76306361b0f..32f533e4b2bdf32d9ba0b52a918ef805e9469b58 100644 |
| --- a/include/core/SkImage.h |
| +++ b/include/core/SkImage.h |
| @@ -154,6 +154,9 @@ public: |
| uint32_t uniqueID() const { return fUniqueID; } |
| virtual bool isOpaque() const { return false; } |
| + bool asYUV8Planes(const SkISize[3], void* const planes[3], const size_t rowBytes[3], |
|
reed1
2016/01/26 16:06:45
Is this intended to always succeed, even if the un
bsalomon
2016/01/26 16:32:50
Yes, it is for turning a SkImage into a video fram
|
| + SkYUVColorSpace); |
| + |
| virtual SkShader* newShader(SkShader::TileMode, |
| SkShader::TileMode, |
| const SkMatrix* localMatrix = NULL) const; |