| OLD | NEW |
| 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 Loading... |
| 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); ) |
| OLD | NEW |