Flutter Engine
 
Loading...
Searching...
No Matches
flutter::ImageExternalTextureVKImpeller Class Reference

#include <image_external_texture_vk_impeller.h>

Inheritance diagram for flutter::ImageExternalTextureVKImpeller:
flutter::ImageExternalTexture flutter::Texture flutter::ContextListener

Public Member Functions

 ImageExternalTextureVKImpeller (const std::shared_ptr< impeller::ContextVK > &impeller_context, int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &hardware_buffer_texture_entry, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade, ImageExternalTexture::ImageLifecycle lifecycle)
 
 ~ImageExternalTextureVKImpeller () override
 
- 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::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::ImageExternalTexture
fml::jni::ScopedJavaGlobalRef< jobject > image_texture_entry_
 
std::shared_ptr< PlatformViewAndroidJNIjni_facade_
 
AttachmentState state_ = AttachmentState::kUninitialized
 
sk_sp< flutter::DlImagedl_image_
 
ImageLRU image_lru_ = ImageLRU()
 

Detailed Description

Definition at line 19 of file image_external_texture_vk_impeller.h.

Constructor & Destructor Documentation

◆ ImageExternalTextureVKImpeller()

flutter::ImageExternalTextureVKImpeller::ImageExternalTextureVKImpeller ( const std::shared_ptr< impeller::ContextVK > &  impeller_context,
int64_t  id,
const fml::jni::ScopedJavaGlobalRef< jobject > &  hardware_buffer_texture_entry,
const std::shared_ptr< PlatformViewAndroidJNI > &  jni_facade,
ImageExternalTexture::ImageLifecycle  lifecycle 
)

Definition at line 19 of file image_external_texture_vk_impeller.cc.

25 : ImageExternalTexture(id, image_texture_entry, jni_facade, lifecycle),
26 impeller_context_(impeller_context) {}
ImageExternalTexture(int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &image_texture_entry, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade, ImageLifecycle lifecycle)

◆ ~ImageExternalTextureVKImpeller()

flutter::ImageExternalTextureVKImpeller::~ImageExternalTextureVKImpeller ( )
override

Definition at line 28 of file image_external_texture_vk_impeller.cc.

28{}

The documentation for this class was generated from the following files: