Searched refs:SwapPromise (Results 1 – 14 of 14) sorted by relevance
11 cc::SwapPromise::DidNotSwapReason reason) { in DidNotSwapReasonToLatencyComponentType()13 case cc::SwapPromise::DID_NOT_SWAP_UNKNOWN: in DidNotSwapReasonToLatencyComponentType()14 case cc::SwapPromise::SWAP_FAILS: in DidNotSwapReasonToLatencyComponentType()16 case cc::SwapPromise::COMMIT_FAILS: in DidNotSwapReasonToLatencyComponentType()18 case cc::SwapPromise::SWAP_PROMISE_LIST_OVERFLOW: in DidNotSwapReasonToLatencyComponentType()
32 class CC_EXPORT SwapPromise {41 SwapPromise() {} in SwapPromise() function42 virtual ~SwapPromise() {} in ~SwapPromise()
28 scoped_ptr<SwapPromise> swap_promise(new LatencyInfoSwapPromise(*latency_)); in OnSetNeedsCommitOnMain()38 scoped_ptr<SwapPromise> swap_promise(new LatencyInfoSwapPromise(*latency_)); in OnSetNeedsRedrawOnImpl()
14 class CC_EXPORT LatencyInfoSwapPromise : public SwapPromise {
213 void QueueSwapPromise(scoped_ptr<SwapPromise> swap_promise);216 void PassSwapPromises(ScopedPtrVector<SwapPromise>* new_swap_promise);218 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason);280 ScopedPtrVector<SwapPromise> swap_promise_list_;
300 void QueueSwapPromise(scoped_ptr<SwapPromise> swap_promise);302 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason);451 ScopedPtrVector<SwapPromise> swap_promise_list_;
701 void LayerTreeImpl::QueueSwapPromise(scoped_ptr<SwapPromise> swap_promise) { in QueueSwapPromise()704 BreakSwapPromises(SwapPromise::SWAP_PROMISE_LIST_OVERFLOW); in QueueSwapPromise()709 ScopedPtrVector<SwapPromise>* new_swap_promise) { in PassSwapPromises()721 void LayerTreeImpl::BreakSwapPromises(SwapPromise::DidNotSwapReason reason) { in BreakSwapPromises()
1275 void LayerTreeHost::QueueSwapPromise(scoped_ptr<SwapPromise> swap_promise) { in QueueSwapPromise()1278 BreakSwapPromises(SwapPromise::SWAP_PROMISE_LIST_OVERFLOW); in QueueSwapPromise()1282 void LayerTreeHost::BreakSwapPromises(SwapPromise::DidNotSwapReason reason) { in BreakSwapPromises()
4577 reason(SwapPromise::DID_NOT_SWAP_UNKNOWN) { in TestSwapPromiseResult()4583 SwapPromise::DidNotSwapReason reason;4587 class TestSwapPromise : public SwapPromise {4627 scoped_ptr<SwapPromise> swap_promise(new TestSwapPromise( in WillBeginMainFrame()4671 EXPECT_EQ(SwapPromise::COMMIT_FAILS, swap_promise_result_[1].reason); in AfterTest()4681 EXPECT_EQ(SwapPromise::SWAP_FAILS, swap_promise_result_[2].reason); in AfterTest()
44 layer_tree_host_->BreakSwapPromises(cc::SwapPromise::COMMIT_FAILS); in ~SwapPromiseChecker()
1456 active_tree()->BreakSwapPromises(SwapPromise::SWAP_FAILS); in SwapBuffers()
5351 scoped_ptr<SwapPromise> swap_promise( in TEST_F()
447 scoped_ptr<cc::SwapPromise> swap_promise( in SetLatencyInfo()
798 scoped_ptr<cc::SwapPromise> swap_promise( in OnSwapCompositorFrame()