Flutter Engine
The Flutter Engine
|
#include <surface_texture_external_texture_gl.h>
Public Member Functions | |
SurfaceTextureExternalTextureGL (int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &surface_texture, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade) | |
~SurfaceTextureExternalTextureGL () 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 | |
void | Paint (PaintContext &context, const SkRect &bounds, bool freeze, const DlImageSampling sampling) override |
void | OnGrContextCreated () override |
void | OnGrContextDestroyed () override |
void | MarkNewFrameAvailable () override |
void | OnTextureUnregistered () 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 |
Private Member Functions | |
virtual void | ProcessFrame (PaintContext &context, const SkRect &bounds) override |
virtual void | Detach () override |
Additional Inherited Members | |
Protected Types inherited from flutter::SurfaceTextureExternalTexture | |
enum class | AttachmentState { kUninitialized , kAttached , kDetached } |
Protected Member Functions inherited from flutter::SurfaceTextureExternalTexture | |
virtual void | ProcessFrame (PaintContext &context, const SkRect &bounds)=0 |
virtual void | Detach () |
void | Attach (int gl_tex_id) |
bool | ShouldUpdate () |
void | Update () |
FML_DISALLOW_COPY_AND_ASSIGN (SurfaceTextureExternalTexture) | |
Protected Attributes inherited from flutter::SurfaceTextureExternalTexture | |
std::shared_ptr< PlatformViewAndroidJNI > | jni_facade_ |
fml::jni::ScopedJavaGlobalRef< jobject > | surface_texture_ |
AttachmentState | state_ = AttachmentState::kUninitialized |
SkMatrix | transform_ |
sk_sp< flutter::DlImage > | dl_image_ |
Definition at line 21 of file surface_texture_external_texture_gl.h.
flutter::SurfaceTextureExternalTextureGL::SurfaceTextureExternalTextureGL | ( | int64_t | id, |
const fml::jni::ScopedJavaGlobalRef< jobject > & | surface_texture, | ||
const std::shared_ptr< PlatformViewAndroidJNI > & | jni_facade | ||
) |
Definition at line 24 of file surface_texture_external_texture_gl.cc.
|
override |
Definition at line 30 of file surface_texture_external_texture_gl.cc.
|
overrideprivatevirtual |
Reimplemented from flutter::SurfaceTextureExternalTexture.
Definition at line 58 of file surface_texture_external_texture_gl.cc.
|
overrideprivatevirtual |
Implements flutter::SurfaceTextureExternalTexture.
Definition at line 36 of file surface_texture_external_texture_gl.cc.