OLD | NEW |
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 CONTENT_BROWSER_GPU_BROWSER_GPU_MEMORY_BUFFER_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_GPU_BROWSER_GPU_MEMORY_BUFFER_MANAGER_H_ |
6 #define CONTENT_BROWSER_GPU_BROWSER_GPU_MEMORY_BUFFER_MANAGER_H_ | 6 #define CONTENT_BROWSER_GPU_BROWSER_GPU_MEMORY_BUFFER_MANAGER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
| 11 #include <memory> |
11 #include <utility> | 12 #include <utility> |
12 | 13 |
13 #include "base/callback.h" | 14 #include "base/callback.h" |
14 #include "base/containers/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
15 #include "base/hash.h" | 16 #include "base/hash.h" |
16 #include "base/macros.h" | 17 #include "base/macros.h" |
17 #include "base/trace_event/memory_dump_provider.h" | 18 #include "base/trace_event/memory_dump_provider.h" |
18 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
19 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 20 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
20 | 21 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 using BufferMap = base::hash_map<gfx::GpuMemoryBufferId, BufferInfo>; | 183 using BufferMap = base::hash_map<gfx::GpuMemoryBufferId, BufferInfo>; |
183 using ClientMap = base::hash_map<int, BufferMap>; | 184 using ClientMap = base::hash_map<int, BufferMap>; |
184 ClientMap clients_; | 185 ClientMap clients_; |
185 | 186 |
186 DISALLOW_COPY_AND_ASSIGN(BrowserGpuMemoryBufferManager); | 187 DISALLOW_COPY_AND_ASSIGN(BrowserGpuMemoryBufferManager); |
187 }; | 188 }; |
188 | 189 |
189 } // namespace content | 190 } // namespace content |
190 | 191 |
191 #endif // CONTENT_BROWSER_GPU_BROWSER_GPU_MEMORY_BUFFER_MANAGER_H_ | 192 #endif // CONTENT_BROWSER_GPU_BROWSER_GPU_MEMORY_BUFFER_MANAGER_H_ |
OLD | NEW |