summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/gles2_cmd_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client/gles2_cmd_helper.h')
-rw-r--r--gpu/command_buffer/client/gles2_cmd_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_cmd_helper.h b/gpu/command_buffer/client/gles2_cmd_helper.h
index a7ab61d..521d864 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper.h
@@ -96,6 +96,11 @@ class GPU_EXPORT GLES2CmdHelper : public CommandBufferHelper {
}
}
+ GLuint InsertSyncPointCHROMIUM() {
+ CommandBufferHelper::Flush();
+ return command_buffer()->InsertSyncPoint();
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(GLES2CmdHelper);
};