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

Side by Side Diff: gm/etc1bitmap.cpp

Issue 1791583002: Remove uses of SkImageDecoder from gms (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « gm/downsamplebitmap.cpp ('k') | gm/factory.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 "gm.h" 8 #include "gm.h"
9 9
10 #include "Resources.h" 10 #include "Resources.h"
11 #include "SkCanvas.h" 11 #include "SkCanvas.h"
12 #include "SkData.h" 12 #include "SkData.h"
13 #include "SkImage.h"
13 #include "SkImageGenerator.h" 14 #include "SkImageGenerator.h"
14 #include "SkImageDecoder.h"
15 #include "SkOSFile.h" 15 #include "SkOSFile.h"
16 #include "SkTemplates.h" 16 #include "SkTemplates.h"
17 17
18 #ifndef SK_IGNORE_ETC1_SUPPORT 18 #ifndef SK_IGNORE_ETC1_SUPPORT
19 19
20 #include "etc1.h" 20 #include "etc1.h"
21 21
22 /** 22 /**
23 * Remove the last row and column of ETC1 blocks, effectively 23 * Remove the last row and column of ETC1 blocks, effectively
24 * making a texture that started as power of two into a texture 24 * making a texture that started as power of two into a texture
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 ////////////////////////////////////////////////////////////////////////////// 217 //////////////////////////////////////////////////////////////////////////////
218 218
219 DEF_GM(return new skiagm::ETC1Bitmap_PKM_GM;) 219 DEF_GM(return new skiagm::ETC1Bitmap_PKM_GM;)
220 DEF_GM(return new skiagm::ETC1Bitmap_KTX_GM;) 220 DEF_GM(return new skiagm::ETC1Bitmap_KTX_GM;)
221 DEF_GM(return new skiagm::ETC1Bitmap_R11_KTX_GM;) 221 DEF_GM(return new skiagm::ETC1Bitmap_R11_KTX_GM;)
222 222
223 #ifndef SK_IGNORE_ETC1_SUPPORT 223 #ifndef SK_IGNORE_ETC1_SUPPORT
224 DEF_GM(return new skiagm::ETC1Bitmap_NPOT_GM;) 224 DEF_GM(return new skiagm::ETC1Bitmap_NPOT_GM;)
225 #endif // SK_IGNORE_ETC1_SUPPORT 225 #endif // SK_IGNORE_ETC1_SUPPORT
OLDNEW
« no previous file with comments | « gm/downsamplebitmap.cpp ('k') | gm/factory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698