Changeset 502bd0b in opengl-game for vulkan-utils.hpp


Ignore:
Timestamp:
Sep 23, 2019, 2:02:47 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
91c89f7
Parents:
c1c2021
Message:

In vulkangame, add code to create a swap chain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-utils.hpp

    rc1c2021 r502bd0b  
    4040      static bool checkDeviceExtensionSupport(VkPhysicalDevice physicalDevice, const vector<const char*>& deviceExtensions);
    4141      static SwapChainSupportDetails querySwapChainSupport(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface);
     42      static VkSurfaceFormatKHR chooseSwapSurfaceFormat(const vector<VkSurfaceFormatKHR>& availableFormats);
     43      static VkPresentModeKHR chooseSwapPresentMode(const vector<VkPresentModeKHR>& availablePresentModes);
     44      static VkExtent2D chooseSwapExtent(const VkSurfaceCapabilitiesKHR& capabilities, int width, int height);
    4245};
    4346
Note: See TracChangeset for help on using the changeset viewer.