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

Side by Side Diff: gpu/command_buffer/service/gpu_trace.h

Issue 11416117: Hookup the GPUTrace events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update the autogen'd files. Created 7 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 | 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 // This file contains the GPUTrace class.
6 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_TRACE_H_
7 #define GPU_COMMAND_BUFFER_SERVICE_GPU_TRACE_H_
8
9 #include <string>
10
11 #include "base/basictypes.h"
12
13 namespace gpu {
14 namespace gles2 {
15
16 class GPUTrace {
17 public:
18 explicit GPUTrace(const std::string& name);
19 ~GPUTrace();
20
21 void EnableStartTrace();
22 void EnableEndTrace();
23
24 const char* name();
25
26 private:
27 std::string name_;
28
29 DISALLOW_COPY_AND_ASSIGN(GPUTrace);
30 };
31
32 } // namespace gles2
33 } // namespace gpu
34
35 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_TRACE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gpu_trace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698