Flutter Engine
The Flutter Engine
|
Interface implemented by all platform surfaces that can present a Vulkan backing store to the "screen". The GPU surface abstraction (which abstracts the client rendering API) uses this delegation pattern to tell the platform surface (which abstracts how backing stores fulfilled by the selected client rendering API end up on the "screen" on a particular platform) when the rasterizer needs to allocate and present the Vulkan backing store. More...
#include <gpu_surface_vulkan_delegate.h>
Public Member Functions | |
virtual | ~GPUSurfaceVulkanDelegate () |
virtual const vulkan::VulkanProcTable & | vk ()=0 |
Obtain a reference to the Vulkan implementation's proc table. More... | |
virtual FlutterVulkanImage | AcquireImage (const SkISize &size)=0 |
Called by the engine to fetch a VkImage for writing the next frame. More... | |
virtual bool | PresentImage (VkImage image, VkFormat format)=0 |
Called by the engine once a frame has been rendered to the image and it's ready to be bound for further reading/writing. More... | |
Interface implemented by all platform surfaces that can present a Vulkan backing store to the "screen". The GPU surface abstraction (which abstracts the client rendering API) uses this delegation pattern to tell the platform surface (which abstracts how backing stores fulfilled by the selected client rendering API end up on the "screen" on a particular platform) when the rasterizer needs to allocate and present the Vulkan backing store.
Definition at line 29 of file gpu_surface_vulkan_delegate.h.
|
virtualdefault |
|
pure virtual |
Called by the engine to fetch a VkImage for writing the next frame.
Implemented in flutter::EmbedderSurfaceVulkan.
|
pure virtual |
Called by the engine once a frame has been rendered to the image and it's ready to be bound for further reading/writing.
Implemented in flutter::EmbedderSurfaceVulkan.
|
pure virtual |
Obtain a reference to the Vulkan implementation's proc table.
Implemented in flutter::EmbedderSurfaceVulkan.