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

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

Issue 1652053004: Add Histogram Macros to Skia (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Fix unused constant error in release w/ enum-based constant Created 4 years, 10 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
OLDNEW
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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 #elif !defined(SK_GAMMA_EXPONENT) 358 #elif !defined(SK_GAMMA_EXPONENT)
359 # define SK_GAMMA_EXPONENT (2.2f) 359 # define SK_GAMMA_EXPONENT (2.2f)
360 #endif 360 #endif
361 361
362 ////////////////////////////////////////////////////////////////////// 362 //////////////////////////////////////////////////////////////////////
363 363
364 #ifndef GR_TEST_UTILS 364 #ifndef GR_TEST_UTILS
365 # define GR_TEST_UTILS 1 365 # define GR_TEST_UTILS 1
366 #endif 366 #endif
367 367
368 //////////////////////////////////////////////////////////////////////
369
370 #ifndef SK_HISTOGRAM_BOOLEAN
371 # define SK_HISTOGRAM_BOOLEAN(name, value)
372 #endif
373
374 #ifndef SK_HISTOGRAM_ENUMERATION
375 # define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value)
376 #endif
377
368 #endif // SkPostConfig_DEFINED 378 #endif // SkPostConfig_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698