Binds the surface texture to a Skia SkImage. More...
#include <surface_texture_external_texture_gl_skia.h>
Public Member Functions | |
| SurfaceTextureExternalTextureGLSkia (int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &surface_texture, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade) | |
| ~SurfaceTextureExternalTextureGLSkia () override | |
Public Member Functions inherited from flutter::SurfaceTextureExternalTexture | |
| SurfaceTextureExternalTexture (int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &surface_texture, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade) | |
| ~SurfaceTextureExternalTexture () override | |
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 | |
Protected Types inherited from flutter::SurfaceTextureExternalTexture | |
| enum class | AttachmentState { kUninitialized , kAttached , kDetached } |
| Specifies how this instance is bound to the underlying surface texture. More... | |
Protected Member Functions inherited from flutter::SurfaceTextureExternalTexture | |
| virtual void | DrawFrame (PaintContext &context, const SkRect &bounds, const DlImageSampling sampling) const |
| const SkM44 & | GetCurrentUVTransformation () const |
| Get the transformation that should be applied to the UV texture coordinates when sampling from this texture. | |
| void | Attach (int gl_tex_id) |
| Attaches the given OpenGL texture handle to the surface texture via a bind operation. | |
| bool | ShouldUpdate () |
| void | Update () |
| Update the surface texture contents and transformation matrix. | |
Protected Attributes inherited from flutter::SurfaceTextureExternalTexture | |
| std::shared_ptr< PlatformViewAndroidJNI > | jni_facade_ |
| fml::jni::ScopedJavaGlobalRef< jobject > | surface_texture_ |
| AttachmentState | state_ = AttachmentState::kUninitialized |
| sk_sp< flutter::DlImage > | dl_image_ |
Binds the surface texture to a Skia SkImage.
Definition at line 17 of file surface_texture_external_texture_gl_skia.h.
| flutter::SurfaceTextureExternalTextureGLSkia::SurfaceTextureExternalTextureGLSkia | ( | int64_t | id, |
| const fml::jni::ScopedJavaGlobalRef< jobject > & | surface_texture, | ||
| const std::shared_ptr< PlatformViewAndroidJNI > & | jni_facade | ||
| ) |
Definition at line 20 of file surface_texture_external_texture_gl_skia.cc.
|
override |
Definition at line 26 of file surface_texture_external_texture_gl_skia.cc.