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

Unified Diff: gpu/command_buffer/service/gpu_tracer.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/command_buffer/service/gpu_service_test.cc ('k') | gpu/command_buffer/service/gpu_tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_tracer.h
diff --git a/gpu/command_buffer/service/gpu_tracer.h b/gpu/command_buffer/service/gpu_tracer.h
index 438c9cbba48cb7f020f9cdf3255961cf5a3a96a4..37bd617552badaa5701d6dafd863e0699cef7251 100644
--- a/gpu/command_buffer/service/gpu_tracer.h
+++ b/gpu/command_buffer/service/gpu_tracer.h
@@ -20,9 +20,9 @@
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include "gpu/gpu_export.h"
-namespace gfx {
- class GPUTimingClient;
- class GPUTimer;
+namespace gl {
+class GPUTimingClient;
+class GPUTimer;
}
namespace gpu {
@@ -92,7 +92,7 @@ class GPU_EXPORT GPUTracer
bool CheckDisjointStatus();
void ClearOngoingTraces(bool have_context);
- scoped_refptr<gfx::GPUTimingClient> gpu_timing_client_;
+ scoped_refptr<gl::GPUTimingClient> gpu_timing_client_;
scoped_refptr<Outputter> outputter_;
std::vector<TraceMarker> markers_[NUM_TRACER_SOURCES];
std::deque<scoped_refptr<GPUTrace> > finished_traces_;
@@ -166,7 +166,7 @@ class GPU_EXPORT GPUTrace
: public base::RefCounted<GPUTrace> {
public:
GPUTrace(scoped_refptr<Outputter> outputter,
- gfx::GPUTimingClient* gpu_timing_client,
+ gl::GPUTimingClient* gpu_timing_client,
const GpuTracerSource source,
const std::string& category,
const std::string& name,
@@ -193,7 +193,7 @@ class GPU_EXPORT GPUTrace
const std::string category_;
const std::string name_;
scoped_refptr<Outputter> outputter_;
- std::unique_ptr<gfx::GPUTimer> gpu_timer_;
+ std::unique_ptr<gl::GPUTimer> gpu_timer_;
const bool service_enabled_ = false;
const bool device_enabled_ = false;
« no previous file with comments | « gpu/command_buffer/service/gpu_service_test.cc ('k') | gpu/command_buffer/service/gpu_tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698