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