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

Side by Side Diff: gm/downsamplebitmap.cpp

Issue 1828433004: Revert of Delete SkImageDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@fix-animator
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 | « cmake/CMakeLists.txt ('k') | gm/etc1bitmap.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 2013 Google Inc. 2 * Copyright 2013 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"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 176 }
177 fSize = fBM.height(); 177 fSize = fBM.height();
178 } 178 }
179 private: 179 private:
180 typedef DownsampleBitmapGM INHERITED; 180 typedef DownsampleBitmapGM INHERITED;
181 }; 181 };
182 182
183 DEF_GM( return new DownsampleBitmapTextGM(72, kHigh_SkFilterQuality); ) 183 DEF_GM( return new DownsampleBitmapTextGM(72, kHigh_SkFilterQuality); )
184 DEF_GM( return new DownsampleBitmapCheckerboardGM(512,256, kHigh_SkFilterQuality ); ) 184 DEF_GM( return new DownsampleBitmapCheckerboardGM(512,256, kHigh_SkFilterQuality ); )
185 DEF_GM( return new DownsampleBitmapImageGM("mandrill_512.png", kHigh_SkFilterQua lity); ) 185 DEF_GM( return new DownsampleBitmapImageGM("mandrill_512.png", kHigh_SkFilterQua lity); )
186 DEF_GM( return new DownsampleBitmapImageGM("mandrill_132x132_12x12.astc",
187 kHigh_SkFilterQuality); )
186 188
187 DEF_GM( return new DownsampleBitmapTextGM(72, kMedium_SkFilterQuality); ) 189 DEF_GM( return new DownsampleBitmapTextGM(72, kMedium_SkFilterQuality); )
188 DEF_GM( return new DownsampleBitmapCheckerboardGM(512,256, kMedium_SkFilterQuali ty); ) 190 DEF_GM( return new DownsampleBitmapCheckerboardGM(512,256, kMedium_SkFilterQuali ty); )
189 DEF_GM( return new DownsampleBitmapImageGM("mandrill_512.png", kMedium_SkFilterQ uality); ) 191 DEF_GM( return new DownsampleBitmapImageGM("mandrill_512.png", kMedium_SkFilterQ uality); )
192 DEF_GM( return new DownsampleBitmapImageGM("mandrill_132x132_12x12.astc",
193 kMedium_SkFilterQuality); )
190 194
191 DEF_GM( return new DownsampleBitmapTextGM(72, kLow_SkFilterQuality); ) 195 DEF_GM( return new DownsampleBitmapTextGM(72, kLow_SkFilterQuality); )
192 DEF_GM( return new DownsampleBitmapCheckerboardGM(512,256, kLow_SkFilterQuality) ; ) 196 DEF_GM( return new DownsampleBitmapCheckerboardGM(512,256, kLow_SkFilterQuality) ; )
193 DEF_GM( return new DownsampleBitmapImageGM("mandrill_512.png", kLow_SkFilterQual ity); ) 197 DEF_GM( return new DownsampleBitmapImageGM("mandrill_512.png", kLow_SkFilterQual ity); )
198 DEF_GM( return new DownsampleBitmapImageGM("mandrill_132x132_12x12.astc",
199 kLow_SkFilterQuality); )
194 200
195 DEF_GM( return new DownsampleBitmapTextGM(72, kNone_SkFilterQuality); ) 201 DEF_GM( return new DownsampleBitmapTextGM(72, kNone_SkFilterQuality); )
196 DEF_GM( return new DownsampleBitmapCheckerboardGM(512,256, kNone_SkFilterQuality ); ) 202 DEF_GM( return new DownsampleBitmapCheckerboardGM(512,256, kNone_SkFilterQuality ); )
197 DEF_GM( return new DownsampleBitmapImageGM("mandrill_512.png", kNone_SkFilterQua lity); ) 203 DEF_GM( return new DownsampleBitmapImageGM("mandrill_512.png", kNone_SkFilterQua lity); )
204 DEF_GM( return new DownsampleBitmapImageGM("mandrill_132x132_12x12.astc",
205 kNone_SkFilterQuality); )
OLDNEW
« no previous file with comments | « cmake/CMakeLists.txt ('k') | gm/etc1bitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698