#include <vulkan_surface.h>
Public Member Functions | |
| VulkanSurface (VulkanProcTable &vk, VulkanApplication &application, std::unique_ptr< VulkanNativeSurface > native_surface) | |
| ~VulkanSurface () | |
| bool | IsValid () const |
| SkISize | GetSize () const |
| Returns the current size of the surface or (0, 0) if invalid. | |
| const VulkanHandle< VkSurfaceKHR > & | Handle () const |
| const VulkanNativeSurface & | GetNativeSurface () const |
Definition at line 20 of file vulkan_surface.h.
| vulkan::VulkanSurface::VulkanSurface | ( | VulkanProcTable & | vk, |
| VulkanApplication & | application, | ||
| std::unique_ptr< VulkanNativeSurface > | native_surface | ||
| ) |
Definition at line 12 of file vulkan_surface.cc.
References FML_DLOG, vulkan::VulkanApplication::GetInstance(), and surface.
|
default |
| const VulkanNativeSurface & vulkan::VulkanSurface::GetNativeSurface | ( | ) | const |
Definition at line 51 of file vulkan_surface.cc.
| SkISize vulkan::VulkanSurface::GetSize | ( | ) | const |
Returns the current size of the surface or (0, 0) if invalid.
Definition at line 55 of file vulkan_surface.cc.
| const VulkanHandle< VkSurfaceKHR > & vulkan::VulkanSurface::Handle | ( | ) | const |
Definition at line 47 of file vulkan_surface.cc.
| bool vulkan::VulkanSurface::IsValid | ( | ) | const |
Definition at line 43 of file vulkan_surface.cc.