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 c2d8fd73606138f32736944b92091b467d5357a5..8c202ede07ae3398a4146bd91e876e13a7dd2879 100644 |
--- a/gpu/command_buffer/common/command_buffer.h |
+++ b/gpu/command_buffer/common/command_buffer.h |
@@ -141,6 +141,10 @@ class GPU_EXPORT CommandBuffer { |
virtual error::Error GetLastError(); |
#endif |
+ // Inserts a sync point, returning its ID. Sync point IDs are global and can |
+ // be used for cross-context synchronization. |
+ virtual uint32 InsertSyncPoint() = 0; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(CommandBuffer); |
}; |