OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_MUS_GLES2_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 5 #ifndef COMPONENTS_MUS_GLES2_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
6 #define COMPONENTS_MUS_GLES2_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 6 #define COMPONENTS_MUS_GLES2_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 9 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
9 | 10 |
10 namespace mus { | 11 namespace mus { |
11 | 12 |
12 class MojoGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { | 13 class MojoGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { |
13 public: | 14 public: |
14 MojoGpuMemoryBufferManager(); | 15 MojoGpuMemoryBufferManager(); |
15 ~MojoGpuMemoryBufferManager() override; | 16 ~MojoGpuMemoryBufferManager() override; |
16 | 17 |
17 // Overridden from gpu::GpuMemoryBufferManager: | 18 // Overridden from gpu::GpuMemoryBufferManager: |
(...skipping 10 matching lines...) Expand all Loading... |
28 void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer, | 29 void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer, |
29 const gpu::SyncToken& sync_token) override; | 30 const gpu::SyncToken& sync_token) override; |
30 | 31 |
31 private: | 32 private: |
32 DISALLOW_COPY_AND_ASSIGN(MojoGpuMemoryBufferManager); | 33 DISALLOW_COPY_AND_ASSIGN(MojoGpuMemoryBufferManager); |
33 }; | 34 }; |
34 | 35 |
35 } // namespace mus | 36 } // namespace mus |
36 | 37 |
37 #endif // COMPONENTS_MUS_GLES2_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 38 #endif // COMPONENTS_MUS_GLES2_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
OLD | NEW |