summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-10 02:08:43 +0000
committerjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-10 02:08:43 +0000
commit5b8f708fec9d1a35f6c48879459d35c763bb95a3 (patch)
tree73657fce437c0a952654f0a4c08512ec1dab7c4a /gpu
parent1e1cb3bc787a85e1791f737f831d00ee08db364d (diff)
downloadchromium_src-5b8f708fec9d1a35f6c48879459d35c763bb95a3.zip
chromium_src-5b8f708fec9d1a35f6c48879459d35c763bb95a3.tar.gz
chromium_src-5b8f708fec9d1a35f6c48879459d35c763bb95a3.tar.bz2
add "did it run on GPU" check to frame_rate_tests.cc using AutomationProxy tracing feature
BUG=95714 Review URL: http://codereview.chromium.org/7982007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 3fc8f27..eb7c6df 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2050,6 +2050,10 @@ bool GLES2DecoderImpl::Initialize(
return false;
}
+ // TRACE_EVENT for gpu tests:
+ TRACE_EVENT_INSTANT1("test_gpu", "GLES2DecoderImpl::Initialize", "GLImpl",
+ static_cast<int>(gfx::GetGLImplementation()));
+
return true;
}