Flutter Engine
The Flutter Engine
|
#include <vulkan_native_surface_android.h>
Public Member Functions | |
VulkanNativeSurfaceAndroid (ANativeWindow *native_window) | |
~VulkanNativeSurfaceAndroid () | |
const char * | GetExtensionName () const override |
VkSurfaceKHR | CreateSurfaceHandle (VulkanProcTable &vk, const VulkanHandle< VkInstance > &instance) const override |
bool | IsValid () const override |
SkISize | GetSize () const override |
Public Member Functions inherited from vulkan::VulkanNativeSurface | |
virtual | ~VulkanNativeSurface ()=default |
virtual const char * | GetExtensionName () const =0 |
virtual VkSurfaceKHR | CreateSurfaceHandle (VulkanProcTable &vk, const VulkanHandle< VkInstance > &instance) const =0 |
virtual bool | IsValid () const =0 |
virtual SkISize | GetSize () const =0 |
Definition at line 16 of file vulkan_native_surface_android.h.
|
explicit |
Create a native surface from the valid ANativeWindow reference. Ownership of the ANativeWindow is assumed by this instance.
Definition at line 13 of file vulkan_native_surface_android.cc.
vulkan::VulkanNativeSurfaceAndroid::~VulkanNativeSurfaceAndroid | ( | ) |
Definition at line 22 of file vulkan_native_surface_android.cc.
|
overridevirtual |
Implements vulkan::VulkanNativeSurface.
Definition at line 34 of file vulkan_native_surface_android.cc.
|
overridevirtual |
Implements vulkan::VulkanNativeSurface.
Definition at line 29 of file vulkan_native_surface_android.cc.
|
overridevirtual |
Implements vulkan::VulkanNativeSurface.
Definition at line 62 of file vulkan_native_surface_android.cc.
|
overridevirtual |
Implements vulkan::VulkanNativeSurface.
Definition at line 58 of file vulkan_native_surface_android.cc.