| Index: content/common/gpu/gpu_channel.cc
|
| diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
|
| index ffbbc3c1e6838567360d97fb71855492c88b6d59..3e40af229b151cc634d03390b8d3f851963e306f 100644
|
| --- a/content/common/gpu/gpu_channel.cc
|
| +++ b/content/common/gpu/gpu_channel.cc
|
| @@ -135,6 +135,14 @@ bool GpuChannel::Send(IPC::Message* message) {
|
| return channel_->Send(message);
|
| }
|
|
|
| +void GpuChannel::AppendAllCommandBufferStubs(
|
| + std::vector<GpuCommandBufferStubBase*>& stubs) {
|
| + for (StubMap::Iterator<GpuCommandBufferStub> it(&stubs_);
|
| + !it.IsAtEnd(); it.Advance()) {
|
| + stubs.push_back(it.GetCurrentValue());
|
| + }
|
| +}
|
| +
|
| bool GpuChannel::IsScheduled() {
|
| for (StubMap::Iterator<GpuCommandBufferStub> it(&stubs_);
|
| !it.IsAtEnd();
|
|
|