| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 "SkCodec.h" | 9 #include "SkCodec.h" |
| 9 #include "SkData.h" | 10 #include "SkData.h" |
| 10 #include "SkImageInfo.h" | 11 #include "SkImageInfo.h" |
| 11 #include "SkRWBuffer.h" | 12 #include "SkRWBuffer.h" |
| 12 #include "SkString.h" | 13 #include "SkString.h" |
| 13 | 14 |
| 14 #include "Resources.h" | 15 #include "Resources.h" |
| 15 #include "Test.h" | 16 #include "Test.h" |
| 16 | 17 |
| 17 static sk_sp<SkData> make_from_resource(const char* name) { | 18 static sk_sp<SkData> make_from_resource(const char* name) { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 test_partial(r, "plane_interlaced.png"); | 143 test_partial(r, "plane_interlaced.png"); |
| 143 test_partial(r, "yellow_rose.png"); | 144 test_partial(r, "yellow_rose.png"); |
| 144 test_partial(r, "index8.png"); | 145 test_partial(r, "index8.png"); |
| 145 test_partial(r, "color_wheel.png"); | 146 test_partial(r, "color_wheel.png"); |
| 146 test_partial(r, "mandrill_256.png"); | 147 test_partial(r, "mandrill_256.png"); |
| 147 test_partial(r, "mandrill_32.png"); | 148 test_partial(r, "mandrill_32.png"); |
| 148 test_partial(r, "arrow.png"); | 149 test_partial(r, "arrow.png"); |
| 149 test_partial(r, "randPixels.png"); | 150 test_partial(r, "randPixels.png"); |
| 150 test_partial(r, "baby_tux.png"); | 151 test_partial(r, "baby_tux.png"); |
| 151 } | 152 } |
| OLD | NEW |