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

Unified Diff: gpu/ipc/service/gpu_command_buffer_stub.cc

Issue 2093533002: Add a call to DescheduleUntilFinishedCHROMIUM to WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp96_new_deschedule
Patch Set: Fix a DCHECK. Created 4 years, 6 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 | « no previous file | third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_command_buffer_stub.cc
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.cc b/gpu/ipc/service/gpu_command_buffer_stub.cc
index fcf08fe5a975c44a5da4006e6437f1504cbb451e..3761a13ce36281cc55c7a5723f1e2eea0468b27e 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.cc
+++ b/gpu/ipc/service/gpu_command_buffer_stub.cc
@@ -909,7 +909,7 @@ void GpuCommandBufferStub::OnFenceSyncRelease(uint64_t release) {
void GpuCommandBufferStub::OnDescheduleUntilFinished() {
DCHECK(executor_->scheduled());
- DCHECK(executor_->HasMoreIdleWork());
+ DCHECK(executor_->HasPollingWork());
executor_->SetScheduled(false);
channel_->OnStreamRescheduled(stream_id_, false);
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698