OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright 2014 | 2 * Copyright 2014 |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkTextureCompression_opts_DEFINED | 8 #ifndef SkTextureCompression_opts_DEFINED |
9 #define SkTextureCompression_opts_DEFINED | 9 #define SkTextureCompression_opts_DEFINED |
10 | 10 |
11 #include "SkTextureCompressor.h" | 11 #include "SkTextureCompressor.h" |
12 #include "SkImageInfo.h" | 12 #include "SkImageInfo.h" |
13 | 13 |
14 SkTextureCompressor::CompressionProc | 14 SkTextureCompressor::CompressionProc |
15 SkTextureCompressorGetPlatformProc(SkColorType colorType, SkTextureCompressor::F ormat fmt); | 15 SkTextureCompressorGetPlatformProc(SkColorType colorType, SkTextureCompressor::F ormat fmt); |
16 | 16 |
17 // Returns true if dimX and dimY are set. Returns false otherwise. | |
robertphillips
2014/07/29 16:16:04
set _to be the block size of the provided compress
krajcevski
2014/07/29 17:49:51
Done.
| |
18 bool SkTextureCompressorGetPlatformDims(SkTextureCompressor::Format fmt, int *di mX, int* dimY); | |
19 | |
17 #endif // SkTextureCompression_opts_DEFINED | 20 #endif // SkTextureCompression_opts_DEFINED |
OLD | NEW |