summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-12 23:44:06 +0000
committersievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-12 23:44:06 +0000
commit8e298eef581e6e1f71c661a9b8a80574afe7ef17 (patch)
tree1010eab0cbb20ab8f7925d4e5552f8f395123755
parent9dedab97bb5b56292932f2786659351bbbbef4e8 (diff)
downloadchromium_src-8e298eef581e6e1f71c661a9b8a80574afe7ef17.zip
chromium_src-8e298eef581e6e1f71c661a9b8a80574afe7ef17.tar.gz
chromium_src-8e298eef581e6e1f71c661a9b8a80574afe7ef17.tar.bz2
Remove unneeded glFinish().
Nowadays these call sites should only need parsing of commands to be triggered. Review URL: https://chromiumcodereview.appspot.com/19010005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211485 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
index c193946..2ddbebc 100644
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
@@ -221,7 +221,7 @@ int WebGraphicsContext3DInProcessCommandBufferImpl::height() {
void WebGraphicsContext3DInProcessCommandBufferImpl::prepareTexture() {
if (!isContextLost()) {
gl_->SwapBuffers();
- gl_->Finish();
+ gl_->ShallowFlushCHROMIUM();
}
}
@@ -1255,7 +1255,7 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::signalQuery(
void WebGraphicsContext3DInProcessCommandBufferImpl::loseContextCHROMIUM(
WGC3Denum current, WGC3Denum other) {
gl_->LoseContextCHROMIUM(current, other);
- gl_->Finish();
+ gl_->ShallowFlushCHROMIUM();
DCHECK(isContextLost());
}