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

Side by Side Diff: include/config/SkUserConfig.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
« no previous file with comments | « no previous file | include/core/SkPostConfig.h » ('j') | src/core/SkImageCacherator.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 /* The PDF generation code uses Path Ops to handle complex clipping paths, 147 /* The PDF generation code uses Path Ops to handle complex clipping paths,
148 * but at this time, Path Ops is not release ready yet. So, the code is 148 * but at this time, Path Ops is not release ready yet. So, the code is
149 * hidden behind this #define guard. If you are feeling adventurous and 149 * hidden behind this #define guard. If you are feeling adventurous and
150 * want the latest and greatest PDF generation code, uncomment the #define. 150 * want the latest and greatest PDF generation code, uncomment the #define.
151 * When Path Ops is release ready, the define guards and this user config 151 * When Path Ops is release ready, the define guards and this user config
152 * define should be removed entirely. 152 * define should be removed entirely.
153 */ 153 */
154 //#define SK_PDF_USE_PATHOPS_CLIPPING 154 //#define SK_PDF_USE_PATHOPS_CLIPPING
155 155
156 /* Skia makes use of histogram logging macros to trace the frequency of
157 * events. By default, Skia provides no-op versions of these macros.
158 * Skia consumers can provide their own definitions of these macros to
159 * integrate with their histogram collection backend.
160 */
161 //#define SK_HISTOGRAM_BOOLEAN(name, value)
162 //#define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value)
163
156 #endif 164 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkPostConfig.h » ('j') | src/core/SkImageCacherator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698