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

Side by Side Diff: mojo/examples/compositor_app/compositor_host.cc

Issue 548153004: Unified BeginFrame scheduling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 6 years, 3 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 | « mojo/examples/compositor_app/compositor_host.h ('k') | ui/base/BUILD.gn » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "mojo/examples/compositor_app/compositor_host.h" 5 #include "mojo/examples/compositor_app/compositor_host.h"
6 6
7 #include "cc/layers/layer.h" 7 #include "cc/layers/layer.h"
8 #include "cc/layers/solid_color_layer.h" 8 #include "cc/layers/solid_color_layer.h"
9 #include "cc/output/begin_frame_args.h" 9 #include "cc/output/begin_frame_args.h"
10 #include "cc/output/context_provider.h" 10 #include "cc/output/context_provider.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 new ContextProviderMojo(command_buffer_handle_.Pass()))); 82 new ContextProviderMojo(command_buffer_handle_.Pass())));
83 } 83 }
84 84
85 void CompositorHost::DidInitializeOutputSurface() { 85 void CompositorHost::DidInitializeOutputSurface() {
86 } 86 }
87 87
88 void CompositorHost::WillCommit() {} 88 void CompositorHost::WillCommit() {}
89 void CompositorHost::DidCommit() {} 89 void CompositorHost::DidCommit() {}
90 void CompositorHost::DidCommitAndDrawFrame() {} 90 void CompositorHost::DidCommitAndDrawFrame() {}
91 void CompositorHost::DidCompleteSwapBuffers() {} 91 void CompositorHost::DidCompleteSwapBuffers() {}
92 void CompositorHost::DidLoseOutputSurface() {
93 }
92 94
93 } // namespace examples 95 } // namespace examples
94 } // namespace mojo 96 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/examples/compositor_app/compositor_host.h ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698