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 #ifndef SkImageGeneratorPriv_DEFINED | 8 #ifndef SkImageGeneratorPriv_DEFINED |
9 #define SkImageGeneratorPriv_DEFINED | 9 #define SkImageGeneratorPriv_DEFINED |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 * | 26 * |
27 * @param destination Upon success, this bitmap will be | 27 * @param destination Upon success, this bitmap will be |
28 * configured and have a pixelref installed. | 28 * configured and have a pixelref installed. |
29 * | 29 * |
30 * @param factory If not nullptr, this object will be used as a | 30 * @param factory If not nullptr, this object will be used as a |
31 * source of discardable memory when decoding. If nullptr, then | 31 * source of discardable memory when decoding. If nullptr, then |
32 * SkDiscardableMemory::Create() will be called. | 32 * SkDiscardableMemory::Create() will be called. |
33 * | 33 * |
34 * @return true iff successful. | 34 * @return true iff successful. |
35 */ | 35 */ |
36 bool SkInstallDiscardablePixelRef(SkImageGenerator*, const SkIRect* subset, SkBi
tmap* destination, | 36 bool SkDEPRECATED_InstallDiscardablePixelRef(SkImageGenerator*, const SkIRect* s
ubset, |
37 SkDiscardableMemory::Factory* factory); | 37 SkBitmap* destination, |
| 38 SkDiscardableMemory::Factory* facto
ry); |
38 | 39 |
39 #endif | 40 #endif |
OLD | NEW |