#include <FlutterCompositor.h>
Public Member Functions | |
FlutterCompositor (id< FlutterViewProvider > view_provider, FlutterTimeConverter *time_converter, FlutterPlatformViewController *platform_views_controller) | |
~FlutterCompositor ()=default | |
void | AddView (FlutterViewId view_id) |
void | RemoveView (FlutterViewId view_id) |
bool | CreateBackingStore (const FlutterBackingStoreConfig *config, FlutterBackingStore *backing_store_out) |
bool | Present (FlutterViewIdentifier view_id, const FlutterLayer **layers, size_t layers_count) |
size_t | DebugNumViews () |
Definition at line 36 of file FlutterCompositor.h.
flutter::FlutterCompositor::FlutterCompositor | ( | id< FlutterViewProvider > | view_provider, |
FlutterTimeConverter * | time_converter, | ||
FlutterPlatformViewController * | platform_views_controller | ||
) |
Definition at line 35 of file FlutterCompositor.mm.
|
default |
void flutter::FlutterCompositor::AddView | ( | FlutterViewId | view_id | ) |
Definition at line 44 of file FlutterCompositor.mm.
bool flutter::FlutterCompositor::CreateBackingStore | ( | const FlutterBackingStoreConfig * | config, |
FlutterBackingStore * | backing_store_out | ||
) |
Definition at line 54 of file FlutterCompositor.mm.
References FlutterSurface::asFlutterMetalTexture, and FlutterView::surfaceManager.
size_t flutter::FlutterCompositor::DebugNumViews | ( | ) |
Definition at line 134 of file FlutterCompositor.mm.
bool flutter::FlutterCompositor::Present | ( | FlutterViewIdentifier | view_id, |
const FlutterLayer ** | layers, | ||
size_t | layers_count | ||
) |
Definition at line 71 of file FlutterCompositor.mm.
References FlutterSurfacePresentInfo::offset, FlutterSurfacePresentInfo::paintRegion, FlutterSurfacePresentInfo::surface, FlutterView::surfaceManager, and FlutterSurfacePresentInfo::zIndex.
void flutter::FlutterCompositor::RemoveView | ( | FlutterViewId | view_id | ) |
Definition at line 49 of file FlutterCompositor.mm.