Flutter Engine
The Flutter Engine
|
#include <software_surface.h>
Public Member Functions | |
SoftwareSurface (fuchsia::sysmem::AllocatorSyncPtr &sysmem_allocator, fuchsia::ui::composition::AllocatorPtr &flatland_allocator, const SkISize &size) | |
~SoftwareSurface () override | |
size_t | GetAllocationSize () const |
size_t | AdvanceAndGetAge () override |
bool | FlushSessionAcquireAndReleaseEvents () override |
bool | IsValid () const override |
SkISize | GetSize () const override |
void | SignalWritesFinished (const std::function< void(void)> &on_surface_read_finished) 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 |
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 26 of file software_surface.h.
flutter_runner::SoftwareSurface::SoftwareSurface | ( | fuchsia::sysmem::AllocatorSyncPtr & | sysmem_allocator, |
fuchsia::ui::composition::AllocatorPtr & | flatland_allocator, | ||
const SkISize & | size | ||
) |
Definition at line 48 of file software_surface.cc.
|
override |
Definition at line 72 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 316 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 320 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 300 of file software_surface.cc.
|
inline |
Definition at line 34 of file software_surface.h.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 294 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 285 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 306 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 82 of file software_surface.cc.
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 289 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 78 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 280 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 311 of file software_surface.cc.
|
overridevirtual |
Implements flutter_runner::SurfaceProducerSurface.
Definition at line 325 of file software_surface.cc.