Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 GPU_VULKAN_VULKAN_COMMAND_BUFFER_H_ | 5 #ifndef GPU_VULKAN_VULKAN_COMMAND_BUFFER_H_ |
| 6 #define GPU_VULKAN_VULKAN_COMMAND_BUFFER_H_ | 6 #define GPU_VULKAN_VULKAN_COMMAND_BUFFER_H_ |
| 7 | 7 |
| 8 #include <vulkan/vulkan.h> | 8 #include <vulkan/vulkan.h> |
| 9 | 9 |
| 10 #include <memory> | |
|
no sievers
2016/04/05 19:02:42
unused
Mostyn Bramley-Moore
2016/04/05 21:35:33
Removed.
| |
| 11 | |
| 10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | |
| 13 #include "gpu/vulkan/vulkan_export.h" | 14 #include "gpu/vulkan/vulkan_export.h" |
| 14 | 15 |
| 15 namespace gpu { | 16 namespace gpu { |
| 16 | 17 |
| 17 class VulkanCommandPool; | 18 class VulkanCommandPool; |
| 18 class VulkanDeviceQueue; | 19 class VulkanDeviceQueue; |
| 19 | 20 |
| 20 class VULKAN_EXPORT VulkanCommandBuffer { | 21 class VULKAN_EXPORT VulkanCommandBuffer { |
| 21 public: | 22 public: |
| 22 VulkanCommandBuffer(VulkanDeviceQueue* device_queue, | 23 VulkanCommandBuffer(VulkanDeviceQueue* device_queue, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 ScopedSingleUseCommandBufferRecorder(VulkanCommandBuffer& command_buffer); | 128 ScopedSingleUseCommandBufferRecorder(VulkanCommandBuffer& command_buffer); |
| 128 ~ScopedSingleUseCommandBufferRecorder() override {} | 129 ~ScopedSingleUseCommandBufferRecorder() override {} |
| 129 | 130 |
| 130 private: | 131 private: |
| 131 DISALLOW_COPY_AND_ASSIGN(ScopedSingleUseCommandBufferRecorder); | 132 DISALLOW_COPY_AND_ASSIGN(ScopedSingleUseCommandBufferRecorder); |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 } // namespace gpu | 135 } // namespace gpu |
| 135 | 136 |
| 136 #endif // GPU_VULKAN_VULKAN_COMMAND_BUFFER_H_ | 137 #endif // GPU_VULKAN_VULKAN_COMMAND_BUFFER_H_ |
| OLD | NEW |