Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 716fb55fbc2eaac205d249c20f9bbd4a2e761b1a..9b91923aaa840e9b9c87222005f4289134f237ed 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -3991,6 +3991,21 @@ GLuint GLES2Implementation::InsertSyncPointCHROMIUM() { |
return gpu_control_->InsertSyncPoint(); |
} |
+GLuint GLES2Implementation::InsertFutureSyncPointCHROMIUM() { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInsertFutureSyncPointCHROMIUM"); |
piman
2014/07/11 22:24:32
nit: can we add a DCHECK(capabilities_.future_sync
|
+ helper_->CommandBufferHelper::Flush(); |
+ return gpu_control_->InsertFutureSyncPoint(); |
+} |
+ |
+void GLES2Implementation::RetireSyncPointCHROMIUM(GLuint sync_point) { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glRetireSyncPointCHROMIUM(" |
+ << sync_point << ")"); |
piman
2014/07/11 22:24:32
nit: DCHECK here too.
|
+ helper_->CommandBufferHelper::Flush(); |
+ gpu_control_->RetireSyncPoint(sync_point); |
+} |
+ |
GLuint GLES2Implementation::CreateImageCHROMIUMHelper(GLsizei width, |
GLsizei height, |
GLenum internalformat, |