#include <multi_frame_codec.h>
Public Member Functions | |
| MultiFrameCodec (std::shared_ptr< ImageGenerator > generator) | |
| ~MultiFrameCodec () override | |
| int | frameCount () const override |
| int | repetitionCount () const override |
| Dart_Handle | getNextFrame (Dart_Handle args) override |
Public Member Functions inherited from flutter::Codec | |
| void | dispose () |
Public Member Functions inherited from flutter::RefCountedDartWrappable< Codec > | |
| 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 |
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 16 of file multi_frame_codec.h.
|
explicit |
Definition at line 26 of file multi_frame_codec.cc.
|
overridedefault |
|
overridevirtual |
Implements flutter::Codec.
Definition at line 307 of file multi_frame_codec.cc.
|
overridevirtual |
Implements flutter::Codec.
Definition at line 257 of file multi_frame_codec.cc.
References callback, flutter::UIDartState::Current(), tonic::DartState::Current(), FML_LOG, flutter::InvokeNextFrameCallback(), fml::MakeCopyable(), and tonic::ToDart().
|
overridevirtual |
Implements flutter::Codec.
Definition at line 311 of file multi_frame_codec.cc.