summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gpu_scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/gpu_scheduler.h')
-rw-r--r--gpu/command_buffer/service/gpu_scheduler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gpu/command_buffer/service/gpu_scheduler.h b/gpu/command_buffer/service/gpu_scheduler.h
index a03ffdf..2ae048b 100644
--- a/gpu/command_buffer/service/gpu_scheduler.h
+++ b/gpu/command_buffer/service/gpu_scheduler.h
@@ -67,15 +67,15 @@ class GPU_EXPORT GpuScheduler
void DeferToFence(base::Closure task);
+ // Polls the fences, invoking callbacks that were waiting to be triggered
+ // by them and returns whether all fences were complete.
+ bool PollUnscheduleFences();
+
CommandParser* parser() const {
return parser_.get();
}
private:
- // Polls the fences, invoking callbacks that were waiting to be triggered
- // by them and returns whether all fences were complete.
- bool PollUnscheduleFences();
-
// Artificially reschedule if the scheduler is still unscheduled after a
// timeout.
void RescheduleTimeOut();