virtual void Detach() override
~SurfaceTextureExternalTextureGL() override
SurfaceTextureExternalTextureGL(int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &surface_texture, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade)
virtual void ProcessFrame(PaintContext &context, const SkRect &bounds) override
SurfaceTextureExternalTextureImpellerGL(const std::shared_ptr< impeller::ContextGLES > &context, int64_t id, const fml::jni::ScopedJavaGlobalRef< jobject > &surface_texture, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade)
~SurfaceTextureExternalTextureImpellerGL() override
virtual void ProcessFrame(PaintContext &context, const SkRect &bounds) override
sk_sp< flutter::DlImage > dl_image_
SK_API GrBackendTexture MakeGL(int width, int height, skgpu::Mipmapped, const GrGLTextureInfo &glInfo, std::string_view label={})
SK_API sk_sp< SkImage > BorrowTextureFrom(GrRecordingContext *context, const GrBackendTexture &backendTexture, GrSurfaceOrigin origin, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, TextureReleaseProc textureReleaseProc=nullptr, ReleaseContext releaseContext=nullptr)
GrDirectContext * gr_context
A lightweight object that describes the attributes of a texture that can then used an allocator to cr...