| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_ | 5 #ifndef CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_ |
| 6 #define CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_ | 6 #define CC_TEST_TEST_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 cc { | 13 namespace cc { |
| 12 | 14 |
| 13 class TestGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { | 15 class TestGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { |
| 14 public: | 16 public: |
| 15 TestGpuMemoryBufferManager(); | 17 TestGpuMemoryBufferManager(); |
| 16 ~TestGpuMemoryBufferManager() override; | 18 ~TestGpuMemoryBufferManager() override; |
| 17 | 19 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 34 void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer, | 36 void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer, |
| 35 const gpu::SyncToken& sync_token) override; | 37 const gpu::SyncToken& sync_token) override; |
| 36 | 38 |
| 37 private: | 39 private: |
| 38 DISALLOW_COPY_AND_ASSIGN(TestGpuMemoryBufferManager); | 40 DISALLOW_COPY_AND_ASSIGN(TestGpuMemoryBufferManager); |
| 39 }; | 41 }; |
| 40 | 42 |
| 41 } // namespace cc | 43 } // namespace cc |
| 42 | 44 |
| 43 #endif // CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_ | 45 #endif // CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_ |
| OLD | NEW |