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

Side by Side Diff: apps/moterm/gl_helper.h

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 years, 2 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 | « apps/moterm/BUILD.gn ('k') | apps/moterm/gl_helper.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 APPS_MOTERM_GL_HELPER_H_ 5 #ifndef APPS_MOTERM_GL_HELPER_H_
6 #define APPS_MOTERM_GL_HELPER_H_ 6 #define APPS_MOTERM_GL_HELPER_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 #include <MGL/mgl_types.h> 9 #include <MGL/mgl_types.h>
10 10
11 #include <deque> 11 #include <deque>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "mojo/public/cpp/bindings/binding.h" 16 #include "mojo/public/cpp/bindings/binding.h"
17 #include "mojo/services/geometry/public/interfaces/geometry.mojom.h" 17 #include "mojo/services/geometry/interfaces/geometry.mojom.h"
18 #include "mojo/services/gpu/public/interfaces/gpu.mojom.h" 18 #include "mojo/services/gpu/interfaces/gpu.mojom.h"
19 #include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h" 19 #include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h"
20 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" 20 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 class Shell; 23 class Shell;
24 } 24 }
25 25
26 // A class that helps with drawing surfaces using GL. 26 // A class that helps with drawing surfaces using GL.
27 class GlHelper : public mojo::ResourceReturner { 27 class GlHelper : public mojo::ResourceReturner {
28 public: 28 public:
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 uint32_t next_resource_id_; 162 uint32_t next_resource_id_;
163 std::vector<TextureInfo> textures_pending_return_; 163 std::vector<TextureInfo> textures_pending_return_;
164 164
165 base::WeakPtrFactory<GlHelper> weak_factory_; 165 base::WeakPtrFactory<GlHelper> weak_factory_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(GlHelper); 167 DISALLOW_COPY_AND_ASSIGN(GlHelper);
168 }; 168 };
169 169
170 #endif // APPS_MOTERM_GL_HELPER_H_ 170 #endif // APPS_MOTERM_GL_HELPER_H_
OLDNEW
« no previous file with comments | « apps/moterm/BUILD.gn ('k') | apps/moterm/gl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698