summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer_service.gypi
diff options
context:
space:
mode:
authordcastagna <dcastagna@chromium.org>2015-02-12 11:21:30 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-12 19:22:36 +0000
commit82922f87f213ee34c2dc319b937c5137a939ac52 (patch)
tree2cb365744f18433510b00ecc7e27b778d02e30ec /gpu/command_buffer_service.gypi
parentd84033d4c99da29d3baae15784335f31a14b3c38 (diff)
downloadchromium_src-82922f87f213ee34c2dc319b937c5137a939ac52.zip
chromium_src-82922f87f213ee34c2dc319b937c5137a939ac52.tar.gz
chromium_src-82922f87f213ee34c2dc319b937c5137a939ac52.tar.bz2
gpu: Extract the gpu timing code from gpu_tracer.
This commit introduces two new classes: GPUTiming and GPUTimer. The first one takes care of checking which timing GL extension to use, and the second one measures the amount of time it takes to complete a set of opengl commands. GPUTracer and GPUTrace have been modified accordingly to use the two new classes. BUG= Review URL: https://codereview.chromium.org/904743002 Cr-Commit-Position: refs/heads/master@{#316020}
Diffstat (limited to 'gpu/command_buffer_service.gypi')
-rw-r--r--gpu/command_buffer_service.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer_service.gypi b/gpu/command_buffer_service.gypi
index 358317c..a913052 100644
--- a/gpu/command_buffer_service.gypi
+++ b/gpu/command_buffer_service.gypi
@@ -87,6 +87,8 @@
'command_buffer/service/gpu_switches.h',
'command_buffer/service/gpu_tracer.cc',
'command_buffer/service/gpu_tracer.h',
+ 'command_buffer/service/gpu_timing.cc',
+ 'command_buffer/service/gpu_timing.h',
'command_buffer/service/id_manager.h',
'command_buffer/service/id_manager.cc',
'command_buffer/service/image_factory.cc',