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

Side by Side Diff: src/gpu/GrTracing.h

Issue 1261033002: Rename GrInOrderDrawBuffer to GrBufferedDrawTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: renames Created 5 years, 4 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/GrTest.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
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
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 #ifndef GrTracing_DEFINED 8 #ifndef GrTracing_DEFINED
9 #define GrTracing_DEFINED 9 #define GrTracing_DEFINED
10 10
11 #include "GrBufferedDrawTarget.h"
11 #include "GrDrawTarget.h" 12 #include "GrDrawTarget.h"
12 #include "GrGpu.h" 13 #include "GrGpu.h"
13 #include "GrInOrderDrawBuffer.h"
14 #include "GrTraceMarker.h" 14 #include "GrTraceMarker.h"
15 #include "SkTraceEvent.h" 15 #include "SkTraceEvent.h"
16 16
17 /** 17 /**
18 * Marker generation class used for adding and removing markers around code bloc ks 18 * Marker generation class used for adding and removing markers around code bloc ks
19 */ 19 */
20 class GrGpuTraceMarkerGenerator : public ::SkNoncopyable { 20 class GrGpuTraceMarkerGenerator : public ::SkNoncopyable {
21 public: 21 public:
22 GrGpuTraceMarkerGenerator(GrDrawTarget* target) : fTarget(target) {} 22 GrGpuTraceMarkerGenerator(GrDrawTarget* target) : fTarget(target) {}
23 23
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 GrGpuTraceMarkerGeneratorContext SK_MACRO_APPEND_LINE(TMG)(context); \ 128 GrGpuTraceMarkerGeneratorContext SK_MACRO_APPEND_LINE(TMG)(context); \
129 bool SK_MACRO_APPEND_LINE(gpuTracingEnabled); \ 129 bool SK_MACRO_APPEND_LINE(gpuTracingEnabled); \
130 TRACE_EVENT_CATEGORY_GROUP_ENABLED(TRACE_DISABLED_BY_DEFAULT("skia.gpu"), \ 130 TRACE_EVENT_CATEGORY_GROUP_ENABLED(TRACE_DISABLED_BY_DEFAULT("skia.gpu"), \
131 &SK_MACRO_APPEND_LINE(gpuTracingEnabled) ); \ 131 &SK_MACRO_APPEND_LINE(gpuTracingEnabled) ); \
132 if (SK_MACRO_APPEND_LINE(gpuTracingEnabled)) { \ 132 if (SK_MACRO_APPEND_LINE(gpuTracingEnabled)) { \
133 SK_MACRO_APPEND_LINE(TMG).initialize(name, &name_counter); \ 133 SK_MACRO_APPEND_LINE(TMG).initialize(name, &name_counter); \
134 } 134 }
135 #endif 135 #endif
136 136
137 #endif 137 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698