Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: include/core/SkImageEncoder.h

Issue 1820503002: Delete SkImageDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@fix-animator
Patch Set: Include SkImage Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/core/SkImageDecoder.h ('k') | include/core/SkPicture.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef SkImageEncoder_DEFINED 8 #ifndef SkImageEncoder_DEFINED
9 #define SkImageEncoder_DEFINED 9 #define SkImageEncoder_DEFINED
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 /** An ARGBImageEncoder will always write out 103 /** An ARGBImageEncoder will always write out
104 * bitmap.width() * bitmap.height() * 4 104 * bitmap.width() * bitmap.height() * 4
105 * bytes. 105 * bytes.
106 */ 106 */
107 DECLARE_ENCODER_CREATOR(ARGBImageEncoder); 107 DECLARE_ENCODER_CREATOR(ARGBImageEncoder);
108 DECLARE_ENCODER_CREATOR(JPEGImageEncoder); 108 DECLARE_ENCODER_CREATOR(JPEGImageEncoder);
109 DECLARE_ENCODER_CREATOR(PNGImageEncoder); 109 DECLARE_ENCODER_CREATOR(PNGImageEncoder);
110 DECLARE_ENCODER_CREATOR(KTXImageEncoder); 110 DECLARE_ENCODER_CREATOR(KTXImageEncoder);
111 DECLARE_ENCODER_CREATOR(WEBPImageEncoder); 111 DECLARE_ENCODER_CREATOR(WEBPImageEncoder);
112 112
113 #ifdef SK_BUILD_FOR_IOS 113 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
114 DECLARE_ENCODER_CREATOR(PNGImageEncoder_IOS); 114 DECLARE_ENCODER_CREATOR(PNGImageEncoder_CG);
115 #endif
116
117 #if defined(SK_BUILD_FOR_WIN)
118 DECLARE_ENCODER_CREATOR(ImageEncoder_WIC);
115 #endif 119 #endif
116 120
117 // Typedef to make registering encoder callback easier 121 // Typedef to make registering encoder callback easier
118 // This has to be defined outside SkImageEncoder. :( 122 // This has to be defined outside SkImageEncoder. :(
119 typedef SkTRegistry<SkImageEncoder*(*)(SkImageEncoder::Type)> SkImageEncoder_Enc odeReg; 123 typedef SkTRegistry<SkImageEncoder*(*)(SkImageEncoder::Type)> SkImageEncoder_Enc odeReg;
120 #endif 124 #endif
OLDNEW
« no previous file with comments | « include/core/SkImageDecoder.h ('k') | include/core/SkPicture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698