| 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..cad9f5b844cb5cfaec95449422f93a510e51bf28 100644
|
| --- a/gpu/command_buffer/common/command_buffer.h
|
| +++ b/gpu/command_buffer/common/command_buffer.h
|
| @@ -87,8 +87,10 @@ class GPU_EXPORT CommandBuffer {
|
| // The writer calls this to update its put offset. This ensures the reader
|
| // sees the latest added commands, and will eventually process them. On the
|
| // service side, commands are processed up to the given put_offset before
|
| - // subsequent Flushes on the same GpuChannel.
|
| - virtual void Flush(int32 put_offset) = 0;
|
| + // subsequent Flushes on the same GpuChannel. sync_points contains the set
|
| + // of sync points that will be waited on before executing the commands.
|
| + virtual void Flush(int32 put_offset,
|
| + const std::vector<uint32>& sync_points) = 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.
|
|
|