G_DECLARE_FINAL_TYPE(FlTestTexture, fl_test_texture, FL, TEST_TEXTURE, FlTextureGL) struct _FlTestTexture
A simple texture.
static constexpr uint32_t kBufferHeight
static gboolean fl_test_texture_populate(FlTextureGL *texture, uint32_t *target, uint32_t *name, uint32_t *width, uint32_t *height, GError **error)
static void fl_test_texture_class_init(FlTestTextureClass *klass)
void fl_texture_set_id(FlTexture *self, int64_t id)
static void fl_test_texture_init(FlTestTexture *self)
G_MODULE_EXPORT int64_t fl_texture_get_id(FlTexture *self)
static constexpr uint32_t kBufferWidth
const uint8_t uint32_t uint32_t * height
gboolean fl_texture_gl_populate(FlTextureGL *self, uint32_t width, uint32_t height, FlutterOpenGLTexture *opengl_texture, GError **error)
const uint8_t uint32_t uint32_t GError ** error
static constexpr uint32_t kRealBufferHeight
TEST(FlTextureGLTest, TextureID)
const uint8_t uint32_t * width
static FlTestTexture * fl_test_texture_new()
static constexpr uint32_t kRealBufferWidth