Home
last modified time | relevance | path

Searched refs:SkKTXFile (Results 1 – 4 of 4) sorted by relevance

/external/skia/third_party/ktx/
Dktx.cpp69 bool SkKTXFile::KeyValue::readKeyAndValue(const uint8_t* data) { in readKeyAndValue()
101 bool SkKTXFile::KeyValue::writeKeyAndValueForKTX(SkWStream* strm) { in writeKeyAndValueForKTX()
137 uint32_t SkKTXFile::readInt(const uint8_t** buf, size_t* bytesLeft) const { in readInt()
159 SkString SkKTXFile::getValueForKey(const SkString& key) const { in getValueForKey()
170 bool SkKTXFile::isCompressedFormat(SkTextureCompressor::Format fmt) const { in isCompressedFormat()
185 bool SkKTXFile::isRGBA8() const { in isRGBA8()
189 bool SkKTXFile::isRGB8() const { in isRGB8()
193 bool SkKTXFile::readKTXFile(const uint8_t* data, size_t dataLen) { in readKTXFile()
340 bool SkKTXFile::is_ktx(const uint8_t *data) { in is_ktx()
344 bool SkKTXFile::is_ktx(SkStreamRewindable* stream) { in is_ktx()
[all …]
Dktx.h33 class SkKTXFile {
38 SkKTXFile(SkData* data) in SkKTXFile() function
/external/skia/src/images/
DSkImageDecoder_ktx.cpp57 SkKTXFile ktxFile(data); in onDecode()
275 if (SkKTXFile::is_ktx(bytes)) { in onEncode()
283 return SkKTXFile::WriteBitmapToKTX(stream, bitmap); in onEncode()
302 return SkKTXFile::WriteETC1ToKTX(stream, bytes, width, height); in encodePKM()
311 if (SkKTXFile::is_ktx(stream)) { in sk_libktx_dfactory()
318 if (SkKTXFile::is_ktx(stream)) { in get_format_ktx()
/external/skia/src/gpu/
DSkGr.cpp280 } else if (SkKTXFile::is_ktx(bytes)) { in load_etc1_texture()
281 SkKTXFile ktx(data); in load_etc1_texture()