static constexpr uint32_t kRealBufferWidth
static constexpr uint32_t kBufferWidth
static FlTestPixelBufferTexture * fl_test_pixel_buffer_texture_new()
static constexpr uint32_t kBufferHeight
void fl_texture_set_id(FlTexture *self, int64_t id)
static constexpr uint32_t kRealBufferHeight
G_DEFINE_TYPE(FlTestPixelBufferTexture, fl_test_pixel_buffer_texture, fl_pixel_buffer_texture_get_type()) static gboolean fl_test_pixel_buffer_texture_copy_pixels(FlPixelBufferTexture *texture
G_DECLARE_FINAL_TYPE(FlTestPixelBufferTexture, fl_test_pixel_buffer_texture, FL, TEST_PIXEL_BUFFER_TEXTURE, FlPixelBufferTexture) struct _FlTestPixelBufferTexture
A simple texture with fixed contents.
TEST(FlPixelBufferTextureTest, TextureID)
const uint8_t ** out_buffer
gboolean fl_pixel_buffer_texture_populate(FlPixelBufferTexture *texture, uint32_t width, uint32_t height, FlutterOpenGLTexture *opengl_texture, GError **error)
static void fl_test_pixel_buffer_texture_init(FlTestPixelBufferTexture *self)
G_MODULE_EXPORT int64_t fl_texture_get_id(FlTexture *self)
const uint8_t uint32_t uint32_t * height
const uint8_t uint32_t uint32_t GError ** error
static void fl_test_pixel_buffer_texture_class_init(FlTestPixelBufferTextureClass *klass)
static const uint8_t buffer[]
const uint8_t uint32_t * width