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

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

Issue 373383003: ios fixes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: only build gyp on ios Created 6 years, 5 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 | « gyp/most.gyp ('k') | src/core/SkFloatBits.cpp » ('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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #ifndef SkImageEncoder_DEFINED 8 #ifndef SkImageEncoder_DEFINED
9 #define SkImageEncoder_DEFINED 9 #define SkImageEncoder_DEFINED
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 /** An ARGBImageEncoder will always write out 93 /** An ARGBImageEncoder will always write out
94 * bitmap.width() * bitmap.height() * 4 94 * bitmap.width() * bitmap.height() * 4
95 * bytes. 95 * bytes.
96 */ 96 */
97 DECLARE_ENCODER_CREATOR(ARGBImageEncoder); 97 DECLARE_ENCODER_CREATOR(ARGBImageEncoder);
98 DECLARE_ENCODER_CREATOR(JPEGImageEncoder); 98 DECLARE_ENCODER_CREATOR(JPEGImageEncoder);
99 DECLARE_ENCODER_CREATOR(PNGImageEncoder); 99 DECLARE_ENCODER_CREATOR(PNGImageEncoder);
100 DECLARE_ENCODER_CREATOR(KTXImageEncoder); 100 DECLARE_ENCODER_CREATOR(KTXImageEncoder);
101 DECLARE_ENCODER_CREATOR(WEBPImageEncoder); 101 DECLARE_ENCODER_CREATOR(WEBPImageEncoder);
102 102
103 #ifdef SK_BUILD_FOR_IOS
104 DECLARE_ENCODER_CREATOR(PNGImageEncoder_IOS);
105 #endif
106
103 // Typedef to make registering encoder callback easier 107 // Typedef to make registering encoder callback easier
104 // This has to be defined outside SkImageEncoder. :( 108 // This has to be defined outside SkImageEncoder. :(
105 typedef SkTRegistry<SkImageEncoder*(*)(SkImageEncoder::Type)> SkImageEncoder_Enc odeReg; 109 typedef SkTRegistry<SkImageEncoder*(*)(SkImageEncoder::Type)> SkImageEncoder_Enc odeReg;
106 #endif 110 #endif
OLDNEW
« no previous file with comments | « gyp/most.gyp ('k') | src/core/SkFloatBits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698