OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_GPU_GPU_MEMORY_MANAGER_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ |
6 #define CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ | 6 #define CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // The current total memory usage, and historical maximum memory usage | 176 // The current total memory usage, and historical maximum memory usage |
177 uint64 bytes_allocated_managed_current_; | 177 uint64 bytes_allocated_managed_current_; |
178 uint64 bytes_allocated_unmanaged_current_; | 178 uint64 bytes_allocated_unmanaged_current_; |
179 uint64 bytes_allocated_historical_max_; | 179 uint64 bytes_allocated_historical_max_; |
180 | 180 |
181 DISALLOW_COPY_AND_ASSIGN(GpuMemoryManager); | 181 DISALLOW_COPY_AND_ASSIGN(GpuMemoryManager); |
182 }; | 182 }; |
183 | 183 |
184 } // namespace content | 184 } // namespace content |
185 | 185 |
186 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ | 186 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ |
OLD | NEW |