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

Side by Side Diff: bench/BenchGpuTimer_gl.h

Issue 344213003: Move BenchTimer to tools as Timer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixes Created 6 years, 6 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 | « no previous file | bench/BenchGpuTimer_gl.cpp » ('j') | tools/timer/GpuTimer.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2011 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8 #ifndef SkBenchGpuTimer_DEFINED
9 #define SkBenchGpuTimer_DEFINED
10
11 class SkGLContextHelper;
12
13 class BenchGpuTimer {
14 public:
15 BenchGpuTimer(const SkGLContextHelper* glctx);
16 ~BenchGpuTimer();
17 void startGpu();
18 double endGpu();
19 private:
20 unsigned fQuery;
21 int fStarted;
22 const SkGLContextHelper* fContext;
23 bool fSupported;
24 };
25
26 #endif
OLDNEW
« no previous file with comments | « no previous file | bench/BenchGpuTimer_gl.cpp » ('j') | tools/timer/GpuTimer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698