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

Side by Side Diff: examples/ganesh_app/texture_uploader.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 | « examples/ganesh_app/BUILD.gn ('k') | examples/ganesh_app/texture_uploader.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 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 EXAMPLES_GANESH_APP_TEXTURE_UPLOADER_H_ 5 #ifndef EXAMPLES_GANESH_APP_TEXTURE_UPLOADER_H_
6 #define EXAMPLES_GANESH_APP_TEXTURE_UPLOADER_H_ 6 #define EXAMPLES_GANESH_APP_TEXTURE_UPLOADER_H_
7 7
8 #include "base/containers/hash_tables.h" 8 #include "base/containers/hash_tables.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "mojo/gpu/gl_context.h" 11 #include "mojo/gpu/gl_context.h"
12 #include "mojo/gpu/gl_texture.h" 12 #include "mojo/gpu/gl_texture.h"
13 #include "mojo/public/cpp/bindings/binding.h" 13 #include "mojo/public/cpp/bindings/binding.h"
14 #include "mojo/services/geometry/public/interfaces/geometry.mojom.h" 14 #include "mojo/services/geometry/interfaces/geometry.mojom.h"
15 #include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h" 15 #include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h"
16 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" 16 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 class Shell; 19 class Shell;
20 } 20 }
21 21
22 namespace examples { 22 namespace examples {
23 23
24 class TextureUploader : public mojo::ResourceReturner, 24 class TextureUploader : public mojo::ResourceReturner,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 uint32_t local_id_; 60 uint32_t local_id_;
61 base::hash_map<uint32_t, mojo::GLTexture*> resource_to_texture_map_; 61 base::hash_map<uint32_t, mojo::GLTexture*> resource_to_texture_map_;
62 mojo::Binding<mojo::ResourceReturner> returner_binding_; 62 mojo::Binding<mojo::ResourceReturner> returner_binding_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(TextureUploader); 64 DISALLOW_COPY_AND_ASSIGN(TextureUploader);
65 }; 65 };
66 66
67 } // namespace examples 67 } // namespace examples
68 68
69 #endif // EXAMPLES_GANESH_APP_TEXTURE_UPLOADER_H_ 69 #endif // EXAMPLES_GANESH_APP_TEXTURE_UPLOADER_H_
OLDNEW
« no previous file with comments | « examples/ganesh_app/BUILD.gn ('k') | examples/ganesh_app/texture_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698