blob: caa7e07f13a55fa4e197b752c5ec593bea34d2b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/command_buffer/service/gpu_trace.h"
namespace gpu {
namespace gles2 {
GPUTrace::GPUTrace(const std::string& name)
: name_(name) {
}
GPUTrace::~GPUTrace() {
}
void GPUTrace::EnableStartTrace() {
// TODO(dsinclair): no-op for now.
}
void GPUTrace::EnableEndTrace() {
// TODO(dsinclair): no-op for now.
}
const char* GPUTrace::name() {
return name_.c_str();
}
} // namespace gles2
} // namespace gpu
|