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

Side by Side Diff: skia/ext/skia_trace_shim.h

Issue 9965037: Adding build-time option to enable the tracing of skia events in (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SKIA_EXT_SKIA_TRACE_SHIM_H_
6 #define SKIA_EXT_SKIA_TRACE_SHIM_H_
7 #pragma once
8
9 #include "base/debug/trace_event.h"
10
11 #define SK_TRACE_EVENT0(name) \
12 TRACE_EVENT0("skia", name)
13 #define SK_TRACE_EVENT1(name, arg1_name, arg1_val) \
14 TRACE_EVENT1("skia", name, arg1_name, arg1_val)
15 #define SK_TRACE_EVENT2(name, arg1_name, arg1_val, arg2_name, arg2_val) \
16 TRACE_EVENT1("skia", name, arg1_name, arg1_val, arg2_name, arg2_val)
17
18 #endif
OLDNEW
« no previous file with comments | « skia/config/SkUserConfig.h ('k') | skia/skia.gyp » ('j') | skia/skia.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698