Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Side by Side Diff: src/opts/SkTextureCompression_opts.h

Issue 422023006: Add query for block dimensions of a given format (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Turn off compression Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698