summaryrefslogtreecommitdiff
path: root/stream-servers/SwapChainStateVk.cpp
AgeCommit message (Collapse)Author
2021-02-10Native VK Swapchain: Use a compact way to initialize Vulkan structsKaiyi Li
Use designated initializers[1] to initialize Vulkan structs in a more compact way. [1]: https://en.cppreference.com/w/cpp/language/aggregate_initialization Test: run the emulator Change-Id: If743b78fc2c7451ca0483b22067c53c3fd0231be
2021-02-09Native VK Swapchain: Fix build on LinuxKaiyi Li
Test: build on both Windows and Linux Change-Id: Ib4cb13154518150bdb8d518a7a929660c02bcefb
2021-02-06Native VK Swapchain: SwapChainStateVk to store Vulkan swap chain statesKaiyi Li
* Allow the client to query required instance extensions and device extensions of SwapChainStateVk. * Allow the client to validate * Create swapchain, retrieve VkImages from the swapchain and create VkImageViews of those VkImages. Currently, the unit tests of SwapChainStateVk is only properly implemented for Windows. To implement for other platform, modify the implementation of SwapChainStateVkTest::createWindowAndSurface(). Test: SwapChainStateVk_unittests Change-Id: I85682877b9b13457ab2b4653bfad58d8aae3da38