OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "Test.h" | 8 #include "Test.h" |
9 #include "TestClassDef.h" | |
10 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
11 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
12 #include "SkColorPriv.h" | 11 #include "SkColorPriv.h" |
13 #include "SkGradientShader.h" | 12 #include "SkGradientShader.h" |
14 #include "SkRect.h" | 13 #include "SkRect.h" |
15 | 14 |
16 // these are in the same order as the SkBitmap::Config enum | 15 // these are in the same order as the SkBitmap::Config enum |
17 static const char* gConfigName[] = { | 16 static const char* gConfigName[] = { |
18 "None", "A8", "Index8", "565", "4444", "8888" | 17 "None", "A8", "Index8", "565", "4444", "8888" |
19 }; | 18 }; |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 } | 257 } |
259 } | 258 } |
260 } | 259 } |
261 } | 260 } |
262 } | 261 } |
263 | 262 |
264 DEF_TEST(BlitRow, reporter) { | 263 DEF_TEST(BlitRow, reporter) { |
265 test_00_FF(reporter); | 264 test_00_FF(reporter); |
266 test_diagonal(reporter); | 265 test_diagonal(reporter); |
267 } | 266 } |
OLD | NEW |