Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: gpu/vulkan/vulkan_command_buffer.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/vulkan/tests/vulkan_test.cc ('k') | gpu/vulkan/vulkan_command_pool.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « gpu/vulkan/tests/vulkan_test.cc ('k') | gpu/vulkan/vulkan_command_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698