Flutter Engine
flutter::Texture Class Referenceabstract

#include <texture.h>

Inheritance diagram for flutter::Texture:
flutter::AndroidExternalTextureGL flutter::EmbedderExternalTextureGL flutter::IOSExternalTextureGL flutter::IOSExternalTextureMetal flutter::testing::MockTexture flutter::testing::MockTexture

Public Member Functions

 Texture (int64_t id)
 
virtual ~Texture ()
 
virtual void Paint (SkCanvas &canvas, const SkRect &bounds, bool freeze, GrDirectContext *context, SkFilterQuality quality)=0
 
virtual void OnGrContextCreated ()=0
 
virtual void OnGrContextDestroyed ()=0
 
virtual void MarkNewFrameAvailable ()=0
 
virtual void OnTextureUnregistered ()=0
 
int64_t Id ()
 

Detailed Description

Definition at line 18 of file texture.h.

Constructor & Destructor Documentation

◆ Texture()

flutter::Texture::Texture ( int64_t  id)

Definition at line 9 of file texture.cc.

References flutter::TextureRegistry::TextureRegistry(), and ~Texture().

9 : id_(id) {}

◆ ~Texture()

flutter::Texture::~Texture ( )
virtualdefault

Referenced by Texture().

Member Function Documentation

◆ Id()

int64_t flutter::Texture::Id ( )
inline

Definition at line 42 of file texture.h.

Referenced by flutter::EmbedderExternalTextureGL::EmbedderExternalTextureGL().

42 { return id_; }

◆ MarkNewFrameAvailable()

virtual void flutter::Texture::MarkNewFrameAvailable ( )
pure virtual

◆ OnGrContextCreated()

virtual void flutter::Texture::OnGrContextCreated ( )
pure virtual

◆ OnGrContextDestroyed()

virtual void flutter::Texture::OnGrContextDestroyed ( )
pure virtual

◆ OnTextureUnregistered()

virtual void flutter::Texture::OnTextureUnregistered ( )
pure virtual

◆ Paint()

virtual void flutter::Texture::Paint ( SkCanvas &  canvas,
const SkRect &  bounds,
bool  freeze,
GrDirectContext *  context,
SkFilterQuality  quality 
)
pure virtual

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