Flutter Engine
The Flutter Engine
|
#include <image_external_texture_gl.h>
Classes | |
struct | GlEntry |
Public Member Functions | |
ImageExternalTextureGL (int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &image_textury_entry, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade) | |
Public Member Functions inherited from flutter::ImageExternalTexture | |
ImageExternalTexture (int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &image_texture_entry, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade) | |
virtual | ~ImageExternalTexture ()=default |
void | Paint (PaintContext &context, const SkRect &bounds, bool freeze, const DlImageSampling sampling) override |
void | MarkNewFrameAvailable () override |
void | OnTextureUnregistered () override |
void | OnGrContextCreated () override |
void | OnGrContextDestroyed () override |
Public Member Functions inherited from flutter::Texture | |
Texture (int64_t id) | |
virtual | ~Texture () |
virtual void | Paint (PaintContext &context, const SkRect &bounds, bool freeze, const DlImageSampling sampling)=0 |
virtual void | MarkNewFrameAvailable ()=0 |
virtual void | OnTextureUnregistered ()=0 |
int64_t | Id () |
Public Member Functions inherited from flutter::ContextListener | |
ContextListener () | |
~ContextListener () | |
virtual void | OnGrContextCreated ()=0 |
virtual void | OnGrContextDestroyed ()=0 |
Protected Attributes | |
std::unordered_map< HardwareBufferKey, GlEntry > | gl_entries_ |
Protected Attributes inherited from flutter::ImageExternalTexture | |
fml::jni::ScopedJavaGlobalRef< jobject > | image_texture_entry_ |
std::shared_ptr< PlatformViewAndroidJNI > | jni_facade_ |
AttachmentState | state_ = AttachmentState::kUninitialized |
sk_sp< flutter::DlImage > | dl_image_ |
ImageLRU | image_lru_ = ImageLRU() |
Additional Inherited Members | |
Protected Types inherited from flutter::ImageExternalTexture | |
enum class | AttachmentState { kUninitialized , kAttached , kDetached } |
Definition at line 23 of file image_external_texture_gl.h.
flutter::ImageExternalTextureGL::ImageExternalTextureGL | ( | int64_t | id, |
const fml::jni::ScopedJavaGlobalRef< jobject > & | image_textury_entry, | ||
const std::shared_ptr< PlatformViewAndroidJNI > & | jni_facade | ||
) |
Definition at line 24 of file image_external_texture_gl.cc.
|
overrideprotectedvirtual |
Implements flutter::ImageExternalTexture.
Definition at line 30 of file image_external_texture_gl.cc.
|
protectedpure virtual |
|
protected |
Definition at line 83 of file image_external_texture_gl.cc.
|
overrideprotectedvirtual |
Implements flutter::ImageExternalTexture.
Definition at line 78 of file image_external_texture_gl.cc.
|
protected |
|
overrideprotectedvirtual |
Implements flutter::ImageExternalTexture.
Definition at line 67 of file image_external_texture_gl.cc.
|
protected |
Definition at line 43 of file image_external_texture_gl.cc.
|
protected |
Definition at line 54 of file image_external_texture_gl.h.