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 daeaa0b8936ade41ca74211a1cd28ca744507a6a..714b4dcb9e3423ce1e3f4747e90dee654a897195 100644 |
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc |
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc |
@@ -608,23 +608,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_WaitSyncToken(route_id_, sync_token)); |
- Send(new GpuCommandBufferMsg_ReturnFrontBuffer(route_id_, mailbox, 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() { |