Flutter Engine
The Flutter Engine
|
#include <scene_builder.h>
Public Member Functions | |
~SceneBuilder () override | |
void | pushTransformHandle (Dart_Handle layer_handle, Dart_Handle matrix4_handle, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushTransform (Dart_Handle layer_handle, tonic::Float64List &matrix4, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushOffset (Dart_Handle layer_handle, double dx, double dy, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushClipRect (Dart_Handle layer_handle, double left, double right, double top, double bottom, int clipBehavior, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushClipRRect (Dart_Handle layer_handle, const RRect &rrect, int clipBehavior, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushClipPath (Dart_Handle layer_handle, const CanvasPath *path, int clipBehavior, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushOpacity (Dart_Handle layer_handle, int alpha, double dx, double dy, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushColorFilter (Dart_Handle layer_handle, const ColorFilter *color_filter, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushImageFilter (Dart_Handle layer_handle, const ImageFilter *image_filter, double dx, double dy, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushBackdropFilter (Dart_Handle layer_handle, ImageFilter *filter, int blendMode, const fml::RefPtr< EngineLayer > &oldLayer) |
void | pushShaderMask (Dart_Handle layer_handle, Shader *shader, double maskRectLeft, double maskRectRight, double maskRectTop, double maskRectBottom, int blendMode, int filterQualityIndex, const fml::RefPtr< EngineLayer > &oldLayer) |
void | addRetained (const fml::RefPtr< EngineLayer > &retainedLayer) |
void | pop () |
void | addPerformanceOverlay (uint64_t enabledOptions, double left, double right, double top, double bottom) |
void | addPicture (double dx, double dy, Picture *picture, int hints) |
void | addTexture (double dx, double dy, double width, double height, int64_t textureId, bool freeze, int filterQuality) |
void | addPlatformView (double dx, double dy, double width, double height, int64_t viewId) |
void | build (Dart_Handle scene_handle) |
const std::vector< std::shared_ptr< ContainerLayer > > & | layer_stack () |
Public Member Functions inherited from flutter::RefCountedDartWrappable< SceneBuilder > | |
virtual void | RetainDartWrappableReference () const override |
virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< SceneBuilder > | |
void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
void | AddRef () const |
bool | HasOneRef () const |
void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
DartWrappable () | |
virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
virtual void | RetainDartWrappableReference () const =0 |
virtual void | ReleaseDartWrappableReference () const =0 |
Dart_Handle | CreateDartWrapper (DartState *dart_state) |
void | AssociateWithDartWrapper (Dart_Handle wrappable) |
void | ClearDartWrapper () |
Dart_WeakPersistentHandle | dart_wrapper () const |
Static Public Member Functions | |
static void | Create (Dart_Handle wrapper) |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< SceneBuilder > | |
RefCountedThreadSafe () | |
~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
RefCountedThreadSafeBase () | |
~RefCountedThreadSafeBase () | |
bool | Release () const |
void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
Definition at line 26 of file scene_builder.h.
|
overridedefault |
void flutter::SceneBuilder::addPerformanceOverlay | ( | uint64_t | enabledOptions, |
double | left, | ||
double | right, | ||
double | top, | ||
double | bottom | ||
) |
Definition at line 258 of file scene_builder.cc.
Definition at line 213 of file scene_builder.cc.
void flutter::SceneBuilder::addPlatformView | ( | double | dx, |
double | dy, | ||
double | width, | ||
double | height, | ||
int64_t | viewId | ||
) |
Definition at line 247 of file scene_builder.cc.
void flutter::SceneBuilder::addRetained | ( | const fml::RefPtr< EngineLayer > & | retainedLayer | ) |
Definition at line 205 of file scene_builder.cc.
void flutter::SceneBuilder::addTexture | ( | double | dx, |
double | dy, | ||
double | width, | ||
double | height, | ||
int64_t | textureId, | ||
bool | freeze, | ||
int | filterQuality | ||
) |
Definition at line 232 of file scene_builder.cc.
void flutter::SceneBuilder::build | ( | Dart_Handle | scene_handle | ) |
Definition at line 271 of file scene_builder.cc.
|
inlinestatic |
Definition at line 31 of file scene_builder.h.
|
inline |
Definition at line 122 of file scene_builder.h.
void flutter::SceneBuilder::pop | ( | ) |
Definition at line 209 of file scene_builder.cc.
void flutter::SceneBuilder::pushBackdropFilter | ( | Dart_Handle | layer_handle, |
ImageFilter * | filter, | ||
int | blendMode, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 167 of file scene_builder.cc.
void flutter::SceneBuilder::pushClipPath | ( | Dart_Handle | layer_handle, |
const CanvasPath * | path, | ||
int | clipBehavior, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 108 of file scene_builder.cc.
void flutter::SceneBuilder::pushClipRect | ( | Dart_Handle | layer_handle, |
double | left, | ||
double | right, | ||
double | top, | ||
double | bottom, | ||
int | clipBehavior, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 73 of file scene_builder.cc.
void flutter::SceneBuilder::pushClipRRect | ( | Dart_Handle | layer_handle, |
const RRect & | rrect, | ||
int | clipBehavior, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 93 of file scene_builder.cc.
void flutter::SceneBuilder::pushColorFilter | ( | Dart_Handle | layer_handle, |
const ColorFilter * | color_filter, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 139 of file scene_builder.cc.
void flutter::SceneBuilder::pushImageFilter | ( | Dart_Handle | layer_handle, |
const ImageFilter * | image_filter, | ||
double | dx, | ||
double | dy, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 152 of file scene_builder.cc.
void flutter::SceneBuilder::pushOffset | ( | Dart_Handle | layer_handle, |
double | dx, | ||
double | dy, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 59 of file scene_builder.cc.
void flutter::SceneBuilder::pushOpacity | ( | Dart_Handle | layer_handle, |
int | alpha, | ||
double | dx, | ||
double | dy, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 124 of file scene_builder.cc.
void flutter::SceneBuilder::pushShaderMask | ( | Dart_Handle | layer_handle, |
Shader * | shader, | ||
double | maskRectLeft, | ||
double | maskRectRight, | ||
double | maskRectTop, | ||
double | maskRectBottom, | ||
int | blendMode, | ||
int | filterQualityIndex, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 182 of file scene_builder.cc.
void flutter::SceneBuilder::pushTransform | ( | Dart_Handle | layer_handle, |
tonic::Float64List & | matrix4, | ||
const fml::RefPtr< EngineLayer > & | oldLayer | ||
) |
Definition at line 44 of file scene_builder.cc.
|
inline |
Definition at line 39 of file scene_builder.h.