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

Side by Side Diff: src/utils/SkDebugTrace.h

Issue 196133033: replace old SK_TRACE_EVENT macros with new TRACE_EVENT ones (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove old trace events Created 6 years, 9 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 | « src/gpu/gl/GrGLShaderBuilder.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2011 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9 #ifndef SkUserTrace_DEFINED
10 #define SkUserTrace_DEFINED
11
12 /* Sample implementation of SkUserTrace that routes all of the
13 trace macros to debug output stream.
14 To use this, redefine SK_USER_TRACE_INCLUDE_FILE in
15 include/config/SkUserConfig.h to point to this file
16 */
17 #define SK_TRACE_EVENT0(event) \
18 SkDebugf("Trace: %s\n", event)
19 #define SK_TRACE_EVENT1(event, name1, value1) \
20 SkDebugf("Trace: %s (%s=%s)\n", event, name1, value1)
21 #define SK_TRACE_EVENT2(event, name1, value1, name2, value2) \
22 SkDebugf("Trace: %s (%s=%s, %s=%s)\n", event, name1, value1, name2, value2)
23
24 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLShaderBuilder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698