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

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

Issue 1432463002: cc: Track BeginMainFrame more precisely in CompositorTimingHistory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase; fix typo Created 5 years, 1 month 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/test/layer_tree_test.cc ('k') | cc/trees/proxy_impl.h » ('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_CHANNEL_MAIN_H_ 5 #ifndef CC_TREES_CHANNEL_MAIN_H_
6 #define CC_TREES_CHANNEL_MAIN_H_ 6 #define CC_TREES_CHANNEL_MAIN_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/base/completion_event.h" 9 #include "cc/base/completion_event.h"
10 #include "cc/input/top_controls_state.h" 10 #include "cc/input/top_controls_state.h"
(...skipping 25 matching lines...) Expand all
36 virtual void SetDeferCommitsOnImpl(bool defer_commits) = 0; 36 virtual void SetDeferCommitsOnImpl(bool defer_commits) = 0;
37 virtual void FinishAllRenderingOnImpl(CompletionEvent* completion) = 0; 37 virtual void FinishAllRenderingOnImpl(CompletionEvent* completion) = 0;
38 virtual void SetVisibleOnImpl(bool visible) = 0; 38 virtual void SetVisibleOnImpl(bool visible) = 0;
39 virtual void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) = 0; 39 virtual void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) = 0;
40 virtual void FinishGLOnImpl(CompletionEvent* completion) = 0; 40 virtual void FinishGLOnImpl(CompletionEvent* completion) = 0;
41 virtual void MainFrameWillHappenOnImplForTesting( 41 virtual void MainFrameWillHappenOnImplForTesting(
42 CompletionEvent* completion, 42 CompletionEvent* completion,
43 bool* main_frame_will_happen) = 0; 43 bool* main_frame_will_happen) = 0;
44 virtual void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) = 0; 44 virtual void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) = 0;
45 virtual void SetNeedsCommitOnImpl() = 0; 45 virtual void SetNeedsCommitOnImpl() = 0;
46 virtual void BeginMainFrameAbortedOnImpl(CommitEarlyOutReason reason) = 0; 46 virtual void BeginMainFrameAbortedOnImpl(
47 CommitEarlyOutReason reason,
48 base::TimeTicks main_thread_start_time) = 0;
47 virtual void StartCommitOnImpl(CompletionEvent* completion, 49 virtual void StartCommitOnImpl(CompletionEvent* completion,
48 LayerTreeHost* layer_tree_host, 50 LayerTreeHost* layer_tree_host,
51 base::TimeTicks main_thread_start_time,
49 bool hold_commit_for_activation) = 0; 52 bool hold_commit_for_activation) = 0;
50 virtual void InitializeImplOnImpl(CompletionEvent* completion, 53 virtual void InitializeImplOnImpl(CompletionEvent* completion,
51 LayerTreeHost* layer_tree_host) = 0; 54 LayerTreeHost* layer_tree_host) = 0;
52 virtual void LayerTreeHostClosedOnImpl(CompletionEvent* completion) = 0; 55 virtual void LayerTreeHostClosedOnImpl(CompletionEvent* completion) = 0;
53 56
54 virtual ~ChannelMain() {} 57 virtual ~ChannelMain() {}
55 }; 58 };
56 59
57 } // namespace cc 60 } // namespace cc
58 61
59 #endif // CC_TREES_CHANNEL_MAIN_H_ 62 #endif // CC_TREES_CHANNEL_MAIN_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698