|
|
| gui_device_vulkan (gui_system &system, vk::PhysicalDevice physicalDevice) |
| |
|
| gui_device_vulkan (const gui_device_vulkan &)=delete |
| |
|
gui_device_vulkan & | operator= (const gui_device_vulkan &)=delete |
| |
|
| gui_device_vulkan (gui_device_vulkan &&)=delete |
| |
|
gui_device_vulkan & | operator= (gui_device_vulkan &&)=delete |
| |
| void | initialize_device (gui_window const &window) override |
| |
|
int | score (vk::SurfaceKHR surface) const |
| |
| int | score (gui_window const &window) const override |
| |
| std::vector< std::pair< uint32_t, uint8_t > > | find_best_queue_family_indices (vk::SurfaceKHR surface) const |
| |
|
std::pair< vk::Buffer, VmaAllocation > | createBuffer (const vk::BufferCreateInfo &bufferCreateInfo, const VmaAllocationCreateInfo &allocationCreateInfo) const |
| |
|
void | destroyBuffer (const vk::Buffer &buffer, const VmaAllocation &allocation) const |
| |
|
std::pair< vk::Image, VmaAllocation > | createImage (const vk::ImageCreateInfo &imageCreateInfo, const VmaAllocationCreateInfo &allocationCreateInfo) const |
| |
|
void | destroyImage (const vk::Image &image, const VmaAllocation &allocation) const |
| |
|
vk::CommandBuffer | beginSingleTimeCommands () const |
| |
|
void | endSingleTimeCommands (vk::CommandBuffer commandBuffer) const |
| |
|
void | transitionLayout (vk::Image image, vk::Format format, vk::ImageLayout srcLayout, vk::ImageLayout dstLayout) const |
| |
|
void | copyImage (vk::Image srcImage, vk::ImageLayout srcLayout, vk::Image dstImage, vk::ImageLayout dstLayout, vk::ArrayProxy< vk::ImageCopy const > regions) const |
| |
|
void | clearColorImage (vk::Image image, vk::ImageLayout layout, vk::ClearColorValue const &color, vk::ArrayProxy< const vk::ImageSubresourceRange > ranges) const |
| |
|
template<typename T > |
| std::span< T > | mapMemory (const VmaAllocation &allocation) const |
| |
|
void | unmapMemory (const VmaAllocation &allocation) const |
| |
|
void | flushAllocation (const VmaAllocation &allocation, VkDeviceSize offset, VkDeviceSize size) const |
| |
|
vk::ShaderModule | loadShader (uint32_t const *data, size_t size) const |
| |
|
vk::ShaderModule | loadShader (std::span< std::byte const > shaderObjectBytes) const |
| |
|
vk::ShaderModule | loadShader (URL const &shaderObjectLocation) const |
| |
|
void | waitIdle () const |
| |
|
vk::Result | waitForFences (vk::ArrayProxy< const vk::Fence > fences, vk::Bool32 waitAll, uint64_t timeout) const |
| |
|
vk::Result | acquireNextImageKHR (vk::SwapchainKHR swapchain, uint64_t timeout, vk::Semaphore semaphore, vk::Fence fence, uint32_t *pImageIndex) const |
| |
|
void | resetFences (vk::ArrayProxy< const vk::Fence > fences) const |
| |
|
vk::Result | createSwapchainKHR (const vk::SwapchainCreateInfoKHR *pCreateInfo, const vk::AllocationCallbacks *pAllocator, vk::SwapchainKHR *pSwapchain) const |
| |
|
std::vector< vk::Image > | getSwapchainImagesKHR (vk::SwapchainKHR swapchain) const |
| |
|
vk::ImageView | createImageView (const vk::ImageViewCreateInfo &createInfo) const |
| |
|
vk::Framebuffer | createFramebuffer (const vk::FramebufferCreateInfo &createInfo) const |
| |
|
vk::RenderPass | createRenderPass (const vk::RenderPassCreateInfo &createInfo) const |
| |
|
vk::Semaphore | createSemaphore (const vk::SemaphoreCreateInfo &createInfo) const |
| |
|
vk::Fence | createFence (const vk::FenceCreateInfo &createInfo) const |
| |
|
vk::DescriptorSetLayout | createDescriptorSetLayout (const vk::DescriptorSetLayoutCreateInfo &createInfo) const |
| |
|
vk::DescriptorPool | createDescriptorPool (const vk::DescriptorPoolCreateInfo &createInfo) const |
| |
|
vk::PipelineLayout | createPipelineLayout (const vk::PipelineLayoutCreateInfo &createInfo) const |
| |
|
vk::Pipeline | createGraphicsPipeline (vk::PipelineCache pipelineCache, const vk::GraphicsPipelineCreateInfo &createInfo) const |
| |
|
vk::Sampler | createSampler (const vk::SamplerCreateInfo &createInfo) const |
| |
|
std::vector< vk::DescriptorSet > | allocateDescriptorSets (const vk::DescriptorSetAllocateInfo &allocateInfo) const |
| |
|
std::vector< vk::CommandBuffer > | allocateCommandBuffers (const vk::CommandBufferAllocateInfo &allocateInfo) const |
| |
|
void | updateDescriptorSets (vk::ArrayProxy< const vk::WriteDescriptorSet > descriptorWrites, vk::ArrayProxy< const vk::CopyDescriptorSet > descriptorCopies) const |
| |
|
void | freeCommandBuffers (vk::CommandPool commandPool, vk::ArrayProxy< const vk::CommandBuffer > commandBuffers) const |
| |
|
template<typename T > |
| void | destroy (T x) const |
| |
|
vk::SurfaceCapabilitiesKHR | getSurfaceCapabilitiesKHR (vk::SurfaceKHR surface) const |
| |
|
std::string | string () const noexcept |
| |
|
| gui_device (gui_system &system) noexcept |
| |
|
| gui_device (const gui_device &)=delete |
| |
|
gui_device & | operator= (const gui_device &)=delete |
| |
|
| gui_device (gui_device &&)=delete |
| |
|
gui_device & | operator= (gui_device &&)=delete |
| |
|
ssize_t | num_windows () const noexcept |
| |
|
void | add (std::shared_ptr< gui_window > window) |
| |
|
void | remove (gui_window &window) noexcept |
| |
|
void | render (hires_utc_clock::time_point displayTimePoint) noexcept |
| |