Index: src/gpu/GrTextureToYUVPlanes.h |
diff --git a/src/gpu/GrTextureToYUVPlanes.h b/src/gpu/GrTextureToYUVPlanes.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7907eb8681c5936df8b25a46286d1cc97286d6ce |
--- /dev/null |
+++ b/src/gpu/GrTextureToYUVPlanes.h |
@@ -0,0 +1,20 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef GrTextureToYUVPlanes_DEFINED |
+#define GrTextureToYUVPlanes_DEFINED |
+ |
+#include "SkImageInfo.h" |
+#include "SkSize.h" |
+ |
+class GrTexture; |
+ |
+ |
+bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize[3], void* const planes[3], |
+ const size_t rowBytes[3], SkYUVColorSpace); |
+ |
+#endif |