#include <picture_recorder.h>
Public Member Functions | |
| ~PictureRecorder () override | |
| sk_sp< DisplayListBuilder > | BeginRecording (DlRect bounds) |
| void | endRecording (Dart_Handle dart_picture) |
| void | set_canvas (fml::RefPtr< Canvas > canvas) |
Public Member Functions inherited from flutter::RefCountedDartWrappable< PictureRecorder > | |
| 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 wrapper) |
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) |
Definition at line 15 of file picture_recorder.h.
|
override |
Definition at line 26 of file picture_recorder.cc.
| sk_sp< DisplayListBuilder > flutter::PictureRecorder::BeginRecording | ( | DlRect | bounds | ) |
Definition at line 28 of file picture_recorder.cc.
Referenced by flutter::Canvas::Create().
|
static |
Definition at line 18 of file picture_recorder.cc.
References flutter::UIDartState::ThrowIfUIOperationsProhibited().
| void flutter::PictureRecorder::endRecording | ( | Dart_Handle | dart_picture | ) |
Definition at line 34 of file picture_recorder.cc.
References tonic::DartWrappable::ClearDartWrapper(), flutter::Picture::CreateAndAssociateWithDartWrapper(), and FML_DCHECK.
|
inline |
Definition at line 27 of file picture_recorder.h.
Referenced by flutter::Canvas::Create().