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 e8d3690cfd60a970785bfd482a8508e4e2ec1df4..494ff3d6dee78a0ce5402b74e5bc5e8e9425dd8b 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -180,6 +180,11 @@ void CommandBufferClientImpl::Flush(int32 put_offset) { |
command_buffer_->Flush(put_offset); |
} |
+void CommandBufferClientImpl::OrderingBarrier(int32_t put_offset) { |
+ // TODO(jamesr): Implement this more efficiently. |
+ Flush(put_offset); |
+} |
+ |
void CommandBufferClientImpl::WaitForTokenInRange(int32 start, int32 end) { |
TryUpdateState(); |
while (!InRange(start, end, last_state_.token) && |