Have GPUTracer process traces during CommandBuffer Idle time.
commited04ca3ef4560f5d85d4ee788e6716d37c7be644
authordyen <dyen@chromium.org>
Wed, 26 Aug 2015 21:05:01 +0000 (26 14:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Aug 2015 21:05:52 +0000 (26 21:05 +0000)
tree90203fa16488006ca88e12358a4702bd8a0639c4
parent89bee1d861e5798b654b8d80fee84dff7afe36a3
Have GPUTracer process traces during CommandBuffer Idle time.

ThreadTaskRunnerHandle is not always available to execute GPUTracer
process commands (IE on android webview), switch to use the command
buffer idle time instead.

R=vmiura@chromium.org
BUG=None
TEST=trybots

Review URL: https://codereview.chromium.org/1314053002

Cr-Commit-Position: refs/heads/master@{#345672}
gpu/command_buffer/service/gles2_cmd_decoder.cc
gpu/command_buffer/service/gpu_tracer.cc
gpu/command_buffer/service/gpu_tracer.h
gpu/command_buffer/service/gpu_tracer_unittest.cc