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

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

Issue 2056413003: Fix a bug in the implementation of DescheduleUntilFinishedCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile error on windows. 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 | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc ('k') | no next file » | 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 40b7d9827ee1fd245f90af1b09e8ddf584b811e3..fcf08fe5a975c44a5da4006e6437f1504cbb451e 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.cc
+++ b/gpu/ipc/service/gpu_command_buffer_stub.cc
@@ -323,6 +323,7 @@ void GpuCommandBufferStub::PerformWork() {
}
executor_->ProcessPendingQueries();
+ executor_->PerformPollingWork();
}
ScheduleDelayedWork(
@@ -340,7 +341,8 @@ bool GpuCommandBufferStub::HasUnprocessedCommands() {
void GpuCommandBufferStub::ScheduleDelayedWork(base::TimeDelta delay) {
bool has_more_work = executor_.get() && (executor_->HasPendingQueries() ||
- executor_->HasMoreIdleWork());
+ executor_->HasMoreIdleWork() ||
+ executor_->HasPollingWork());
if (!has_more_work) {
last_idle_time_ = base::TimeTicks();
return;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698