content/gpu: Simplify stub scheduling.
commitbaab86ff3d07870373266e101b0cf8916d4af188
authorsunnyps <sunnyps@chromium.org>
Fri, 18 Sep 2015 22:34:10 +0000 (18 15:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 22:34:36 +0000 (18 22:34 +0000)
treeac22e508fc81d09158f324712f570704d55ee567
parent3a33d87b15b764a6db1cd863ce54efec2bcd2b23
content/gpu: Simplify stub scheduling.

Get rid of the reschedule timeout in GpuScheduler. Also let the channel
know which stub is scheduled/descheduled so that it can map it to the
correct stream.

BUG=514813

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

Cr-Commit-Position: refs/heads/master@{#349788}
components/mus/gles2/command_buffer_driver.cc
components/mus/gles2/command_buffer_local.cc
content/common/gpu/gpu_channel.cc
content/common/gpu/gpu_channel.h
content/common/gpu/gpu_command_buffer_stub.cc
content/common/gpu/gpu_command_buffer_stub.h
gpu/command_buffer/service/gpu_scheduler.cc
gpu/command_buffer/service/gpu_scheduler.h