Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc. | 2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 4 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
| 5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. | 5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 78 #define WTF_OS_POSIX 1 | 78 #define WTF_OS_POSIX 1 |
| 79 #endif | 79 #endif |
| 80 | 80 |
| 81 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is set . */ | 81 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is set . */ |
| 82 #if !OS(WIN) && !OS(POSIX) | 82 #if !OS(WIN) && !OS(POSIX) |
| 83 #error Either OS(WIN) or OS(POSIX) needs to be set. | 83 #error Either OS(WIN) or OS(POSIX) needs to be set. |
| 84 #endif | 84 #endif |
| 85 | 85 |
| 86 /* Operating environments */ | 86 /* Operating environments */ |
| 87 | 87 |
| 88 #if OS(ANDROID) | 88 #if !OS(ANDROID) |
| 89 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1 | |
|
Noel Gordon
2015/03/21 05:49:26
Seems unrelated to JPEG. Can I assume this interp
Olle Liljenzin
2015/03/23 08:43:30
Looks like I removed one line too much by mistake.
| |
| 90 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1 | |
| 91 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1 | |
| 92 #else | |
| 93 #define WTF_USE_ICCJPEG 1 | 89 #define WTF_USE_ICCJPEG 1 |
| 94 #define WTF_USE_QCMSLIB 1 | 90 #define WTF_USE_QCMSLIB 1 |
| 95 #endif | 91 #endif |
| 96 | 92 |
| 97 #if OS(MACOSX) | 93 #if OS(MACOSX) |
| 98 #define WTF_USE_CF 1 | 94 #define WTF_USE_CF 1 |
| 99 #endif /* OS(MACOSX) */ | 95 #endif /* OS(MACOSX) */ |
| 100 | 96 |
| 101 #if OS(POSIX) | 97 #if OS(POSIX) |
| 102 #define HAVE_SIGNAL_H 1 | 98 #define HAVE_SIGNAL_H 1 |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 130 #ifdef __cplusplus | 126 #ifdef __cplusplus |
| 131 | 127 |
| 132 // These undefs match up with defines in build/mac/Prefix.h for Mac OS X. | 128 // These undefs match up with defines in build/mac/Prefix.h for Mac OS X. |
| 133 // Helps us catch if anyone uses new or delete by accident in code and doesn't i nclude "config.h". | 129 // Helps us catch if anyone uses new or delete by accident in code and doesn't i nclude "config.h". |
| 134 #undef new | 130 #undef new |
| 135 #undef delete | 131 #undef delete |
| 136 #include <ciso646> | 132 #include <ciso646> |
| 137 #include <cstddef> | 133 #include <cstddef> |
| 138 | 134 |
| 139 #endif | 135 #endif |
| OLD | NEW |