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

Side by Side Diff: cc/trees/proxy_impl.h

Issue 2659123004: cc: Add scheduler support for invalidating content on impl thread. (Closed)
Patch Set: .. Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CC_TREES_PROXY_IMPL_H_ 5 #ifndef CC_TREES_PROXY_IMPL_H_
6 #define CC_TREES_PROXY_IMPL_H_ 6 #define CC_TREES_PROXY_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void WillBeginImplFrame(const BeginFrameArgs& args) override; 95 void WillBeginImplFrame(const BeginFrameArgs& args) override;
96 void DidFinishImplFrame() override; 96 void DidFinishImplFrame() override;
97 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; 97 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override;
98 DrawResult ScheduledActionDrawIfPossible() override; 98 DrawResult ScheduledActionDrawIfPossible() override;
99 DrawResult ScheduledActionDrawForced() override; 99 DrawResult ScheduledActionDrawForced() override;
100 void ScheduledActionCommit() override; 100 void ScheduledActionCommit() override;
101 void ScheduledActionActivateSyncTree() override; 101 void ScheduledActionActivateSyncTree() override;
102 void ScheduledActionBeginCompositorFrameSinkCreation() override; 102 void ScheduledActionBeginCompositorFrameSinkCreation() override;
103 void ScheduledActionPrepareTiles() override; 103 void ScheduledActionPrepareTiles() override;
104 void ScheduledActionInvalidateCompositorFrameSink() override; 104 void ScheduledActionInvalidateCompositorFrameSink() override;
105 void ScheduledActionRunImplSideInvalidation() override;
105 void SendBeginMainFrameNotExpectedSoon() override; 106 void SendBeginMainFrameNotExpectedSoon() override;
106 107
107 DrawResult DrawInternal(bool forced_draw); 108 DrawResult DrawInternal(bool forced_draw);
108 109
109 bool IsImplThread() const; 110 bool IsImplThread() const;
110 bool IsMainThreadBlocked() const; 111 bool IsMainThreadBlocked() const;
111 base::SingleThreadTaskRunner* MainThreadTaskRunner(); 112 base::SingleThreadTaskRunner* MainThreadTaskRunner();
112 113
113 const int layer_tree_host_id_; 114 const int layer_tree_host_id_;
114 115
(...skipping 29 matching lines...) Expand all
144 145
145 // Used to post tasks to ProxyMain on the main thread. 146 // Used to post tasks to ProxyMain on the main thread.
146 base::WeakPtr<ProxyMain> proxy_main_weak_ptr_; 147 base::WeakPtr<ProxyMain> proxy_main_weak_ptr_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); 149 DISALLOW_COPY_AND_ASSIGN(ProxyImpl);
149 }; 150 };
150 151
151 } // namespace cc 152 } // namespace cc
152 153
153 #endif // CC_TREES_PROXY_IMPL_H_ 154 #endif // CC_TREES_PROXY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698