summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/cmd_buffer_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/cmd_buffer_engine.h')
-rw-r--r--gpu/command_buffer/service/cmd_buffer_engine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/cmd_buffer_engine.h b/gpu/command_buffer/service/cmd_buffer_engine.h
index 59e99ab..6aefe82 100644
--- a/gpu/command_buffer/service/cmd_buffer_engine.h
+++ b/gpu/command_buffer/service/cmd_buffer_engine.h
@@ -29,6 +29,9 @@ class CommandBufferEngine {
// Sets the token value.
virtual void set_token(int32 token) = 0;
+ // Sets the shared memory buffer used for commands.
+ virtual bool SetGetBuffer(int32 transfer_buffer_id) = 0;
+
// Sets the "get" pointer. Return false if offset is out of range.
virtual bool SetGetOffset(int32 offset) = 0;