Flutter Engine
flutter::EmbedderExternalTextureGL Class Reference

#include <embedder_external_texture_gl.h>

Inheritance diagram for flutter::EmbedderExternalTextureGL:
flutter::Texture

Public Types

using ExternalTextureCallback = std::function< std::unique_ptr< FlutterOpenGLTexture >(int64_t, size_t, size_t)>
 

Public Member Functions

 EmbedderExternalTextureGL (int64_t texture_identifier, const ExternalTextureCallback &callback)
 
 ~EmbedderExternalTextureGL ()
 
- Public Member Functions inherited from flutter::Texture
 Texture (int64_t id)
 
virtual ~Texture ()
 
int64_t Id ()
 

Detailed Description

Definition at line 16 of file embedder_external_texture_gl.h.

Member Typedef Documentation

◆ ExternalTextureCallback

Definition at line 19 of file embedder_external_texture_gl.h.

Constructor & Destructor Documentation

◆ EmbedderExternalTextureGL()

flutter::EmbedderExternalTextureGL::EmbedderExternalTextureGL ( int64_t  texture_identifier,
const ExternalTextureCallback callback 
)

Definition at line 15 of file embedder_external_texture_gl.cc.

References FML_DCHECK, FML_LOG, height, flutter::Texture::Id(), fml::size(), texture, texture_id, width, and ~EmbedderExternalTextureGL().

18  : Texture(texture_identifier), external_texture_callback_(callback) {
19  FML_DCHECK(external_texture_callback_);
20 }
#define FML_DCHECK(condition)
Definition: logging.h:86
FlKeyEvent FlKeyResponderAsyncCallback callback
Texture(int64_t id)
Definition: texture.cc:9

◆ ~EmbedderExternalTextureGL()

flutter::EmbedderExternalTextureGL::~EmbedderExternalTextureGL ( )
default

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