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

Side by Side Diff: mojo/gpu/texture_cache.h

Issue 1214633009: Include mojo/public/cpp/bindings/binding.h wherever mojo::Binding<> is used. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
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 MOJO_GPU_TEXTURE_CACHE_H_ 5 #ifndef MOJO_GPU_TEXTURE_CACHE_H_
6 #define MOJO_GPU_TEXTURE_CACHE_H_ 6 #define MOJO_GPU_TEXTURE_CACHE_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "mojo/public/cpp/bindings/binding.h"
15 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" 16 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
16 17
17 namespace mojo { 18 namespace mojo {
18 19
19 class GLContext; 20 class GLContext;
20 class GLTexture; 21 class GLTexture;
21 class Size; 22 class Size;
22 23
23 // Represents a cache of textures which can be drawn to and submitted to a 24 // Represents a cache of textures which can be drawn to and submitted to a
24 // surface. 25 // surface.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::map<uint32_t, scoped_ptr<mojo::GLTexture>> resource_to_texture_map_; 71 std::map<uint32_t, scoped_ptr<mojo::GLTexture>> resource_to_texture_map_;
71 std::map<uint32_t, GLuint> resource_to_sync_point_map_; 72 std::map<uint32_t, GLuint> resource_to_sync_point_map_;
72 uint32_t next_resource_id_; 73 uint32_t next_resource_id_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(TextureCache); 75 DISALLOW_COPY_AND_ASSIGN(TextureCache);
75 }; 76 };
76 77
77 } // namespace mojo 78 } // namespace mojo
78 79
79 #endif // MOJO_GPU_TEXTURE_CACHE_H_ 80 #endif // MOJO_GPU_TEXTURE_CACHE_H_
OLDNEW
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.h ('k') | mojo/public/cpp/application/lib/service_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698