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

Unified Diff: gpu/perftests/measurements.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
« no previous file with comments | « gpu/ipc/service/stream_texture_android.cc ('k') | gpu/perftests/measurements.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/perftests/measurements.h
diff --git a/gpu/perftests/measurements.h b/gpu/perftests/measurements.h
index f92e7ad615b1cf5e6071b7a853dcab070cbad23d..e713ca44b4ec2f0c816b07e8f5868a14e9410ce7 100644
--- a/gpu/perftests/measurements.h
+++ b/gpu/perftests/measurements.h
@@ -10,7 +10,7 @@
#include "base/time/time.h"
-namespace gfx {
+namespace gl {
class GPUTimingClient;
class GPUTimer;
}
@@ -41,7 +41,7 @@ struct Measurement {
// creation up to when Record is called.
class MeasurementTimers {
public:
- explicit MeasurementTimers(gfx::GPUTimingClient* gpu_timing_client);
+ explicit MeasurementTimers(gl::GPUTimingClient* gpu_timing_client);
void Record();
Measurement GetAsMeasurement(const std::string& name);
~MeasurementTimers();
@@ -49,7 +49,7 @@ class MeasurementTimers {
private:
base::TimeTicks wall_time_start_;
base::ThreadTicks cpu_time_start_;
- std::unique_ptr<gfx::GPUTimer> gpu_timer_;
+ std::unique_ptr<gl::GPUTimer> gpu_timer_;
base::TimeDelta wall_time_;
base::TimeDelta cpu_time_;
« no previous file with comments | « gpu/ipc/service/stream_texture_android.cc ('k') | gpu/perftests/measurements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698