#include <external_texture_d3d.h>
Definition at line 19 of file external_texture_d3d.h.
◆ ExternalTextureD3d()
◆ ~ExternalTextureD3d()
flutter::ExternalTextureD3d::~ExternalTextureD3d |
( |
| ) |
|
|
virtual |
◆ PopulateTexture()
bool flutter::ExternalTextureD3d::PopulateTexture |
( |
size_t |
width, |
|
|
size_t |
height, |
|
|
FlutterOpenGLTexture * |
opengl_texture |
|
) |
| |
|
overridevirtual |
Implements flutter::ExternalTexture.
Definition at line 32 of file external_texture_d3d.cc.
36 texture_callback_(width, height, user_data_);
38 if (!CreateOrUpdateTexture(descriptor)) {
43 opengl_texture->target = GL_TEXTURE_2D;
44 opengl_texture->name = gl_texture_;
45 opengl_texture->format = GL_RGBA8_OES;
46 opengl_texture->destruction_callback =
nullptr;
47 opengl_texture->user_data =
nullptr;
48 opengl_texture->width = SAFE_ACCESS(descriptor, visible_width, 0);
49 opengl_texture->height = SAFE_ACCESS(descriptor, visible_height, 0);
The documentation for this class was generated from the following files: