Commit 85d9c80b authored by jbauman@chromium.org's avatar jbauman@chromium.org

Don't allow processing of a command buffer to overlap with a previous swap.

This may be causing some synchronization problems, so disable it for now to see if that fixes it.


BUG=135546
TEST=


Review URL: https://chromiumcodereview.appspot.com/10825066

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149038 0039d316-1c4b-4281-b951-d872f2087c98
parent 94d1c29c
...@@ -199,6 +199,10 @@ void PbufferImageTransportSurface::SendBuffersSwapped() { ...@@ -199,6 +199,10 @@ void PbufferImageTransportSurface::SendBuffersSwapped() {
DCHECK(!is_swap_buffers_pending_); DCHECK(!is_swap_buffers_pending_);
is_swap_buffers_pending_ = true; is_swap_buffers_pending_ = true;
// Pause all processing of this command buffer.
// http://code.google.com/p/chromium/issues/detail?id=135546
DeferDraws();
} }
void PbufferImageTransportSurface::OnBufferPresented(uint32 sync_point) { void PbufferImageTransportSurface::OnBufferPresented(uint32 sync_point) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment