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

Side by Side Diff: gpu/command_buffer/common/trace_event.h

Issue 6862002: Merge gpu_trace_event back into base/debug/trace_event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to 84062 Created 9 years, 7 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) 2011 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 GPU_COMMAND_BUFFER_COMMON_TRACE_EVENT_H_
6 #define GPU_COMMAND_BUFFER_COMMON_TRACE_EVENT_H_
7 #pragma once
8
9 #if !defined(__native_client__)
10
11 #include "base/debug/trace_event.h"
12
13 #else
14
15 #define TRACE_EVENT0(x0, x1) { }
16 #define TRACE_EVENT1(x0, x1, x2, x3) { }
17 #define TRACE_EVENT2(x0, x1, x2, x3, x4, x5) { }
18 #define TRACE_EVENT_INSTANT0(x0, x1) { }
19 #define TRACE_EVENT_INSTANT1(x0, x1, x2, x3) { }
20 #define TRACE_EVENT_INSTANT2(x0, x1, x2, x3, x4, x5) { }
21 #define TRACE_BEGIN0(x0, x1) { }
22 #define TRACE_BEGIN1(x0, x1, x2, x3) { }
23 #define TRACE_BEGIN2(x0, x1, x2, x3, x4, x5) { }
24 #define TRACE_END0(x0, x1) { }
25 #define TRACE_END1(x0, x1, x2, x3) { }
26 #define TRACE_END2(x0, x1, x2, x3, x4, x5) { }
27
28 #endif // __native_client__
29
30 #endif // GPU_COMMAND_BUFFER_COMMON_TRACE_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698