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

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

Issue 251343002: Remove offscreen compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-offscreencontext: include Created 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/examples/compositor_app/compositor_host.h ('k') | ui/compositor/compositor.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 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
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
OLDNEW
« no previous file with comments | « mojo/examples/compositor_app/compositor_host.h ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698