Searched refs:SkTextureCompressor (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/skia/src/opts/
H A DSkTextureCompression_opts.h11 #include "SkTextureCompressor.h"
14 SkTextureCompressor::CompressionProc
15 SkTextureCompressorGetPlatformProc(SkColorType colorType, SkTextureCompressor::Format fmt);
19 bool SkTextureCompressorGetPlatformDims(SkTextureCompressor::Format fmt, int* dimX, int* dimY);
H A DSkTextureCompression_opts_none.cpp10 SkTextureCompressor::CompressionProc
11 SkTextureCompressorGetPlatformProc(SkColorType colorType, SkTextureCompressor::Format fmt) {
15 bool SkTextureCompressorGetPlatformDims(SkTextureCompressor::Format fmt, int* dimX, int* dimY) {
H A DSkTextureCompression_opts_arm.cpp12 SkTextureCompressor::CompressionProc
13 SkTextureCompressorGetPlatformProc(SkColorType colorType, SkTextureCompressor::Format fmt) {
26 case SkTextureCompressor::kR11_EAC_Format:
40 bool SkTextureCompressorGetPlatformDims(SkTextureCompressor::Format fmt, int* dimX, int* dimY) {
50 case SkTextureCompressor::kR11_EAC_Format:
H A DSkTextureCompression_opts_neon.cpp8 #include "SkTextureCompressor.h"
18 // A more detailed explanation can be found in SkTextureCompressor::convert_indices
217 return SkTextureCompressor::CompressBufferToFormat(
221 SkTextureCompressor::kR11_EAC_Format, false);
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_astc.cpp16 #include "SkTextureCompressor.h"
70 SkTextureCompressor::Format astcFormat;
72 astcFormat = SkTextureCompressor::kASTC_4x4_Format;
74 astcFormat = SkTextureCompressor::kASTC_5x4_Format;
76 astcFormat = SkTextureCompressor::kASTC_5x5_Format;
78 astcFormat = SkTextureCompressor::kASTC_6x5_Format;
80 astcFormat = SkTextureCompressor::kASTC_6x6_Format;
82 astcFormat = SkTextureCompressor::kASTC_8x5_Format;
84 astcFormat = SkTextureCompressor::kASTC_8x6_Format;
86 astcFormat = SkTextureCompressor
[all...]
H A DSkImageDecoder_ktx.cpp97 SkTextureCompressor::Format ktxCompressedFormat;
98 for (int i = 0; i < SkTextureCompressor::kFormatCnt; ++i) {
99 SkTextureCompressor::Format fmt = static_cast<SkTextureCompressor::Format>(i);
109 ((SkTextureCompressor::kLATC_Format == ktxCompressedFormat) ||
110 (SkTextureCompressor::kR11_EAC_Format == ktxCompressedFormat));
147 if (!SkTextureCompressor::DecompressBufferFromFormat(
164 } else if (ktxFile.isCompressedFormat(SkTextureCompressor::kETC1_Format)) {
176 if (!SkTextureCompressor::DecompressBufferFromFormat(
177 outRGBDataPtr, width*3, buf, width, height, SkTextureCompressor
[all...]
H A DSkImageDecoder_pkm.cpp13 #include "SkTextureCompressor.h"
87 if (!SkTextureCompressor::DecompressBufferFromFormat(
88 outRGBDataPtr, width*3, buf, width, height, SkTextureCompressor::kETC1_Format)) {
/external/chromium_org/third_party/skia/tests/
H A DTextureCompressionTest.cpp12 #include "SkTextureCompressor.h"
18 static bool decompresses_a8(SkTextureCompressor::Format fmt) {
20 case SkTextureCompressor::kLATC_Format:
21 case SkTextureCompressor::kR11_EAC_Format:
29 static bool compresses_a8(SkTextureCompressor::Format fmt) {
31 case SkTextureCompressor::kLATC_Format:
32 case SkTextureCompressor::kR11_EAC_Format:
33 case SkTextureCompressor::kASTC_12x12_Format:
64 for (int i = 0; i < SkTextureCompressor::kFormatCnt; ++i) {
65 const SkTextureCompressor
[all...]
/external/skia/tests/
H A DTextureCompressionTest.cpp12 #include "SkTextureCompressor.h"
36 const SkTextureCompressor::Format kLATCFormat = SkTextureCompressor::kLATC_Format;
37 SkAutoDataUnref latcData(SkTextureCompressor::CompressBitmapToFormat(bitmap, kLATCFormat));
60 const SkTextureCompressor::Format kLATCFormat = SkTextureCompressor::kLATC_Format;
61 SkAutoDataUnref latcData(SkTextureCompressor::CompressBitmapToFormat(bitmap, kLATCFormat));
96 const SkTextureCompressor::Format kLATCFormat = SkTextureCompressor::kLATC_Format;
98 SkTextureCompressor
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkTextureCompressor_ASTC.h15 namespace SkTextureCompressor { namespace
H A DSkTextureCompressor_LATC.h15 namespace SkTextureCompressor { namespace
H A DSkTextureCompressor_R11EAC.h15 namespace SkTextureCompressor { namespace
H A DSkTextureCompressor.h18 namespace SkTextureCompressor { namespace
H A DSkTextureCompressor.cpp8 #include "SkTextureCompressor.h"
36 namespace SkTextureCompressor { namespace
262 } // namespace SkTextureCompressor
H A DSkTextureCompressor_LATC.cpp472 namespace SkTextureCompressor { namespace
518 } // SkTextureCompressor
H A DSkTextureCompressor_R11EAC.cpp8 #include "SkTextureCompressor.h"
619 namespace SkTextureCompressor {
669 } // namespace SkTextureCompressor
H A DSkTextureCompressor_Blitter.h14 namespace SkTextureCompressor { namespace
730 } // namespace SkTextureCompressor
/external/skia/src/utils/
H A DSkTextureCompressor.h16 namespace SkTextureCompressor { namespace
H A DSkTextureCompressor.cpp8 #include "SkTextureCompressor.h"
280 namespace SkTextureCompressor { namespace
335 } // namespace SkTextureCompressor
/external/chromium_org/third_party/skia/third_party/ktx/
H A Dktx.cpp19 static inline uint32_t compressed_fmt_to_gl_define(SkTextureCompressor::Format fmt) {
20 static const uint32_t kGLDefineMap[SkTextureCompressor::kFormatCnt] = {
40 GR_STATIC_ASSERT(0 == SkTextureCompressor::kLATC_Format);
41 GR_STATIC_ASSERT(1 == SkTextureCompressor::kR11_EAC_Format);
42 GR_STATIC_ASSERT(2 == SkTextureCompressor::kETC1_Format);
43 GR_STATIC_ASSERT(3 == SkTextureCompressor::kASTC_4x4_Format);
44 GR_STATIC_ASSERT(4 == SkTextureCompressor::kASTC_5x4_Format);
45 GR_STATIC_ASSERT(5 == SkTextureCompressor::kASTC_5x5_Format);
46 GR_STATIC_ASSERT(6 == SkTextureCompressor::kASTC_6x5_Format);
47 GR_STATIC_ASSERT(7 == SkTextureCompressor
[all...]
H A Dktx.h14 #include "SkTextureCompressor.h"
62 bool isCompressedFormat(SkTextureCompressor::Format fmt) const;
/external/chromium_org/third_party/skia/src/gpu/
H A DGrSWMaskHelper.cpp39 static inline GrPixelConfig fmt_to_config(SkTextureCompressor::Format fmt) {
43 case SkTextureCompressor::kLATC_Format:
47 case SkTextureCompressor::kR11_EAC_Format:
51 case SkTextureCompressor::kASTC_12x12_Format:
55 case SkTextureCompressor::kETC1_Format:
70 SkTextureCompressor::Format *fmt) {
85 *fmt = SkTextureCompressor::kASTC_12x12_Format;
88 *fmt = SkTextureCompressor::kLATC_Format;
91 *fmt = SkTextureCompressor::kR11_EAC_Format;
146 blitter = SkTextureCompressor
[all...]
H A DGrSWMaskHelper.h18 #include "SkTextureCompressor.h"
122 SkTextureCompressor::Format fCompressedFormat;
H A DSkGr.cpp14 #include "SkTextureCompressor.h"
201 if (!ktx.isCompressedFormat(SkTextureCompressor::kETC1_Format)) {
/external/skia/src/gpu/
H A DGrSWMaskHelper.cpp16 #include "SkTextureCompressor.h"
172 SkTextureCompressor::Format format = SkTextureCompressor::kLATC_Format;
173 SkAutoDataUnref latcData(SkTextureCompressor::CompressBitmapToFormat(fBM, format));

Completed in 252 milliseconds

12