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

Side by Side Diff: src/utils/SkTextureCompressor.cpp

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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
« no previous file with comments | « src/ports/SkTypeface_win_dw.h ('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 #include "SkTextureCompressor.h" 8 #include "SkTextureCompressor.h"
9 #include "SkTextureCompressor_ASTC.h" 9 #include "SkTextureCompressor_ASTC.h"
10 #include "SkTextureCompressor_LATC.h" 10 #include "SkTextureCompressor_LATC.h"
11 #include "SkTextureCompressor_R11EAC.h" 11 #include "SkTextureCompressor_R11EAC.h"
12 12
13 #include "SkBitmap.h" 13 #include "SkBitmap.h"
14 #include "SkBitmapProcShader.h" 14 #include "SkBitmapProcShader.h"
15 #include "SkData.h" 15 #include "SkData.h"
16 #include "SkEndian.h" 16 #include "SkEndian.h"
17 #include "SkMathPriv.h"
17 #include "SkOpts.h" 18 #include "SkOpts.h"
18 19
19 #ifndef SK_IGNORE_ETC1_SUPPORT 20 #ifndef SK_IGNORE_ETC1_SUPPORT
20 # include "etc1.h" 21 # include "etc1.h"
21 #endif 22 #endif
22 23
23 // Convert ETC1 functions to our function signatures 24 // Convert ETC1 functions to our function signatures
24 static bool compress_etc1_565(uint8_t* dst, const uint8_t* src, 25 static bool compress_etc1_565(uint8_t* dst, const uint8_t* src,
25 int width, int height, size_t rowBytes) { 26 int width, int height, size_t rowBytes) {
26 #ifndef SK_IGNORE_ETC1_SUPPORT 27 #ifndef SK_IGNORE_ETC1_SUPPORT
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 223
223 default: 224 default:
224 // Do nothing... 225 // Do nothing...
225 break; 226 break;
226 } 227 }
227 228
228 return false; 229 return false;
229 } 230 }
230 231
231 } // namespace SkTextureCompressor 232 } // namespace SkTextureCompressor
OLDNEW
« no previous file with comments | « src/ports/SkTypeface_win_dw.h ('k') | src/utils/SkTextureCompressor_ASTC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698