| Index: gpu/ipc/client/command_buffer_proxy_impl.cc
|
| diff --git a/gpu/ipc/client/command_buffer_proxy_impl.cc b/gpu/ipc/client/command_buffer_proxy_impl.cc
|
| index 8775c0abe1bf858b3413fb42cf9f72e19b9d124b..7587212837fdca100c8ab632038e33b45ebce2b4 100644
|
| --- a/gpu/ipc/client/command_buffer_proxy_impl.cc
|
| +++ b/gpu/ipc/client/command_buffer_proxy_impl.cc
|
| @@ -617,23 +617,13 @@
|
| signal_tasks_.insert(std::make_pair(signal_id, callback));
|
| }
|
|
|
| -void CommandBufferProxyImpl::TakeFrontBuffer(const gpu::Mailbox& mailbox) {
|
| - CheckLock();
|
| - if (last_state_.error != gpu::error::kNoError)
|
| - return;
|
| -
|
| - Send(new GpuCommandBufferMsg_TakeFrontBuffer(route_id_, mailbox));
|
| -}
|
| -
|
| -void CommandBufferProxyImpl::ReturnFrontBuffer(const gpu::Mailbox& mailbox,
|
| - const gpu::SyncToken& sync_token,
|
| - bool is_lost) {
|
| - CheckLock();
|
| - if (last_state_.error != gpu::error::kNoError)
|
| - return;
|
| -
|
| - Send(new GpuCommandBufferMsg_ReturnFrontBuffer(route_id_, mailbox, sync_token,
|
| - is_lost));
|
| +bool CommandBufferProxyImpl::ProduceFrontBuffer(const gpu::Mailbox& mailbox) {
|
| + CheckLock();
|
| + if (last_state_.error != gpu::error::kNoError)
|
| + return false;
|
| +
|
| + Send(new GpuCommandBufferMsg_ProduceFrontBuffer(route_id_, mailbox));
|
| + return true;
|
| }
|
|
|
| gpu::error::Error CommandBufferProxyImpl::GetLastError() {
|
|
|