summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client
diff options
context:
space:
mode:
authorkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-05 23:43:34 +0000
committerkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-05 23:43:34 +0000
commita414e5ee96a40adb231c5b9585db275c10c2c104 (patch)
tree31f8b956d1a39068ebc5f92d5af9ee0755844579 /gpu/command_buffer/client
parent3248fec269957bc9e4d0f24c49f401dc7fb67c43 (diff)
downloadchromium_src-a414e5ee96a40adb231c5b9585db275c10c2c104.zip
chromium_src-a414e5ee96a40adb231c5b9585db275c10c2c104.tar.gz
chromium_src-a414e5ee96a40adb231c5b9585db275c10c2c104.tar.bz2
Thanks to piman, added necessary glFlush to the IOSurface code path on
the Mac. This was the root cause of the delay in transmission of rendering results from the GPU process to the browser process. Undid the changes from the fix for Issue 80602; they are no longer needed. Reran various test cases on Mac; no regressions. BUG=81740 TEST=none Review URL: http://codereview.chromium.org/6931046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/client')
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 5ea5523..aa94fbb 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -691,11 +691,7 @@ void GLES2Implementation::SwapBuffers() {
}
helper_->SwapBuffers();
swap_buffers_tokens_.push(helper_->InsertToken());
-#if !defined(OS_MACOSX)
- // TODO(kbr): restructure the swap buffers path on Mac OS X and
- // remove this conditional.
helper_->YieldScheduler();
-#endif
Flush();
}