OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ | 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ |
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ | 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 11 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
10 | 12 |
11 namespace blimp { | 13 namespace blimp { |
12 namespace client { | 14 namespace client { |
13 | 15 |
14 class BlimpGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { | 16 class BlimpGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { |
15 public: | 17 public: |
16 BlimpGpuMemoryBufferManager(); | 18 BlimpGpuMemoryBufferManager(); |
17 ~BlimpGpuMemoryBufferManager() override; | 19 ~BlimpGpuMemoryBufferManager() override; |
(...skipping 14 matching lines...) Expand all Loading... |
32 const gpu::SyncToken& sync_token) override; | 34 const gpu::SyncToken& sync_token) override; |
33 | 35 |
34 private: | 36 private: |
35 DISALLOW_COPY_AND_ASSIGN(BlimpGpuMemoryBufferManager); | 37 DISALLOW_COPY_AND_ASSIGN(BlimpGpuMemoryBufferManager); |
36 }; | 38 }; |
37 | 39 |
38 } // namespace client | 40 } // namespace client |
39 } // namespace blimp | 41 } // namespace blimp |
40 | 42 |
41 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ | 43 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_ |
OLD | NEW |