◆ applyMutators:embeddedView:boundingRect:
- (void) applyMutators: |
|
(const flutter::MutatorsStack &) |
mutatorsStack |
embeddedView: |
|
(UIView *) |
embeddedView |
boundingRect: |
|
(const SkRect &) |
boundingRect |
|
|
| |
◆ bringLayersIntoView:withCompositionOrder:
- (void) bringLayersIntoView: |
|
(const LayersMap &) |
layerMap |
withCompositionOrder: |
|
(const std::vector< int64_t > &) |
compositionOrder |
|
|
| |
◆ clipViewSetMaskView:
- (void) clipViewSetMaskView: |
|
(UIView *) |
clipView |
|
◆ computeViewsToDispose
Computes and returns all views to be disposed on the platform thread, removes them from self.platformViews, self.viewsToRecomposite, and self.currentCompositionParams. Any views that still require compositing are not returned, but instead added to viewsToDelayDispose
for disposal on the next call.
◆ createLayerWithIosContext:grContext:pixelFormat:
- (void) createLayerWithIosContext: |
|
(const std::shared_ptr< flutter::IOSContext > &) |
iosContext |
grContext: |
|
(GrDirectContext *) |
grContext |
pixelFormat: |
|
(MTLPixelFormat) |
pixelFormat |
|
|
| |
Runs on the platform thread.
◆ createMissingOverlays:withIosContext:grContext:
- (void) createMissingOverlays: |
|
(size_t) |
requiredOverlayLayers |
withIosContext: |
|
(const std::shared_ptr< flutter::IOSContext > &) |
iosContext |
grContext: |
|
(GrDirectContext *) |
grContext |
|
|
| |
Populate any missing overlay layers.
This requires posting a task to the platform thread and blocking on its completion.
◆ nextLayerInPool
◆ onAcceptGesture:result:
◆ onCreate:result:
◆ onDispose:result:
◆ onRejectGesture:result:
◆ performSubmit:currentCompositionParams:viewsToRecomposite:compositionOrder:unusedLayers:surfaceFrames:
- (void) performSubmit: |
|
(const LayersMap &) |
platformViewLayers |
currentCompositionParams: |
|
(std::unordered_map< int64_t, flutter::EmbeddedViewParams > &) |
currentCompositionParams |
viewsToRecomposite: |
|
(const std::unordered_set< int64_t > &) |
viewsToRecomposite |
compositionOrder: |
|
(const std::vector< int64_t > &) |
compositionOrder |
unusedLayers: |
|
(const std::vector< std::shared_ptr< flutter::OverlayLayer >> &) |
unusedLayers |
surfaceFrames: |
|
(const std::vector< std::unique_ptr< flutter::SurfaceFrame >> &) |
surfaceFrames |
|
|
| |
Update the buffers and mutate the platform views in CATransaction on the platform thread.
◆ removeUnusedLayers:withCompositionOrder:
- (void) removeUnusedLayers: |
|
(const std::vector< std::shared_ptr< flutter::OverlayLayer >> &) |
unusedLayers |
withCompositionOrder: |
|
(const std::vector< int64_t > &) |
compositionOrder |
|
|
| |
Removes overlay views and platform views that aren't needed in the current frame. Must run on the platform thread.
◆ resetFrameState
Resets the state of the frame.
◆ canApplyBlurBackdrop
- (BOOL) canApplyBlurBackdrop |
|
readwritenonatomicassign |
Whether blurred backdrop filters can be applied.
Defaults to YES, but becomes NO if blurred backdrop filters cannot be applied.
Definition at line 198 of file FlutterPlatformViewsController.mm.
◆ compositionOrder
◆ currentCompositionParams
- (unordered_map<int64_t,) flutter: |
|
readnonatomicassign |
◆ factories
◆ frameSize
◆ gestureRecognizersBlockingPolicies
◆ hadPlatformViews
- (BOOL) hadPlatformViews |
|
readwritenonatomicassign |
Whether the previous frame had any platform views in active composition order.
This state is tracked so that the first frame after removing the last platform view runs through the platform view rendering code path, giving us a chance to remove the platform view from the UIView hierarchy.
Only accessed from the raster thread.
Definition at line 193 of file FlutterPlatformViewsController.mm.
◆ layerPool
◆ maskViewPool
◆ platformTaskRunner
◆ platformViews
◆ previousCompositionOrder
◆ slices
- (unordered_map<int64_t,) std: |
|
readnonatomicassign |
◆ viewsToDispose
Method channel OnDispose
calls adds the views to be disposed to this set to be disposed on the next frame.
This state is modified on both the platform and raster thread.
Definition at line 164 of file FlutterPlatformViewsController.mm.
◆ viewsToRecomposite
◆ visitedPlatformViews
The documentation for this category was generated from the following file: