Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ | |
| 6 #define CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #if defined(ENABLE_GPU) | |
| 10 | |
| 11 #include "base/basictypes.h" | |
| 12 | |
| 13 #include "content/common/gpu/gpu_memory_allocation.h" | |
| 14 | |
| 15 struct GpuChannelManager; | |
| 16 | |
| 17 class GpuMemoryManager { | |
| 18 public: | |
| 19 GpuMemoryManager(GpuChannelManager* channel_manager); | |
| 20 ~GpuMemoryManager(); | |
| 21 | |
| 22 void Manage() const; | |
| 23 | |
|
nduca
2012/01/27 10:10:13
I would like it if this had a ScheduleManage and M
mmocny
2012/01/27 19:51:33
Done.
On 2012/01/27 10:10:13, nduca wrote:
| |
| 24 private: | |
| 25 GpuChannelManager* channel_manager_; | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(GpuMemoryManager); | |
| 28 }; | |
| 29 | |
| 30 #endif | |
| 31 | |
| 32 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ | |
| OLD | NEW |