Index: gpu/command_buffer/client/gles2_implementation.cc |
=================================================================== |
--- gpu/command_buffer/client/gles2_implementation.cc (revision 93137) |
+++ gpu/command_buffer/client/gles2_implementation.cc (working copy) |
@@ -832,6 +832,7 @@ |
// the scheduler yields between the InsertToken and the SwapBuffers. |
swap_buffers_tokens_.push(helper_->InsertToken()); |
helper_->SwapBuffers(); |
+ helper_->YieldScheduler(); |
helper_->CommandBufferHelper::Flush(); |
// Wait if we added too many swap buffers. |
if (swap_buffers_tokens_.size() > kMaxSwapBuffers) { |