Index: mojo/gles2/command_buffer_client_impl.cc |
diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc |
index 84c67ab3be5251f3bad286a37a8c56d92d3c3f94..233573fc2835bf789e1b168159b333758e021a57 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -208,14 +208,14 @@ void CommandBufferClientImpl::DestroyGpuMemoryBuffer(int32 id) { |
} |
uint32 CommandBufferClientImpl::InsertSyncPoint() { |
- // TODO(piman) |
- NOTIMPLEMENTED(); |
+ // TODO(jamesr): Optimize this. |
+ WaitForGetOffsetInRange(last_put_offset_, last_put_offset_); |
return 0; |
} |
uint32 CommandBufferClientImpl::InsertFutureSyncPoint() { |
- // TODO(piman) |
- NOTIMPLEMENTED(); |
+ // TODO(jamesr): Optimize this. |
+ WaitForGetOffsetInRange(last_put_offset_, last_put_offset_); |
return 0; |
} |