#include <external_texture_pixelbuffer.h>
◆ ExternalTexturePixelBuffer()
◆ ~ExternalTexturePixelBuffer()
flutter::ExternalTexturePixelBuffer::~ExternalTexturePixelBuffer |
( |
| ) |
|
|
virtual |
◆ PopulateTexture()
bool flutter::ExternalTexturePixelBuffer::PopulateTexture |
( |
size_t |
width, |
|
|
size_t |
height, |
|
|
FlutterOpenGLTexture * |
opengl_texture |
|
) |
| |
|
overridevirtual |
Implements flutter::ExternalTexture.
Definition at line 23 of file external_texture_pixelbuffer.cc.
27 if (!CopyPixelBuffer(width, height)) {
32 opengl_texture->target = GL_TEXTURE_2D;
33 opengl_texture->name = gl_texture_;
34 opengl_texture->format = GL_RGBA8_OES;
35 opengl_texture->destruction_callback =
nullptr;
36 opengl_texture->user_data =
nullptr;
37 opengl_texture->width = width;
38 opengl_texture->height = height;
The documentation for this class was generated from the following files: