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

Unified Diff: gpu/command_buffer/service/gpu_tracer.cc

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_tracer.h ('k') | gpu/command_buffer/service/gpu_tracer_unittest.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.cc
diff --git a/gpu/command_buffer/service/gpu_tracer.cc b/gpu/command_buffer/service/gpu_tracer.cc
index db9fb70081440de705dcebbf442a56816499aeb3..ac459c0138a722d4fe636c368bf80a273295f0ea 100644
--- a/gpu/command_buffer/service/gpu_tracer.cc
+++ b/gpu/command_buffer/service/gpu_tracer.cc
@@ -125,7 +125,7 @@ void TraceOutputter::TraceServiceEnd(GpuTracerSource source,
}
GPUTrace::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,
@@ -190,11 +190,11 @@ GPUTracer::GPUTracer(gles2::GLES2Decoder* decoder)
TRACE_DISABLED_BY_DEFAULT("gpu.device"))),
decoder_(decoder) {
DCHECK(decoder_);
- gfx::GLContext* context = decoder_->GetGLContext();
+ gl::GLContext* context = decoder_->GetGLContext();
if (context) {
gpu_timing_client_ = context->CreateGPUTimingClient();
} else {
- gpu_timing_client_ = new gfx::GPUTimingClient();
+ gpu_timing_client_ = new gl::GPUTimingClient();
}
disjoint_time_ = gpu_timing_client_->GetCurrentCPUTime();
« no previous file with comments | « gpu/command_buffer/service/gpu_tracer.h ('k') | gpu/command_buffer/service/gpu_tracer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698