Home | History | Annotate | Download | only in gpu
      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 GrTexture;
     15 
     16 bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize[3], void* const planes[3],
     17                           const size_t rowBytes[3], SkYUVColorSpace);
     18 
     19 #endif
     20