Flutter Engine
The Flutter Engine
Namespaces | Functions
DataUtils.h File Reference
#include "include/core/SkColor.h"
#include "include/core/SkSize.h"
#include <cstddef>

Go to the source code of this file.

Namespaces

namespace  skgpu
 

Functions

size_t skgpu::NumCompressedBlocks (SkTextureCompressionType type, SkISize baseDimensions)
 
size_t skgpu::CompressedRowBytes (SkTextureCompressionType type, int width)
 
SkISize skgpu::CompressedDimensions (SkTextureCompressionType type, SkISize baseDimensions)
 
SkISize skgpu::CompressedDimensionsInBlocks (SkTextureCompressionType type, SkISize baseDimensions)
 
void skgpu::FillInCompressedData (SkTextureCompressionType type, SkISize dimensions, skgpu::Mipmapped mipmapped, char *dstPixels, const SkColor4f &colorf)