#include <embedder.h>
Public Attributes | |
| uint32_t | target |
| uint32_t | name |
| The name of the texture. | |
| uint32_t | format |
| The texture format (example GL_RGBA8). | |
| void * | user_data |
| User data to be returned on the invocation of the destruction callback. | |
| VoidCallback | destruction_callback |
| size_t | width |
| size_t | height |
| Height of the texture. | |
Definition at line 509 of file embedder.h.
| VoidCallback FlutterOpenGLTexture::destruction_callback |
Callback invoked (on an engine managed thread) that asks the embedder to collect the texture.
Definition at line 521 of file embedder.h.
Referenced by fl_pixel_buffer_texture_populate(), fl_texture_gl_populate(), operator<<(), operator==(), flutter::ExternalTextureD3d::PopulateTexture(), and flutter::ExternalTexturePixelBuffer::PopulateTexture().
| uint32_t FlutterOpenGLTexture::format |
The texture format (example GL_RGBA8).
Definition at line 516 of file embedder.h.
Referenced by fl_pixel_buffer_texture_populate(), fl_texture_gl_populate(), operator<<(), operator==(), flutter::ExternalTextureD3d::PopulateTexture(), and flutter::ExternalTexturePixelBuffer::PopulateTexture().
| size_t FlutterOpenGLTexture::height |
Height of the texture.
Definition at line 529 of file embedder.h.
Referenced by fl_pixel_buffer_texture_populate(), fl_texture_gl_populate(), flutter::ExternalTextureD3d::PopulateTexture(), flutter::ExternalTexturePixelBuffer::PopulateTexture(), TEST(), TEST(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().
| uint32_t FlutterOpenGLTexture::name |
The name of the texture.
Definition at line 514 of file embedder.h.
Referenced by fl_pixel_buffer_texture_populate(), fl_texture_gl_populate(), operator<<(), operator==(), flutter::ExternalTextureD3d::PopulateTexture(), and flutter::ExternalTexturePixelBuffer::PopulateTexture().
| uint32_t FlutterOpenGLTexture::target |
Target texture of the active texture unit (example GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE).
Definition at line 512 of file embedder.h.
Referenced by fl_pixel_buffer_texture_populate(), fl_texture_gl_populate(), operator<<(), operator==(), flutter::ExternalTextureD3d::PopulateTexture(), flutter::ExternalTexturePixelBuffer::PopulateTexture(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().
| void* FlutterOpenGLTexture::user_data |
User data to be returned on the invocation of the destruction callback.
Definition at line 518 of file embedder.h.
Referenced by fl_pixel_buffer_texture_populate(), fl_texture_gl_populate(), operator<<(), operator==(), flutter::ExternalTextureD3d::PopulateTexture(), and flutter::ExternalTexturePixelBuffer::PopulateTexture().
| size_t FlutterOpenGLTexture::width |
Optional parameters for texture height/width, default is 0, non-zero means the texture has the specified width/height. Usually, when the texture type is GL_TEXTURE_RECTANGLE, we need to specify the texture width/height to tell the embedder to scale when rendering. Width of the texture.
Definition at line 527 of file embedder.h.
Referenced by fl_pixel_buffer_texture_populate(), fl_texture_gl_populate(), flutter::ExternalTextureD3d::PopulateTexture(), flutter::ExternalTexturePixelBuffer::PopulateTexture(), TEST(), TEST(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().