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

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

Issue 11416117: Hookup the GPUTrace events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 #include "gpu/command_buffer/service/gpu_trace.h"
6
7 namespace gpu {
8 namespace gles2 {
9
10 GPUTrace::GPUTrace(const std::string& name)
11 : name_(name) {
12 }
13
14 GPUTrace::~GPUTrace() {
15 }
16
17 void GPUTrace::EnableStartTrace() {
18 // TODO(dsinclair): no-op for now.
19 }
20
21 void GPUTrace::EnableEndTrace() {
22 // TODO(dsinclair): no-op for now.
23 }
24
25 const char* GPUTrace::name() {
26 return name_.c_str();
27 }
28
29 } // namespace gles2
30 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698