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

Side by Side Diff: cc/trees/single_thread_proxy.cc

Issue 2888043004: [cc] Add and plumb CFS::DidNotProduceFrame. (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/single_thread_proxy.h" 5 #include "cc/trees/single_thread_proxy.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/profiler/scoped_tracker.h" 9 #include "base/profiler/scoped_tracker.h"
10 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 800
801 void SingleThreadProxy::DidFinishImplFrame() { 801 void SingleThreadProxy::DidFinishImplFrame() {
802 layer_tree_host_impl_->DidFinishImplFrame(); 802 layer_tree_host_impl_->DidFinishImplFrame();
803 #if DCHECK_IS_ON() 803 #if DCHECK_IS_ON()
804 DCHECK(inside_impl_frame_) 804 DCHECK(inside_impl_frame_)
805 << "DidFinishImplFrame called while not inside an impl frame!"; 805 << "DidFinishImplFrame called while not inside an impl frame!";
806 inside_impl_frame_ = false; 806 inside_impl_frame_ = false;
807 #endif 807 #endif
808 } 808 }
809 809
810 void SingleThreadProxy::BeginFrameDidNotProduceFrame(const BeginFrameAck& ack) {
811 layer_tree_host_impl_->BeginFrameDidNotProduceFrame(ack);
812 }
813
810 void SingleThreadProxy::DidReceiveCompositorFrameAck() { 814 void SingleThreadProxy::DidReceiveCompositorFrameAck() {
811 layer_tree_host_->DidReceiveCompositorFrameAck(); 815 layer_tree_host_->DidReceiveCompositorFrameAck();
812 } 816 }
813 817
814 } // namespace cc 818 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698