| 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 "SkBitmap.h" | 8 #include "SkBitmap.h" |
| 9 #include "SkGrPriv.h" |
| 9 #include "SkRect.h" | 10 #include "SkRect.h" |
| 10 #include "SkTemplates.h" | 11 #include "SkTemplates.h" |
| 11 #include "Test.h" | 12 #include "Test.h" |
| 12 | 13 |
| 13 static const char* boolStr(bool value) { | 14 static const char* boolStr(bool value) { |
| 14 return value ? "true" : "false"; | 15 return value ? "true" : "false"; |
| 15 } | 16 } |
| 16 | 17 |
| 17 // these are in the same order as the SkColorType enum | 18 // these are in the same order as the SkColorType enum |
| 18 static const char* gColorTypeName[] = { | 19 static const char* gColorTypeName[] = { |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 } | 711 } |
| 711 } | 712 } |
| 712 dstBmpPixels += dstBmp.rowBytes(); | 713 dstBmpPixels += dstBmp.rowBytes(); |
| 713 } | 714 } |
| 714 } | 715 } |
| 715 } | 716 } |
| 716 } | 717 } |
| 717 } | 718 } |
| 718 | 719 |
| 719 #endif | 720 #endif |
| OLD | NEW |