Flutter Engine
The Flutter Engine
|
#include <device_buffer.h>
Public Member Functions | |
DeviceBuffer (std::shared_ptr< impeller::DeviceBuffer > device_buffer) | |
~DeviceBuffer () override | |
std::shared_ptr< impeller::DeviceBuffer > | GetBuffer () |
bool | Overwrite (const tonic::DartByteData &source_bytes, size_t destination_offset_in_bytes) |
Public Member Functions inherited from flutter::RefCountedDartWrappable< DeviceBuffer > | |
virtual void | RetainDartWrappableReference () const override |
virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< DeviceBuffer > | |
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 |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< DeviceBuffer > | |
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 17 of file device_buffer.h.
|
explicit |
Definition at line 23 of file device_buffer.cc.
|
overridedefault |
std::shared_ptr< impeller::DeviceBuffer > flutter::gpu::DeviceBuffer::GetBuffer | ( | ) |
Definition at line 29 of file device_buffer.cc.
bool flutter::gpu::DeviceBuffer::Overwrite | ( | const tonic::DartByteData & | source_bytes, |
size_t | destination_offset_in_bytes | ||
) |
Definition at line 33 of file device_buffer.cc.