Flutter Engine
FlutterExternalTextureGL.mm File Reference
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterExternalTextureGL.h"
#import <AppKit/AppKit.h>
#import <CoreVideo/CoreVideo.h>
#import <OpenGL/gl.h>

Go to the source code of this file.

Functions

static void OnCVOpenGLTextureRelease (CVOpenGLTextureRef cvOpenGLTexture)
 

Variables

id< FlutterTexture > _texture
 

Function Documentation

◆ OnCVOpenGLTextureRelease()

static void OnCVOpenGLTextureRelease ( CVOpenGLTextureRef  cvOpenGLTexture)
static

Definition at line 11 of file FlutterExternalTextureGL.mm.

Referenced by FlutterExternalTextureGL::textureID.

11  {
12  CVOpenGLTextureRelease(cvOpenGLTexture);
13 }

Variable Documentation

◆ _texture

id<FlutterTexture> _texture
Initial value:
{
CVOpenGLTextureCacheRef _openGLTextureCache

User side texture object, used to copy pixel buffer.

Definition at line 15 of file FlutterExternalTextureGL.mm.