#include <image_external_texture_gl_skia.h>
Public Member Functions | |
| ImageExternalTextureGLSkia (const std::shared_ptr< AndroidContextGLSkia > &context, int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &image_textury_entry, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade, ImageExternalTexture::ImageLifecycle lifecycle) | |
Public Member Functions inherited from flutter::ImageExternalTextureGL | |
| ImageExternalTextureGL (int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &image_textury_entry, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade, ImageExternalTexture::ImageLifecycle lifecycle) | |
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, ImageLifecycle lifecycle) | |
| virtual | ~ImageExternalTexture () |
Public Member Functions inherited from flutter::Texture | |
| Texture (int64_t id) | |
| virtual | ~Texture () |
| int64_t | Id () |
Public Member Functions inherited from flutter::ContextListener | |
| ContextListener () | |
| ~ContextListener () | |
Additional Inherited Members | |
Public Types inherited from flutter::ImageExternalTexture | |
| enum class | ImageLifecycle { kReset , kKeepAlive } |
| Whether the last image should be reset when the context is destroyed. More... | |
Protected Types inherited from flutter::ImageExternalTexture | |
| enum class | AttachmentState { kUninitialized , kAttached , kDetached } |
Protected Member Functions inherited from flutter::ImageExternalTextureGL | |
| void | ProcessFrame (PaintContext &context, const SkRect &bounds) override |
| Subclasses override this method to bind the latest representation of the hardware buffer wrapped by this texture instance to their own graphics package specific texture classes (SkImage, impeller::Texture, etc...). | |
| void | UpdateImage (JavaLocalRef &hardware_buffer, const SkRect &bounds, PaintContext &context) |
| impeller::UniqueEGLImageKHR | CreateEGLImage (AHardwareBuffer *buffer) |
| FML_DISALLOW_COPY_AND_ASSIGN (ImageExternalTextureGL) | |
Protected Member Functions inherited from flutter::ImageExternalTexture | |
| JavaLocalRef | AcquireLatestImage () |
| void | CloseImage (const fml::jni::JavaRef< jobject > &image) |
| JavaLocalRef | HardwareBufferFor (const fml::jni::JavaRef< jobject > &image) |
| void | CloseHardwareBuffer (const fml::jni::JavaRef< jobject > &hardware_buffer) |
| AHardwareBuffer * | AHardwareBufferFor (const fml::jni::JavaRef< jobject > &hardware_buffer) |
Protected Attributes inherited from flutter::ImageExternalTextureGL | |
| 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() |
Definition at line 16 of file image_external_texture_gl_skia.h.
| flutter::ImageExternalTextureGLSkia::ImageExternalTextureGLSkia | ( | const std::shared_ptr< AndroidContextGLSkia > & | context, |
| int64_t | id, | ||
| const fml::jni::ScopedJavaGlobalRef< jobject > & | image_textury_entry, | ||
| const std::shared_ptr< PlatformViewAndroidJNI > & | jni_facade, | ||
| ImageExternalTexture::ImageLifecycle | lifecycle | ||
| ) |
Definition at line 12 of file image_external_texture_gl_skia.cc.