State holder for a Flutter overlay layer. More...
#include <overlay_layer_pool.h>
Public Member Functions | |
OverlayLayer (const fml::scoped_nsobject< UIView > &overlay_view, const fml::scoped_nsobject< UIView > &overlay_view_wrapper, std::unique_ptr< IOSSurface > ios_surface, std::unique_ptr< Surface > surface) | |
~OverlayLayer ()=default | |
void | UpdateViewState (UIView *flutter_view, SkRect rect, int64_t view_id, int64_t overlay_id) |
Public Attributes | |
fml::scoped_nsobject< UIView > | overlay_view |
fml::scoped_nsobject< UIView > | overlay_view_wrapper |
std::unique_ptr< IOSSurface > | ios_surface |
std::unique_ptr< Surface > | surface |
bool | did_submit_last_frame |
GrDirectContext * | gr_context |
State holder for a Flutter overlay layer.
Definition at line 23 of file overlay_layer_pool.h.
flutter::OverlayLayer::OverlayLayer | ( | const fml::scoped_nsobject< UIView > & | overlay_view, |
const fml::scoped_nsobject< UIView > & | overlay_view_wrapper, | ||
std::unique_ptr< IOSSurface > | ios_surface, | ||
std::unique_ptr< Surface > | surface | ||
) |
Definition at line 12 of file overlay_layer_pool.mm.
|
default |
void flutter::OverlayLayer::UpdateViewState | ( | UIView * | flutter_view, |
SkRect | rect, | ||
int64_t | view_id, | ||
int64_t | overlay_id | ||
) |
Definition at line 21 of file overlay_layer_pool.mm.
References overlay_view, and overlay_view_wrapper.
bool flutter::OverlayLayer::did_submit_last_frame |
Definition at line 37 of file overlay_layer_pool.h.
GrDirectContext* flutter::OverlayLayer::gr_context |
Definition at line 42 of file overlay_layer_pool.h.
std::unique_ptr<IOSSurface> flutter::OverlayLayer::ios_surface |
Definition at line 33 of file overlay_layer_pool.h.
fml::scoped_nsobject<UIView> flutter::OverlayLayer::overlay_view |
Definition at line 31 of file overlay_layer_pool.h.
Referenced by UpdateViewState().
fml::scoped_nsobject<UIView> flutter::OverlayLayer::overlay_view_wrapper |
Definition at line 32 of file overlay_layer_pool.h.
Referenced by UpdateViewState().
std::unique_ptr<Surface> flutter::OverlayLayer::surface |
Definition at line 34 of file overlay_layer_pool.h.