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 "Test.h" | 8 #include "Test.h" |
9 | 9 |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 sk_sp<SkSpecialImage> subsetImg(SkSpecialImage::MakeFromGpu(nullptr, subset, | 226 sk_sp<SkSpecialImage> subsetImg(SkSpecialImage::MakeFromGpu(nullptr, subset, |
227 kNeedNewImageUni
queID_SpecialImage, | 227 kNeedNewImageUni
queID_SpecialImage, |
228 srcTexture)); | 228 srcTexture)); |
229 | 229 |
230 test_find_existing(reporter, fullImg, subsetImg); | 230 test_find_existing(reporter, fullImg, subsetImg); |
231 test_dont_find_if_diff_key(reporter, fullImg, subsetImg); | 231 test_dont_find_if_diff_key(reporter, fullImg, subsetImg); |
232 test_internal_purge(reporter, fullImg); | 232 test_internal_purge(reporter, fullImg); |
233 test_explicit_purging(reporter, fullImg, subsetImg); | 233 test_explicit_purging(reporter, fullImg, subsetImg); |
234 } | 234 } |
235 #endif | 235 #endif |
236 | |
OLD | NEW |