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

Unified Diff: gpu/perftests/measurements.h

Issue 937263006: Refactored GLContext to own GPUTiming which spawn GPUTimingClients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merged with latest Created 5 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 side-by-side diff with in-line comments
Download patch
Index: gpu/perftests/measurements.h
diff --git a/gpu/perftests/measurements.h b/gpu/perftests/measurements.h
index 1f72b0028ce646513cef56316ea1c1f8b1acfffe..e66864b167d3921fbd9f2750087a775640c7b345 100644
--- a/gpu/perftests/measurements.h
+++ b/gpu/perftests/measurements.h
@@ -11,7 +11,7 @@
#include "base/time/time.h"
namespace gpu {
-class GPUTiming;
+class GPUTimingClient;
class GPUTimer;
struct Measurement {
Measurement();
@@ -37,7 +37,7 @@ struct Measurement {
// creation up to when Record is called.
class MeasurementTimers {
public:
- explicit MeasurementTimers(GPUTiming* gpu_timing);
+ explicit MeasurementTimers(GPUTimingClient* gpu_timing_client);
void Record();
Measurement GetAsMeasurement(const std::string& name);
~MeasurementTimers();

Powered by Google App Engine
This is Rietveld 408576698