1 /* 2 * Copyright 2016 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef GrTextureToYUVPlanes_DEFINED 9 #define GrTextureToYUVPlanes_DEFINED 10 11 #include "SkImageInfo.h" 12 #include "SkSize.h" 13 14 class GrContext; 15 class GrTextureProxy; 16 17 bool GrTextureToYUVPlanes(GrContext*, sk_sp<GrTextureProxy>, 18 const SkISize[3], void* const planes[3], 19 const size_t rowBytes[3], SkYUVColorSpace); 20 21 #endif 22