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 "SkTypes.h" | 8 #include "SkTypes.h" |
9 | 9 |
10 #if defined(SK_BUILD_FOR_WIN) | 10 #if defined(SK_BUILD_FOR_WIN) |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 * Takes ownership of the imagingFactory | 49 * Takes ownership of the imagingFactory |
50 * Takes ownership of the imageSource | 50 * Takes ownership of the imageSource |
51 * Refs the data | 51 * Refs the data |
52 */ | 52 */ |
53 SkImageGeneratorWIC(const SkImageInfo& info, IWICImagingFactory* imagingFact
ory, | 53 SkImageGeneratorWIC(const SkImageInfo& info, IWICImagingFactory* imagingFact
ory, |
54 IWICBitmapSource* imageSource, SkData* data); | 54 IWICBitmapSource* imageSource, SkData* data); |
55 | 55 |
56 SkTScopedComPtr<IWICImagingFactory> fImagingFactory; | 56 SkTScopedComPtr<IWICImagingFactory> fImagingFactory; |
57 SkTScopedComPtr<IWICBitmapSource> fImageSource; | 57 SkTScopedComPtr<IWICBitmapSource> fImageSource; |
58 SkAutoTUnref<SkData> fData; | 58 SkAutoTUnref<SkData> fData; |
59 | 59 |
60 typedef SkImageGenerator INHERITED; | 60 typedef SkImageGenerator INHERITED; |
61 }; | 61 }; |
62 | 62 |
63 #endif // SK_BUILD_FOR_WIN | 63 #endif // SK_BUILD_FOR_WIN |
OLD | NEW |