8#ifndef GrDataUtils_DEFINED
9#define GrDataUtils_DEFINED
27 size_t bytesPerPixel,
SkISize baseDimensions,
35#if defined(GR_TEST_UTILS)
42void GrTwoColorBC1Compress(
const SkPixmap& pixmap,
SkColor otherColor,
char* dstPixels);
size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, SkISize baseDimensions, skia_private::TArray< size_t > *individualMipOffsets, int mipLevelCount)
bool GrConvertPixels(const GrPixmap &dst, const GrCPixmap &src, bool flipY=false)
bool GrClearImage(const GrImageInfo &dstInfo, void *dst, size_t dstRB, std::array< float, 4 > color)