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 61f8922c567fd9edc5f4c31e8b7972f38751f74d..13f741daabe4d24fb92288e4def96e1dff765d5d 100644 |
| --- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
| +++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
| @@ -202,6 +202,11 @@ void CommandBufferProxyImpl::Flush(int32 put_offset) { |
| ++flush_count_)); |
| } |
| +void CommandBufferProxyImpl::SetLatencyInfo( |
| + const cc::LatencyInfo& latency_info) { |
|
piman
2013/04/03 18:05:09
You need to check for last_state_.error != gpu::er
|
| + Send(new GpuCommandBufferMsg_SetLatencyInfo(route_id_, latency_info)); |
| +} |
| + |
| gpu::CommandBuffer::State CommandBufferProxyImpl::FlushSync( |
| int32 put_offset, |
| int32 last_known_get) { |