Chromium Code Reviews| Index: content/common/gpu/client/command_buffer_proxy_impl.cc |
| diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc |
| index 53ce2d7ee543787639fe8e1d0d14af7e50d20764..6d9a8d58dbe33a8761a21fbe1d5f76246c4f41a7 100644 |
| --- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
| +++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
| @@ -375,6 +375,15 @@ void CommandBufferProxyImpl::DestroyTransferBuffer(int32 id) { |
| Send(new GpuCommandBufferMsg_DestroyTransferBuffer(route_id_, id)); |
| } |
| +void CommandBufferProxyImpl::GetRouteInformation(int* channel_id, |
| + uint32_t* route_id) { |
| + if (channel_id) |
|
piman
2015/09/10 23:55:31
maybe just DCHECK(channel_id) and DCHECK(route_id)
David Yen
2015/09/23 18:30:34
No longer relevant.
|
| + *channel_id = channel_->channel_id(); |
| + |
| + if (route_id) |
| + *route_id = route_id_; |
| +} |
| + |
| gpu::Capabilities CommandBufferProxyImpl::GetCapabilities() { |
| return capabilities_; |
| } |