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 #pragma once | |
8 | 7 |
9 #if defined(ENABLE_GPU) | 8 #if defined(ENABLE_GPU) |
10 | 9 |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/cancelable_callback.h" | 13 #include "base/cancelable_callback.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
17 | 16 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 bool manage_immediate_scheduled_; | 73 bool manage_immediate_scheduled_; |
75 | 74 |
76 size_t max_surfaces_with_frontbuffer_soft_limit_; | 75 size_t max_surfaces_with_frontbuffer_soft_limit_; |
77 | 76 |
78 DISALLOW_COPY_AND_ASSIGN(GpuMemoryManager); | 77 DISALLOW_COPY_AND_ASSIGN(GpuMemoryManager); |
79 }; | 78 }; |
80 | 79 |
81 #endif | 80 #endif |
82 | 81 |
83 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ | 82 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ |
OLD | NEW |