#include <scene.h>
Public Member Functions | |
| ~Scene () override | |
| std::unique_ptr< flutter::LayerTree > | takeLayerTree (uint64_t width, uint64_t height) |
| Dart_Handle | toImageSync (uint32_t width, uint32_t height, Dart_Handle raw_image_handle) |
| Dart_Handle | toImage (uint32_t width, uint32_t height, Dart_Handle raw_image_handle) |
| void | dispose () |
Public Member Functions inherited from flutter::RefCountedDartWrappable< Scene > | |
| virtual void | RetainDartWrappableReference () const override |
| virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| 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 |
| 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 scene_handle, std::shared_ptr< flutter::Layer > rootLayer) |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| 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) |
|
static |
Definition at line 27 of file scene.cc.
Referenced by flutter::SceneBuilder::build().
| void flutter::Scene::dispose | ( | ) |
Definition at line 43 of file scene.cc.
References tonic::DartWrappable::ClearDartWrapper().
| std::unique_ptr< flutter::LayerTree > flutter::Scene::takeLayerTree | ( | uint64_t | width, |
| uint64_t | height | ||
| ) |
| Dart_Handle flutter::Scene::toImage | ( | uint32_t | width, |
| uint32_t | height, | ||
| Dart_Handle | raw_image_handle | ||
| ) |
Definition at line 61 of file scene.cc.
References height, flutter::Picture::RasterizeLayerTreeToImage(), tonic::ToDart(), TRACE_EVENT0, and width.
| Dart_Handle flutter::Scene::toImageSync | ( | uint32_t | width, |
| uint32_t | height, | ||
| Dart_Handle | raw_image_handle | ||
| ) |
Definition at line 48 of file scene.cc.
References height, tonic::ToDart(), TRACE_EVENT0, and width.