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

Side by Side Diff: examples/spinning_cube/gles2_client_impl.h

Issue 2236083002: Move mojo/public/c/gpu/* to mojo/public/c/include. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: foo Created 4 years, 4 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 | « examples/spinning_cube/BUILD.gn ('k') | examples/spinning_cube/gles2_client_impl.cc » ('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 #ifndef EXAMPLES_SPINNING_CUBE_GLES2_CLIENT_IMPL_H_ 5 #ifndef EXAMPLES_SPINNING_CUBE_GLES2_CLIENT_IMPL_H_
6 #define EXAMPLES_SPINNING_CUBE_GLES2_CLIENT_IMPL_H_ 6 #define EXAMPLES_SPINNING_CUBE_GLES2_CLIENT_IMPL_H_
7 7
8 #include <MGL/mgl.h>
9
8 #include "examples/spinning_cube/spinning_cube.h" 10 #include "examples/spinning_cube/spinning_cube.h"
9 #include "mojo/public/c/gpu/MGL/mgl.h"
10 #include "mojo/services/geometry/interfaces/geometry.mojom.h" 11 #include "mojo/services/geometry/interfaces/geometry.mojom.h"
11 #include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h" 12 #include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h"
12 13
13 namespace examples { 14 namespace examples {
14 15
15 class GLES2ClientImpl { 16 class GLES2ClientImpl {
16 public: 17 public:
17 explicit GLES2ClientImpl(mojo::ContextProviderPtr context_provider); 18 explicit GLES2ClientImpl(mojo::ContextProviderPtr context_provider);
18 virtual ~GLES2ClientImpl(); 19 virtual ~GLES2ClientImpl();
19 20
(...skipping 18 matching lines...) Expand all
38 39
39 mojo::ContextProviderPtr context_provider_; 40 mojo::ContextProviderPtr context_provider_;
40 MGLContext context_; 41 MGLContext context_;
41 42
42 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2ClientImpl); 43 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2ClientImpl);
43 }; 44 };
44 45
45 } // namespace examples 46 } // namespace examples
46 47
47 #endif // EXAMPLES_SPINNING_CUBE_GLES2_CLIENT_IMPL_H_ 48 #endif // EXAMPLES_SPINNING_CUBE_GLES2_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « examples/spinning_cube/BUILD.gn ('k') | examples/spinning_cube/gles2_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698