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_COMMON_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 5 #ifndef SERVICES_UI_COMMON_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
6 #define COMPONENTS_MUS_COMMON_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 6 #define SERVICES_UI_COMMON_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/mus/common/mus_common_export.h" | |
12 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 11 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
| 12 #include "services/ui/common/mus_common_export.h" |
13 | 13 |
14 namespace mus { | 14 namespace mus { |
15 | 15 |
16 class MUS_COMMON_EXPORT MojoGpuMemoryBufferManager | 16 class MUS_COMMON_EXPORT MojoGpuMemoryBufferManager |
17 : public gpu::GpuMemoryBufferManager { | 17 : public gpu::GpuMemoryBufferManager { |
18 public: | 18 public: |
19 MojoGpuMemoryBufferManager(); | 19 MojoGpuMemoryBufferManager(); |
20 ~MojoGpuMemoryBufferManager() override; | 20 ~MojoGpuMemoryBufferManager() override; |
21 | 21 |
22 // Overridden from gpu::GpuMemoryBufferManager: | 22 // Overridden from gpu::GpuMemoryBufferManager: |
(...skipping 10 matching lines...) Expand all Loading... |
33 ClientBuffer buffer) override; | 33 ClientBuffer buffer) override; |
34 void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer, | 34 void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer, |
35 const gpu::SyncToken& sync_token) override; | 35 const gpu::SyncToken& sync_token) override; |
36 | 36 |
37 private: | 37 private: |
38 DISALLOW_COPY_AND_ASSIGN(MojoGpuMemoryBufferManager); | 38 DISALLOW_COPY_AND_ASSIGN(MojoGpuMemoryBufferManager); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace mus | 41 } // namespace mus |
42 | 42 |
43 #endif // COMPONENTS_MUS_COMMON_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 43 #endif // SERVICES_UI_COMMON_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
OLD | NEW |