Index: gpu/command_buffer/common/command_buffer.h |
diff --git a/gpu/command_buffer/common/command_buffer.h b/gpu/command_buffer/common/command_buffer.h |
index d846ec11a634c1f7bade9440d0a830c1327ce21f..931ea5b7da3d028b509462d51be2104562dfeb6c 100644 |
--- a/gpu/command_buffer/common/command_buffer.h |
+++ b/gpu/command_buffer/common/command_buffer.h |
@@ -90,6 +90,11 @@ class GPU_EXPORT CommandBuffer { |
// subsequent Flushes on the same GpuChannel. |
virtual void Flush(int32 put_offset) = 0; |
+ // As Flush, ensuress that on the service side, commands up to put_offset |
piman
2015/02/05 01:14:15
typo: ensuress
piman
2015/02/06 03:37:48
Still here in PS#7...
vmiura
2015/02/06 05:15:22
Done.
|
+ // are processed but before subsequent Flushes on the GpuChannel, however |
+ // the reader may not see the latest commands until Flushes on the channel. |
+ virtual void ShallowFlush(int32 put_offset) = 0; |
+ |
// The writer calls this to wait until the current token is within a |
// specific range, inclusive. Can return early if an error is generated. |
virtual void WaitForTokenInRange(int32 start, int32 end) = 0; |