#include "flutter/shell/platform/embedder/embedder.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_engine.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_texture_registrar.h"Go to the source code of this file.
Functions | |
| G_BEGIN_DECLS FlTextureRegistrar * | fl_texture_registrar_new (FlEngine *engine) |
| FlTexture * | fl_texture_registrar_lookup_texture (FlTextureRegistrar *registrar, int64_t texture_id) |
| void | fl_texture_registrar_shutdown (FlTextureRegistrar *registrar) |
| FlTexture* fl_texture_registrar_lookup_texture | ( | FlTextureRegistrar * | registrar, |
| int64_t | texture_id | ||
| ) |
fl_texture_registrar_lookup_texture: @registrar: an #FlTextureRegistrar. @texture_id: ID of texture.
Looks for the texture with the given ID.
Returns: an #FlTexture or NULL if no texture with this ID.
Definition at line 190 of file fl_texture_registrar.cc.
References texture_id.
Referenced by fl_engine_gl_external_texture_frame_callback(), and TEST().
| G_BEGIN_DECLS FlTextureRegistrar* fl_texture_registrar_new | ( | FlEngine * | engine | ) |
fl_texture_registrar_new: @engine: an #FlEngine.
Creates a new #FlTextureRegistrar.
Returns: a new #FlTextureRegistrar.
Definition at line 221 of file fl_texture_registrar.cc.
Referenced by fl_engine_init(), and TEST().
| void fl_texture_registrar_shutdown | ( | FlTextureRegistrar * | registrar | ) |
fl_texture_registrar_shutdown: @registrar: an #FlTextureRegistrar.
Shutdown the registrary and unregister any textures.
Definition at line 215 of file fl_texture_registrar.cc.
Referenced by fl_engine_dispose().