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

Side by Side Diff: mojo/cc/context_provider_mojo.h

Issue 504443002: Update mojo surfaces bindings and mojo/cc/ glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gn fixes 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 | Annotate | Revision Log
« no previous file with comments | « mojo/cc/BUILD.gn ('k') | mojo/cc/output_surface_mojo.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_CC_CONTEXT_PROVIDER_MOJO_H_ 5 #ifndef MOJO_CC_CONTEXT_PROVIDER_MOJO_H_
6 #define MOJO_CC_CONTEXT_PROVIDER_MOJO_H_ 6 #define MOJO_CC_CONTEXT_PROVIDER_MOJO_H_
7 7
8 #include "cc/output/context_provider.h" 8 #include "cc/output/context_provider.h"
9 #include "mojo/public/c/gles2/gles2.h" 9 #include "mojo/public/c/gles2/gles2.h"
10 #include "mojo/public/cpp/system/core.h" 10 #include "mojo/public/cpp/system/core.h"
(...skipping 27 matching lines...) Expand all
38 private: 38 private:
39 static void ContextLostThunk(void* closure) { 39 static void ContextLostThunk(void* closure) {
40 static_cast<ContextProviderMojo*>(closure)->ContextLost(); 40 static_cast<ContextProviderMojo*>(closure)->ContextLost();
41 } 41 }
42 void ContextLost(); 42 void ContextLost();
43 43
44 cc::ContextProvider::Capabilities capabilities_; 44 cc::ContextProvider::Capabilities capabilities_;
45 ScopedMessagePipeHandle command_buffer_handle_; 45 ScopedMessagePipeHandle command_buffer_handle_;
46 MojoGLES2Context context_; 46 MojoGLES2Context context_;
47 bool context_lost_; 47 bool context_lost_;
48
49 DISALLOW_COPY_AND_ASSIGN(ContextProviderMojo);
48 }; 50 };
49 51
50 } // namespace mojo 52 } // namespace mojo
51 53
52 #endif // MOJO_CC_CONTEXT_PROVIDER_MOJO_H_ 54 #endif // MOJO_CC_CONTEXT_PROVIDER_MOJO_H_
OLDNEW
« no previous file with comments | « mojo/cc/BUILD.gn ('k') | mojo/cc/output_surface_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698