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/context_provider.h" | 9 #include "cc/output/context_provider.h" |
10 #include "cc/output/output_surface.h" | 10 #include "cc/output/output_surface.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 new cc::OutputSurface(new MojoContextProvider(gl_pipe_.Pass()))); | 76 new cc::OutputSurface(new MojoContextProvider(gl_pipe_.Pass()))); |
77 } | 77 } |
78 | 78 |
79 void CompositorHost::DidInitializeOutputSurface(bool success) {} | 79 void CompositorHost::DidInitializeOutputSurface(bool success) {} |
80 | 80 |
81 void CompositorHost::WillCommit() {} | 81 void CompositorHost::WillCommit() {} |
82 void CompositorHost::DidCommit() {} | 82 void CompositorHost::DidCommit() {} |
83 void CompositorHost::DidCommitAndDrawFrame() {} | 83 void CompositorHost::DidCommitAndDrawFrame() {} |
84 void CompositorHost::DidCompleteSwapBuffers() {} | 84 void CompositorHost::DidCompleteSwapBuffers() {} |
85 | 85 |
86 scoped_refptr<cc::ContextProvider> CompositorHost::OffscreenContextProvider() { | |
87 return NULL; | |
88 } | |
89 | |
90 } // namespace examples | 86 } // namespace examples |
91 } // namespace mojo | 87 } // namespace mojo |
OLD | NEW |