OLD | NEW |
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 new ContextProviderMojo(command_buffer_handle_.Pass()))); | 83 new ContextProviderMojo(command_buffer_handle_.Pass()))); |
84 } | 84 } |
85 | 85 |
86 void CompositorHost::DidInitializeOutputSurface() { | 86 void CompositorHost::DidInitializeOutputSurface() { |
87 } | 87 } |
88 | 88 |
89 void CompositorHost::WillCommit() {} | 89 void CompositorHost::WillCommit() {} |
90 void CompositorHost::DidCommit() {} | 90 void CompositorHost::DidCommit() {} |
91 void CompositorHost::DidCommitAndDrawFrame() {} | 91 void CompositorHost::DidCommitAndDrawFrame() {} |
92 void CompositorHost::DidCompleteSwapBuffers() {} | 92 void CompositorHost::DidCompleteSwapBuffers() {} |
| 93 void CompositorHost::DidLoseOutputSurface() { |
| 94 } |
93 | 95 |
94 } // namespace examples | 96 } // namespace examples |
95 } // namespace mojo | 97 } // namespace mojo |
OLD | NEW |