#include "flutter/shell/platform/linux/public/flutter_linux/fl_texture.h"
#include "flutter/shell/platform/linux/fl_texture_private.h"
#include <gmodule.h>
#include <cstdio>
Go to the source code of this file.
Functions | |
static void | fl_texture_default_init (FlTextureInterface *self) |
void | fl_texture_set_id (FlTexture *self, int64_t id) |
G_MODULE_EXPORT int64_t | fl_texture_get_id (FlTexture *self) |
|
static |
Definition at line 13 of file fl_texture.cc.
G_MODULE_EXPORT int64_t fl_texture_get_id | ( | FlTexture * | texture | ) |
fl_texture_get_id: @texture: a #FlTexture.
Get the ID for this texture, which can be passed to Flutter code to refer to this texture.
Returns: a texture ID.
Definition at line 20 of file fl_texture.cc.
Referenced by add_mock_texture_to_registrar(), mark_texture_frame_available(), TEST(), and unregister_texture().
void fl_texture_set_id | ( | FlTexture * | texture, |
int64_t | id | ||
) |
fl_texture_set_id: @texture: an #FlTexture. @id: a texture ID.
Set the ID for a texture.
Definition at line 15 of file fl_texture.cc.
Referenced by register_texture(), and TEST().