Flutter Engine
flutter::IOSExternalTextureGL Class Referencefinal

#include <ios_external_texture_gl.h>

Inheritance diagram for flutter::IOSExternalTextureGL:
flutter::Texture

Public Member Functions

 IOSExternalTextureGL (int64_t textureId, NSObject< FlutterTexture > *externalTexture)
 
 ~IOSExternalTextureGL () override
 
- Public Member Functions inherited from flutter::Texture
 Texture (int64_t id)
 
virtual ~Texture ()
 
int64_t Id ()
 

Detailed Description

Definition at line 15 of file ios_external_texture_gl.h.

Constructor & Destructor Documentation

◆ IOSExternalTextureGL()

flutter::IOSExternalTextureGL::IOSExternalTextureGL ( int64_t  textureId,
NSObject< FlutterTexture > *  externalTexture 
)

Definition at line 20 of file ios_external_texture_gl.mm.

References FML_DCHECK, FML_LOG, fml::scoped_nsprotocol< NST >::get(), height, fml::CFRef< T >::Reset(), fml::size(), width, and ~IOSExternalTextureGL().

22  : Texture(textureId),
23  external_texture_(fml::scoped_nsobject<NSObject<FlutterTexture>>([externalTexture retain])) {
24  FML_DCHECK(external_texture_);
25 }
#define FML_DCHECK(condition)
Definition: logging.h:86
Texture(int64_t id)
Definition: texture.cc:9

◆ ~IOSExternalTextureGL()

flutter::IOSExternalTextureGL::~IOSExternalTextureGL ( )
overridedefault

Referenced by IOSExternalTextureGL().


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