diff options
author | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-14 23:43:15 +0000 |
---|---|---|
committer | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-14 23:43:15 +0000 |
commit | 7d5b8d1da5cda4a2fbd071430f7030596c3c7365 (patch) | |
tree | 99b82372e1436bcaca5dcc5ba625ad28da0460da /chrome/renderer/webplugin_delegate_pepper.cc | |
parent | 08a3cacedb78fd367b166dad5fdf7dfb01d36bfb (diff) | |
download | chromium_src-7d5b8d1da5cda4a2fbd071430f7030596c3c7365.zip chromium_src-7d5b8d1da5cda4a2fbd071430f7030596c3c7365.tar.gz chromium_src-7d5b8d1da5cda4a2fbd071430f7030596c3c7365.tar.bz2 |
Make CommandBuffer::Flush asynchronous, and add CommandBuffer::FlushSync with former semantics.
Also force a flush when the buffer is getting full.
BUG=none
TEST=gpu_unittests, some webgl content, some 3d css content, pepper flash
Review URL: http://codereview.chromium.org/6316002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webplugin_delegate_pepper.cc')
-rw-r--r-- | chrome/renderer/webplugin_delegate_pepper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/webplugin_delegate_pepper.cc b/chrome/renderer/webplugin_delegate_pepper.cc index 633c30b..4d1ae54 100644 --- a/chrome/renderer/webplugin_delegate_pepper.cc +++ b/chrome/renderer/webplugin_delegate_pepper.cc @@ -779,7 +779,7 @@ NPError WebPluginDelegatePepper::Device3DFlushContext( callback, user_data)); } else { - state = command_buffer_->Flush(context->putOffset); + state = command_buffer_->FlushSync(context->putOffset); Synchronize3DContext(context, state); } } else { |