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

Side by Side Diff: src/utils/SkTextureCompressor_ASTC.h

Issue 800993002: Even more win64 warning fixes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more Created 6 years 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
« no previous file with comments | « src/utils/SkTextureCompressor.cpp ('k') | src/utils/SkTextureCompressor_ASTC.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
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 SkTextureCompressor_ASTC_DEFINED 8 #ifndef SkTextureCompressor_ASTC_DEFINED
9 #define SkTextureCompressor_ASTC_DEFINED 9 #define SkTextureCompressor_ASTC_DEFINED
10 10
11 #include "SkBitmapProcShader.h" 11 #include "SkBitmapProcShader.h"
12 12
13 class SkBlitter; 13 class SkBlitter;
14 14
15 namespace SkTextureCompressor { 15 namespace SkTextureCompressor {
16 16
17 bool CompressA8To12x12ASTC(uint8_t* dst, const uint8_t* src, 17 bool CompressA8To12x12ASTC(uint8_t* dst, const uint8_t* src,
18 int width, int height, int rowBytes); 18 int width, int height, size_t rowBytes);
19 19
20 SkBlitter* CreateASTCBlitter(int width, int height, void* outputBuffer, 20 SkBlitter* CreateASTCBlitter(int width, int height, void* outputBuffer,
21 SkTBlitterAllocator *allocator); 21 SkTBlitterAllocator *allocator);
22 22
23 void DecompressASTC(uint8_t* dst, int dstRowBytes, const uint8_t* src, 23 void DecompressASTC(uint8_t* dst, int dstRowBytes, const uint8_t* src,
24 int width, int height, int blockDimX, int blockDimY); 24 int width, int height, int blockDimX, int blockDimY);
25 } 25 }
26 26
27 #endif // SkTextureCompressor_ASTC_DEFINED 27 #endif // SkTextureCompressor_ASTC_DEFINED
OLDNEW
« no previous file with comments | « src/utils/SkTextureCompressor.cpp ('k') | src/utils/SkTextureCompressor_ASTC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698