* Copyright 2020 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrBackendUtils_DEFINED
#define GrBackendUtils_DEFINED
class GrBackendFormat;
enum class SkTextureCompressionType;
#include <cstddef>
SkTextureCompressionType GrBackendFormatToCompressionType(const GrBackendFormat& format);
size_t GrBackendFormatBytesPerBlock(const GrBackendFormat& format);
size_t GrBackendFormatBytesPerPixel(const GrBackendFormat& format);
int GrBackendFormatStencilBits(const GrBackendFormat& format);
#endif