Flutter Engine
The Flutter Engine
|
#include <vulkan_surface.h>
Public Member Functions | |
VulkanSurface (vulkan::VulkanProvider &vulkan_provider, fuchsia::sysmem::AllocatorSyncPtr &sysmem_allocator, fuchsia::ui::composition::AllocatorPtr &flatland_allocator, sk_sp< GrDirectContext > context, const SkISize &size) | |
~VulkanSurface () override | |
size_t | AdvanceAndGetAge () override |
bool | FlushSessionAcquireAndReleaseEvents () override |
bool | IsValid () const override |
SkISize | GetSize () const override |
void | SignalWritesFinished (const std::function< void(void)> &on_writes_committed) override |
void | SetImageId (uint32_t image_id) override |
uint32_t | GetImageId () override |
sk_sp< SkSurface > | GetSkiaSurface () const override |
fuchsia::ui::composition::BufferCollectionImportToken | GetBufferCollectionImportToken () override |
zx::event | GetAcquireFence () override |
zx::event | GetReleaseFence () override |
void | SetReleaseImageCallback (ReleaseImageCallback release_image_callback) override |
const vulkan::VulkanHandle< VkImage > & | GetVkImage () |
const vulkan::VulkanHandle< VkSemaphore > & | GetAcquireVkSemaphore () |
vulkan::VulkanCommandBuffer * | GetCommandBuffer (const vulkan::VulkanHandle< VkCommandPool > &pool) |
const vulkan::VulkanHandle< VkFence > & | GetCommandBufferFence () |
size_t | GetAllocationSize () const |
size_t | GetImageMemoryRequirementsSize () const |
bool | IsOversized () const |
bool | HasStableSizeHistory () const |
Public Member Functions inherited from flutter_runner::SurfaceProducerSurface | |
virtual | ~SurfaceProducerSurface ()=default |
virtual bool | IsValid () const =0 |
virtual SkISize | GetSize () const =0 |
virtual void | SetImageId (uint32_t image_id)=0 |
virtual uint32_t | GetImageId ()=0 |
virtual sk_sp< SkSurface > | GetSkiaSurface () const =0 |
virtual fuchsia::ui::composition::BufferCollectionImportToken | GetBufferCollectionImportToken ()=0 |
virtual zx::event | GetAcquireFence ()=0 |
virtual zx::event | GetReleaseFence ()=0 |
virtual void | SetReleaseImageCallback (ReleaseImageCallback release_image_callback)=0 |
virtual size_t | AdvanceAndGetAge ()=0 |
virtual bool | FlushSessionAcquireAndReleaseEvents ()=0 |
virtual void | SignalWritesFinished (const std::function< void(void)> &on_writes_committed)=0 |
Definition at line 44 of file vulkan_surface.h.
flutter_runner::VulkanSurface::VulkanSurface | ( | vulkan::VulkanProvider & | vulkan_provider, |
fuchsia::sysmem::AllocatorSyncPtr & | sysmem_allocator, | ||
fuchsia::ui::composition::AllocatorPtr & | flatland_allocator, | ||
sk_sp< GrDirectContext > | context, | ||
const SkISize & | size | ||
) |
Definition at line 148 of file vulkan_surface.cc.
|
override |
Definition at line 178 of file vulkan_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 474 of file vulkan_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 481 of file vulkan_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 458 of file vulkan_surface.cc.
|
inline |
Definition at line 98 of file vulkan_surface.h.
|
inline |
Definition at line 114 of file vulkan_surface.h.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 452 of file vulkan_surface.cc.
|
inline |
Definition at line 102 of file vulkan_surface.h.
|
inline |
Definition at line 110 of file vulkan_surface.h.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 443 of file vulkan_surface.cc.
|
inline |
Definition at line 116 of file vulkan_surface.h.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 464 of file vulkan_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 190 of file vulkan_surface.cc.
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 447 of file vulkan_surface.cc.
|
inline |
Definition at line 94 of file vulkan_surface.h.
|
inline |
Definition at line 124 of file vulkan_surface.h.
|
inline |
Definition at line 120 of file vulkan_surface.h.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 186 of file vulkan_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 438 of file vulkan_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 469 of file vulkan_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 486 of file vulkan_surface.cc.