Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 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 SkPostConfig_DEFINED | 8 #ifndef SkPostConfig_DEFINED |
| 9 #define SkPostConfig_DEFINED | 9 #define SkPostConfig_DEFINED |
| 10 | 10 |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 366 #if defined(SK_GAMMA_EXPONENT) && defined(SK_GAMMA_SRGB) | 366 #if defined(SK_GAMMA_EXPONENT) && defined(SK_GAMMA_SRGB) |
| 367 # error "cannot define both SK_GAMMA_EXPONENT and SK_GAMMA_SRGB" | 367 # error "cannot define both SK_GAMMA_EXPONENT and SK_GAMMA_SRGB" |
| 368 #elif defined(SK_GAMMA_SRGB) | 368 #elif defined(SK_GAMMA_SRGB) |
| 369 # define SK_GAMMA_EXPONENT (0.0f) | 369 # define SK_GAMMA_EXPONENT (0.0f) |
| 370 #elif !defined(SK_GAMMA_EXPONENT) | 370 #elif !defined(SK_GAMMA_EXPONENT) |
| 371 # define SK_GAMMA_EXPONENT (2.2f) | 371 # define SK_GAMMA_EXPONENT (2.2f) |
| 372 #endif | 372 #endif |
| 373 | 373 |
| 374 ////////////////////////////////////////////////////////////////////// | 374 ////////////////////////////////////////////////////////////////////// |
| 375 | 375 |
| 376 #ifndef GR_TEST_UTILS | 376 #ifndef GR_TEST_UTILS |
|
robertphillips
2015/05/08 17:12:12
Is this intentional ?
| |
| 377 # define GR_TEST_UTILS 1 | 377 # define GR_TEST_UTILS 0 |
| 378 #endif | 378 #endif |
| 379 | 379 |
| 380 #endif // SkPostConfig_DEFINED | 380 #endif // SkPostConfig_DEFINED |
| OLD | NEW |