Index: gpu/command_buffer/client/cmd_buffer_helper.h |
diff --git a/gpu/command_buffer/client/cmd_buffer_helper.h b/gpu/command_buffer/client/cmd_buffer_helper.h |
index 053c1c9f2a9e5e2b0cd570e5631921575546b966..07c155341c3a7ae36dc44235c1e9bba57de1d548 100644 |
--- a/gpu/command_buffer/client/cmd_buffer_helper.h |
+++ b/gpu/command_buffer/client/cmd_buffer_helper.h |
@@ -66,6 +66,9 @@ class GPU_EXPORT CommandBufferHelper { |
// returns, the command buffer service is aware of all pending commands. |
void Flush(); |
+ // As Flush, but may be deferred in a CommandBufferProxy implementation. |
+ void ShallowFlush(); |
+ |
// Waits until all the commands have been executed. Returns whether it |
// was successful. The function will fail if the command buffer service has |
// disconnected. |
@@ -322,6 +325,7 @@ class GPU_EXPORT CommandBufferHelper { |
int32 token_; |
int32 put_; |
int32 last_put_sent_; |
+ int32 last_shallow_put_sent_; |
#if defined(CMD_HELPER_PERIODIC_FLUSH_CHECK) |
int commands_issued_; |