Flutter Engine
The Flutter Engine
|
#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. More... | |
const VulkanHandle< VkSurfaceKHR > & | Handle () const |
const VulkanNativeSurface & | GetNativeSurface () const |
Definition at line 18 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.
|
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.