summaryrefslogtreecommitdiff
path: root/stream-servers/SwapChainStateVk.h
diff options
context:
space:
mode:
authorKaiyi Li <kaiyili@google.com>2021-10-15 13:15:07 -0700
committerKaiyi Li <kaiyili@google.com>2021-10-15 13:37:47 -0700
commitc701d665f86df07594730be795e1c7a5032c5ed8 (patch)
treefcfd36e2f08c203982a0ceb7e1805b581a2c7a9c /stream-servers/SwapChainStateVk.h
parent2a92d16c57a3518414ea1a8c50c39d6dd7c7fc0c (diff)
downloadvulkan-cereal-c701d665f86df07594730be795e1c7a5032c5ed8.tar.gz
Reformat host compositor classes
Test: compile Change-Id: Ie917051273041971cdfaf2816738429464fa42f4
Diffstat (limited to 'stream-servers/SwapChainStateVk.h')
-rw-r--r--stream-servers/SwapChainStateVk.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/stream-servers/SwapChainStateVk.h b/stream-servers/SwapChainStateVk.h
index 8c2c2026..ee50c07c 100644
--- a/stream-servers/SwapChainStateVk.h
+++ b/stream-servers/SwapChainStateVk.h
@@ -13,23 +13,20 @@ class SwapChainStateVk {
public:
static std::vector<const char *> getRequiredInstanceExtensions();
static std::vector<const char *> getRequiredDeviceExtensions();
- static bool validateQueueFamilyProperties(
- const goldfish_vk::VulkanDispatch &, VkPhysicalDevice, VkSurfaceKHR,
- uint32_t queueFamilyIndex);
+ static bool validateQueueFamilyProperties(const goldfish_vk::VulkanDispatch &, VkPhysicalDevice,
+ VkSurfaceKHR, uint32_t queueFamilyIndex);
using VkSwapchainCreateInfoKHRPtr =
- std::unique_ptr<VkSwapchainCreateInfoKHR,
- std::function<void(VkSwapchainCreateInfoKHR *)>>;
+ std::unique_ptr<VkSwapchainCreateInfoKHR, std::function<void(VkSwapchainCreateInfoKHR *)>>;
static VkSwapchainCreateInfoKHRPtr createSwapChainCi(
- const goldfish_vk::VulkanDispatch &, VkSurfaceKHR, VkPhysicalDevice,
- uint32_t width, uint32_t height,
- const std::unordered_set<uint32_t> &queueFamilyIndices);
+ const goldfish_vk::VulkanDispatch &, VkSurfaceKHR, VkPhysicalDevice, uint32_t width,
+ uint32_t height, const std::unordered_set<uint32_t> &queueFamilyIndices);
explicit SwapChainStateVk(const goldfish_vk::VulkanDispatch &, VkDevice,
- const VkSwapchainCreateInfoKHR &);
+ const VkSwapchainCreateInfoKHR &);
~SwapChainStateVk();
VkFormat getFormat();
- const std::vector<VkImage>& getVkImages() const;
- const std::vector<VkImageView>& getVkImageViews() const;
+ const std::vector<VkImage> &getVkImages() const;
+ const std::vector<VkImageView> &getVkImageViews() const;
VkSwapchainKHR getSwapChain() const;
private: