Flutter Engine
The Flutter Engine
|
#include <flutter_windows_texture_registrar.h>
Public Member Functions | |
FlutterWindowsTextureRegistrar (FlutterWindowsEngine *engine, std::shared_ptr< egl::ProcTable > gl) | |
int64_t | RegisterTexture (const FlutterDesktopTextureInfo *texture_info) |
void | UnregisterTexture (int64_t texture_id, fml::closure callback=nullptr) |
bool | MarkTextureFrameAvailable (int64_t texture_id) |
bool | PopulateTexture (int64_t texture_id, size_t width, size_t height, FlutterOpenGLTexture *texture) |
Definition at line 24 of file flutter_windows_texture_registrar.h.
|
explicit |
Definition at line 21 of file flutter_windows_texture_registrar.cc.
bool flutter::FlutterWindowsTextureRegistrar::MarkTextureFrameAvailable | ( | int64_t | texture_id | ) |
Definition at line 103 of file flutter_windows_texture_registrar.cc.
bool flutter::FlutterWindowsTextureRegistrar::PopulateTexture | ( | int64_t | texture_id, |
size_t | width, | ||
size_t | height, | ||
FlutterOpenGLTexture * | texture | ||
) |
Definition at line 111 of file flutter_windows_texture_registrar.cc.
int64_t flutter::FlutterWindowsTextureRegistrar::RegisterTexture | ( | const FlutterDesktopTextureInfo * | texture_info | ) |
Definition at line 26 of file flutter_windows_texture_registrar.cc.
void flutter::FlutterWindowsTextureRegistrar::UnregisterTexture | ( | int64_t | texture_id, |
fml::closure | callback = nullptr |
||
) |
Definition at line 79 of file flutter_windows_texture_registrar.cc.