Flutter Engine
The Flutter Engine
|
#include "include/core/SkRefCnt.h"
#include "include/core/SkTextureCompressionType.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkTArray.h"
#include <cstddef>
Go to the source code of this file.
Functions | |
static constexpr bool | SkTextureCompressionTypeIsOpaque (SkTextureCompressionType compression) |
size_t | SkCompressedDataSize (SkTextureCompressionType, SkISize baseDimensions, skia_private::TArray< size_t > *individualMipOffsets, bool mipmapped) |
size_t | SkCompressedBlockSize (SkTextureCompressionType type) |
size_t | SkCompressedFormatDataSize (SkTextureCompressionType compressionType, SkISize dimensions, bool mipmapped) |
bool | SkDecompress (sk_sp< SkData > data, SkISize dimensions, SkTextureCompressionType compressionType, SkBitmap *dst) |
size_t SkCompressedBlockSize | ( | SkTextureCompressionType | type | ) |
Definition at line 290 of file SkCompressedDataUtils.cpp.
size_t SkCompressedDataSize | ( | SkTextureCompressionType | type, |
SkISize | baseDimensions, | ||
skia_private::TArray< size_t > * | individualMipOffsets, | ||
bool | mipmapped | ||
) |
Definition at line 254 of file SkCompressedDataUtils.cpp.
size_t SkCompressedFormatDataSize | ( | SkTextureCompressionType | compressionType, |
SkISize | dimensions, | ||
bool | mipmapped | ||
) |
Returns the data size for the given SkTextureCompressionType
Definition at line 303 of file SkCompressedDataUtils.cpp.
bool SkDecompress | ( | sk_sp< SkData > | data, |
SkISize | dimensions, | ||
SkTextureCompressionType | compressionType, | ||
SkBitmap * | dst | ||
) |
Definition at line 237 of file SkCompressedDataUtils.cpp.
|
staticconstexpr |
Definition at line 22 of file SkCompressedDataUtils.h.