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

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

Issue 2645633003: Fix compile errors when building with enable_vulkan=true.
Patch Set: Created 3 years, 11 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 | « content/browser/compositor/vulkan_browser_compositor_output_surface.cc ('k') | no next file » | 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_SWAP_CHAIN_H_ 5 #ifndef GPU_VULKAN_VULKAN_SWAP_CHAIN_H_
6 #define GPU_VULKAN_VULKAN_SWAP_CHAIN_H_ 6 #define GPU_VULKAN_VULKAN_SWAP_CHAIN_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 #include <vulkan/vulkan.h> 10 #include <vulkan/vulkan.h>
11 11
12 #include "base/logging.h"
12 #include "gpu/vulkan/vulkan_export.h" 13 #include "gpu/vulkan/vulkan_export.h"
13 #include "ui/gfx/geometry/size.h" 14 #include "ui/gfx/geometry/size.h"
14 #include "ui/gfx/swap_result.h" 15 #include "ui/gfx/swap_result.h"
15 16
16 namespace gpu { 17 namespace gpu {
17 18
18 class VulkanCommandBuffer; 19 class VulkanCommandBuffer;
19 class VulkanCommandPool; 20 class VulkanCommandPool;
20 class VulkanDeviceQueue; 21 class VulkanDeviceQueue;
21 class VulkanImageView; 22 class VulkanImageView;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 }; 82 };
82 std::vector<std::unique_ptr<ImageData>> images_; 83 std::vector<std::unique_ptr<ImageData>> images_;
83 uint32_t current_image_ = 0; 84 uint32_t current_image_ = 0;
84 85
85 VkSemaphore next_present_semaphore_ = VK_NULL_HANDLE; 86 VkSemaphore next_present_semaphore_ = VK_NULL_HANDLE;
86 }; 87 };
87 88
88 } // namespace gpu 89 } // namespace gpu
89 90
90 #endif // GPU_VULKAN_VULKAN_SWAP_CHAIN_H_ 91 #endif // GPU_VULKAN_VULKAN_SWAP_CHAIN_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/vulkan_browser_compositor_output_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698