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

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

Issue 1821863002: Hook up ui::Compositor to Display's BeginFrameSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Display member destruction order Created 4 years, 8 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
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 LayerTreeHost* layer_tree_host; 72 LayerTreeHost* layer_tree_host;
73 }; 73 };
74 74
75 friend class ProxyImplForTest; 75 friend class ProxyImplForTest;
76 76
77 // LayerTreeHostImplClient implementation 77 // LayerTreeHostImplClient implementation
78 void UpdateRendererCapabilitiesOnImplThread() override; 78 void UpdateRendererCapabilitiesOnImplThread() override;
79 void DidLoseOutputSurfaceOnImplThread() override; 79 void DidLoseOutputSurfaceOnImplThread() override;
80 void CommitVSyncParameters(base::TimeTicks timebase, 80 void CommitVSyncParameters(base::TimeTicks timebase,
81 base::TimeDelta interval) override; 81 base::TimeDelta interval) override;
82 void SetBeginFrameSource(BeginFrameSource* source) override;
82 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; 83 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override;
83 void DidSwapBuffersOnImplThread() override; 84 void DidSwapBuffersOnImplThread() override;
84 void DidSwapBuffersCompleteOnImplThread() override; 85 void DidSwapBuffersCompleteOnImplThread() override;
85 void OnCanDrawStateChanged(bool can_draw) override; 86 void OnCanDrawStateChanged(bool can_draw) override;
86 void NotifyReadyToActivate() override; 87 void NotifyReadyToActivate() override;
87 void NotifyReadyToDraw() override; 88 void NotifyReadyToDraw() override;
88 // Please call these 3 functions through 89 // Please call these 3 functions through
89 // LayerTreeHostImpl's SetNeedsRedraw(), SetNeedsRedrawRect() and 90 // LayerTreeHostImpl's SetNeedsRedraw(), SetNeedsRedrawRect() and
90 // SetNeedsOneBeginImplFrame(). 91 // SetNeedsOneBeginImplFrame().
91 void SetNeedsRedrawOnImplThread() override; 92 void SetNeedsRedrawOnImplThread() override;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // Use accessors instead of this variable directly. 170 // Use accessors instead of this variable directly.
170 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; 171 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_;
171 BlockedMainCommitOnly& blocked_main_commit(); 172 BlockedMainCommitOnly& blocked_main_commit();
172 173
173 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); 174 DISALLOW_COPY_AND_ASSIGN(ProxyImpl);
174 }; 175 };
175 176
176 } // namespace cc 177 } // namespace cc
177 178
178 #endif // CC_TREES_PROXY_IMPL_H_ 179 #endif // CC_TREES_PROXY_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698