Index: cc/scheduler/scheduler_state_machine.cc |
diff --git a/cc/scheduler/scheduler_state_machine.cc b/cc/scheduler/scheduler_state_machine.cc |
index c512987bd23f501abdaf1fceab783945f8dc1ae4..00d60147e4cfa3f0973930e9f5bc293f9ee0fad5 100644 |
--- a/cc/scheduler/scheduler_state_machine.cc |
+++ b/cc/scheduler/scheduler_state_machine.cc |
@@ -423,14 +423,6 @@ bool SchedulerStateMachine::ShouldSendBeginMainFrame() const { |
if (!HasInitializedOutputSurface()) |
return false; |
- // SwapAck throttle the BeginMainFrames unless we just swapped. |
- // TODO(brianderson): Remove this restriction to improve throughput. |
brianderson
2015/04/03 22:44:01
Beware that this aspect of the patch might introdu
alexst (slow to review)
2015/04/04 00:20:02
On intel, just the other part was enough, on ARM,
|
- bool just_swapped_in_deadline = |
- begin_impl_frame_state_ == BEGIN_IMPL_FRAME_STATE_INSIDE_DEADLINE && |
- perform_swap_funnel_; |
- if (pending_swaps_ >= max_pending_swaps_ && !just_swapped_in_deadline) |
- return false; |
- |
if (skip_begin_main_frame_to_reduce_latency_) |
return false; |