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

Unified Diff: gpu/command_buffer/service/gpu_scheduler.h

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
Index: gpu/command_buffer/service/gpu_scheduler.h
diff --git a/gpu/command_buffer/service/gpu_scheduler.h b/gpu/command_buffer/service/gpu_scheduler.h
index 5e47d4a316b16383f88c784c52c05ed8be628f95..b0b26303f716a27eb7837c291a6820897010fe2a 100644
--- a/gpu/command_buffer/service/gpu_scheduler.h
+++ b/gpu/command_buffer/service/gpu_scheduler.h
@@ -91,12 +91,6 @@ class GPU_EXPORT GpuScheduler
void SetCommandProcessedCallback(const base::Closure& callback);
- 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();
-
bool HasMoreIdleWork();
void PerformIdleWork();
@@ -136,18 +130,6 @@ class GPU_EXPORT GpuScheduler
// account of a timeout.
int rescheduled_count_;
- // The GpuScheduler will unschedule itself in the event that further GL calls
- // are issued to it before all these fences have been crossed by the GPU.
- struct UnscheduleFence {
- UnscheduleFence(gfx::GLFence* fence, base::Closure task);
- ~UnscheduleFence();
-
- scoped_ptr<gfx::GLFence> fence;
- base::Time issue_time;
- base::Closure task;
- };
- std::queue<linked_ptr<UnscheduleFence> > unschedule_fences_;
-
SchedulingChangedCallback scheduling_changed_callback_;
base::Closure descheduled_callback_;
base::Closure command_processed_callback_;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc ('k') | gpu/command_buffer/service/gpu_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698