OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
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 | 8 |
9 | 9 |
10 #ifndef SkUserConfig_DEFINED | 10 #ifndef SkUserConfig_DEFINED |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 /* Skia uses these defines as the target of include preprocessor directives. | 171 /* Skia uses these defines as the target of include preprocessor directives. |
172 * The header files pointed to by these defines provide declarations and | 172 * The header files pointed to by these defines provide declarations and |
173 * possibly inline implementations of threading primitives. | 173 * possibly inline implementations of threading primitives. |
174 * | 174 * |
175 * See SkThread.h for documentation on what these includes must contain. | 175 * See SkThread.h for documentation on what these includes must contain. |
176 */ | 176 */ |
177 //#define SK_ATOMICS_PLATFORM_H "SkAtomics_xxx.h" | 177 //#define SK_ATOMICS_PLATFORM_H "SkAtomics_xxx.h" |
178 //#define SK_MUTEX_PLATFORM_H "SkMutex_xxx.h" | 178 //#define SK_MUTEX_PLATFORM_H "SkMutex_xxx.h" |
179 //#define SK_BARRIERS_PLATFORM_H "SkBarriers_xxx.h" | 179 //#define SK_BARRIERS_PLATFORM_H "SkBarriers_xxx.h" |
180 | 180 |
| 181 /* |
| 182 * This flags determines what to do if a decoder atttempts to decode an |
| 183 * incomplete stream. If defined, the decoder will return an image with that |
| 184 * shows all the pixels available in the stream if the decoder is capable of |
| 185 * partial decoding. Otherwise the decoder will report failure. |
| 186 * NOTE: Currently only applies to JPEG and GIF. |
| 187 * TODO: Perhaps this should be a runtime option in a future version of |
| 188 * SkImageDecoder. |
| 189 */ |
| 190 //#define SK_DECODE_PARTIAL_IMAGES |
181 #endif | 191 #endif |
OLD | NEW |