#include <texture.h>
Public Member Functions | |
| Texture (std::shared_ptr< impeller::Texture > texture) | |
| ~Texture () override | |
| std::shared_ptr< impeller::Texture > | GetTexture () |
| void | SetCoordinateSystem (impeller::TextureCoordinateSystem coordinate_system) |
| bool | Overwrite (Context &gpu_context, const tonic::DartByteData &source_bytes) |
| size_t | GetBytesPerTexel () |
| Dart_Handle | AsImage () const |
Public Member Functions inherited from flutter::RefCountedDartWrappable< Texture > | |
| 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) |
|
explicit |
Definition at line 24 of file texture.cc.
|
overridedefault |
| Dart_Handle flutter::gpu::Texture::AsImage | ( | ) | const |
Definition at line 73 of file texture.cc.
References flutter::CanvasImage::Create(), image, and impeller::DlImageImpeller::Make().
Referenced by InternalFlutterGpu_Texture_AsImage().
| size_t flutter::gpu::Texture::GetBytesPerTexel | ( | ) |
Definition at line 68 of file texture.cc.
References impeller::BytesPerPixelForPixelFormat().
Referenced by InternalFlutterGpu_Texture_BytesPerTexel().
| std::shared_ptr< impeller::Texture > flutter::gpu::Texture::GetTexture | ( | ) |
Definition at line 29 of file texture.cc.
Referenced by InternalFlutterGpu_RenderPass_SetColorAttachment().
| bool flutter::gpu::Texture::Overwrite | ( | Context & | gpu_context, |
| const tonic::DartByteData & | source_bytes | ||
| ) |
Definition at line 38 of file texture.cc.
References flutter::UIDartState::Current(), flutter::data, tonic::DartByteData::data(), impeller::Context::DisposeThreadLocalCachedResources(), impeller::Context::GetBackendType(), flutter::gpu::Context::GetContext(), impeller::Context::kOpenGLES, tonic::DartByteData::length_in_bytes(), fml::MakeCopyable(), and texture.
| void flutter::gpu::Texture::SetCoordinateSystem | ( | impeller::TextureCoordinateSystem | coordinate_system | ) |
Definition at line 33 of file texture.cc.
Referenced by InternalFlutterGpu_Texture_SetCoordinateSystem().