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 // IWYU pragma: private, include "SkTypes.h" | 8 // IWYU pragma: private, include "SkTypes.h" |
9 | 9 |
10 #ifndef SkPostConfig_DEFINED | 10 #ifndef SkPostConfig_DEFINED |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 #endif | 339 #endif |
340 | 340 |
341 ////////////////////////////////////////////////////////////////////// | 341 ////////////////////////////////////////////////////////////////////// |
342 | 342 |
343 #ifndef GR_TEST_UTILS | 343 #ifndef GR_TEST_UTILS |
344 # define GR_TEST_UTILS 1 | 344 # define GR_TEST_UTILS 1 |
345 #endif | 345 #endif |
346 | 346 |
347 ////////////////////////////////////////////////////////////////////// | 347 ////////////////////////////////////////////////////////////////////// |
348 | 348 |
349 #if defined(SK_HISTOGRAM_ENUMERATION) && defined(SK_HISTOGRAM_BOOLEAN) | |
350 # define SK_HISTOGRAMS_ENABLED 1 | |
351 #else | |
352 # define SK_HISTOGRAMS_ENABLED 0 | |
353 #endif | |
354 | |
355 #ifndef SK_HISTOGRAM_BOOLEAN | 349 #ifndef SK_HISTOGRAM_BOOLEAN |
356 # define SK_HISTOGRAM_BOOLEAN(name, value) | 350 # define SK_HISTOGRAM_BOOLEAN(name, value) |
357 #endif | 351 #endif |
358 | 352 |
359 #ifndef SK_HISTOGRAM_ENUMERATION | 353 #ifndef SK_HISTOGRAM_ENUMERATION |
360 # define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value) | 354 # define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value) |
361 #endif | 355 #endif |
362 | 356 |
363 #endif // SkPostConfig_DEFINED | 357 #endif // SkPostConfig_DEFINED |
OLD | NEW |