Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: content/common/gpu/gpu_command_buffer_stub.cc

Issue 9814032: Revert 127855 - Revert 127835 - Make sure to add rescheduled message when we have unprocessed comma… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.cc
===================================================================
--- content/common/gpu/gpu_command_buffer_stub.cc (revision 128142)
+++ content/common/gpu/gpu_command_buffer_stub.cc (working copy)
@@ -160,7 +160,8 @@
bool GpuCommandBufferStub::HasUnprocessedCommands() {
if (command_buffer_.get()) {
gpu::CommandBuffer::State state = command_buffer_->GetLastState();
- return state.put_offset != state.get_offset;
+ return state.put_offset != state.get_offset &&
+ !gpu::error::IsError(state.error);
}
return false;
}
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698