| 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 "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | |
| 13 #include "gpu/vulkan/vulkan_export.h" | 12 #include "gpu/vulkan/vulkan_export.h" |
| 14 | 13 |
| 15 namespace gpu { | 14 namespace gpu { |
| 16 | 15 |
| 17 class VulkanCommandPool; | 16 class VulkanCommandPool; |
| 18 class VulkanDeviceQueue; | 17 class VulkanDeviceQueue; |
| 19 | 18 |
| 20 class VULKAN_EXPORT VulkanCommandBuffer { | 19 class VULKAN_EXPORT VulkanCommandBuffer { |
| 21 public: | 20 public: |
| 22 VulkanCommandBuffer(VulkanDeviceQueue* device_queue, | 21 VulkanCommandBuffer(VulkanDeviceQueue* device_queue, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 ScopedSingleUseCommandBufferRecorder(VulkanCommandBuffer& command_buffer); | 126 ScopedSingleUseCommandBufferRecorder(VulkanCommandBuffer& command_buffer); |
| 128 ~ScopedSingleUseCommandBufferRecorder() override {} | 127 ~ScopedSingleUseCommandBufferRecorder() override {} |
| 129 | 128 |
| 130 private: | 129 private: |
| 131 DISALLOW_COPY_AND_ASSIGN(ScopedSingleUseCommandBufferRecorder); | 130 DISALLOW_COPY_AND_ASSIGN(ScopedSingleUseCommandBufferRecorder); |
| 132 }; | 131 }; |
| 133 | 132 |
| 134 } // namespace gpu | 133 } // namespace gpu |
| 135 | 134 |
| 136 #endif // GPU_VULKAN_VULKAN_COMMAND_BUFFER_H_ | 135 #endif // GPU_VULKAN_VULKAN_COMMAND_BUFFER_H_ |
| OLD | NEW |