5#ifndef FLUTTER_LIB_UI_COMPOSITING_SCENE_BUILDER_H_
6#define FLUTTER_LIB_UI_COMPOSITING_SCENE_BUILDER_H_
27 DEFINE_WRAPPERTYPEINFO();
31 static void Create(Dart_Handle wrapper) {
33 auto res = fml::MakeRefCounted<SceneBuilder>();
34 res->AssociateWithDartWrapper(wrapper);
40 Dart_Handle matrix4_handle,
42 tonic::Float64List matrix4(matrix4_handle);
46 tonic::Float64List& matrix4,
87 Dart_Handle backdrop_id,
91 double mask_rect_left,
92 double mask_rect_right,
94 double mask_rect_bottom,
96 int filter_quality_index,
125 void build(Dart_Handle scene_handle);
127 const std::vector<std::shared_ptr<ContainerLayer>>&
layer_stack() {
134 void AddLayer(std::shared_ptr<Layer> layer);
135 void PushLayer(std::shared_ptr<ContainerLayer> layer);
138 std::vector<std::shared_ptr<ContainerLayer>> layer_stack_;
void pushOffset(Dart_Handle layer_handle, double dx, double dy, const fml::RefPtr< EngineLayer > &old_layer)
void pushClipPath(Dart_Handle layer_handle, const CanvasPath *path, int clip_behavior, const fml::RefPtr< EngineLayer > &old_layer)
const std::vector< std::shared_ptr< ContainerLayer > > & layer_stack()
static void Create(Dart_Handle wrapper)
void pushTransform(Dart_Handle layer_handle, tonic::Float64List &matrix4, const fml::RefPtr< EngineLayer > &old_layer)
void pushColorFilter(Dart_Handle layer_handle, const ColorFilter *color_filter, const fml::RefPtr< EngineLayer > &old_layer)
void pushBackdropFilter(Dart_Handle layer_handle, ImageFilter *filter, int blend_mode, Dart_Handle backdrop_id, const fml::RefPtr< EngineLayer > &old_layer)
void pushClipRSuperellipse(Dart_Handle layer_handle, const RSuperellipse *rse, int clip_behavior, const fml::RefPtr< EngineLayer > &old_layer)
void pushTransformHandle(Dart_Handle layer_handle, Dart_Handle matrix4_handle, const fml::RefPtr< EngineLayer > &old_layer)
void addRetained(const fml::RefPtr< EngineLayer > &retained_layer)
void addTexture(double dx, double dy, double width, double height, int64_t texture_id, bool freeze, int filter_quality)
void pushShaderMask(Dart_Handle layer_handle, Shader *shader, double mask_rect_left, double mask_rect_right, double mask_rect_top, double mask_rect_bottom, int blend_mode, int filter_quality_index, const fml::RefPtr< EngineLayer > &old_layer)
void addPerformanceOverlay(uint64_t enabled_options, double left, double right, double top, double bottom)
void pushClipRRect(Dart_Handle layer_handle, const RRect &rrect, int clip_behavior, const fml::RefPtr< EngineLayer > &old_layer)
void pushClipRect(Dart_Handle layer_handle, double left, double right, double top, double bottom, int clip_behavior, const fml::RefPtr< EngineLayer > &old_layer)
void addPicture(double dx, double dy, Picture *picture, int hints)
void pushOpacity(Dart_Handle layer_handle, int alpha, double dx, double dy, const fml::RefPtr< EngineLayer > &old_layer)
void pushImageFilter(Dart_Handle layer_handle, const ImageFilter *image_filter, double dx, double dy, const fml::RefPtr< EngineLayer > &old_layer)
void addPlatformView(double dx, double dy, double width, double height, int64_t view_id)
static void ThrowIfUIOperationsProhibited()
G_BEGIN_DECLS FlutterViewId view_id
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
#define FML_FRIEND_MAKE_REF_COUNTED(T)