Chromium Code Reviews| Index: content/common/gpu/gpu_memory_manager.h |
| diff --git a/content/common/gpu/gpu_memory_manager.h b/content/common/gpu/gpu_memory_manager.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3e0efdf620bb0bcc94c9286524c08091641cccf1 |
| --- /dev/null |
| +++ b/content/common/gpu/gpu_memory_manager.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ |
| +#define CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ |
| +#pragma once |
| + |
| +#if defined(ENABLE_GPU) |
| + |
| +#include "base/basictypes.h" |
| + |
| +#include "content/common/gpu/gpu_memory_allocation.h" |
| + |
| +struct GpuChannelManager; |
| + |
| +class GpuMemoryManager { |
| +public: |
| + GpuMemoryManager(GpuChannelManager* channel_manager); |
| + ~GpuMemoryManager(); |
| + |
| + void Manage() const; |
| + |
|
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:
|
| +private: |
| + GpuChannelManager* channel_manager_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(GpuMemoryManager); |
| +}; |
| + |
| +#endif |
| + |
| +#endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ |