|
Flutter Linux Embedder
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_H_
13 #include "flutter/shell/platform/embedder/embedder.h"
46 void (*make_current)(FlRenderer* renderer);
53 void (*make_resource_current)(FlRenderer* renderer);
59 void (*clear_current)(FlRenderer* renderer);
70 gboolean (*create_backing_store)(FlRenderer* renderer,
71 const FlutterBackingStoreConfig* config,
72 FlutterBackingStore* backing_store_out);
81 gboolean (*collect_backing_store)(FlRenderer* renderer,
82 const FlutterBackingStore* backing_store);
92 gdouble (*get_refresh_rate)(FlRenderer* renderer);
162 FlRenderer* renderer,
163 const FlutterBackingStoreConfig* config,
164 FlutterBackingStore* backing_store_out);
177 FlRenderer* renderer,
178 const FlutterBackingStore* backing_store);
192 const FlutterLayer** layers,
193 size_t layers_count);
247 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_H_
G_DECLARE_DERIVABLE_TYPE(FlAccessibleNode, fl_accessible_node, FL, ACCESSIBLE_NODE, AtkObject)
@ FL_RENDERER_ERROR_FAILED
GQuark fl_renderer_error_quark(void) G_GNUC_CONST
gboolean fl_renderer_present_layers(FlRenderer *renderer, const FlutterLayer **layers, size_t layers_count)
guint32 fl_renderer_get_fbo(FlRenderer *renderer)
void fl_renderer_render(FlRenderer *renderer, int width, int height)
gboolean fl_renderer_create_backing_store(FlRenderer *renderer, const FlutterBackingStoreConfig *config, FlutterBackingStore *backing_store_out)
void fl_renderer_cleanup(FlRenderer *renderer)
void fl_renderer_wait_for_frame(FlRenderer *renderer, int target_width, int target_height)
gboolean fl_renderer_start(FlRenderer *renderer, FlView *view)
GObjectClass parent_class
void fl_renderer_clear_current(FlRenderer *renderer)
void fl_renderer_setup(FlRenderer *renderer)
void fl_renderer_make_resource_current(FlRenderer *renderer)
gdouble fl_renderer_get_refresh_rate(FlRenderer *renderer)
const uint8_t uint32_t * width
gboolean fl_renderer_collect_backing_store(FlRenderer *renderer, const FlutterBackingStore *backing_store)
void * fl_renderer_get_proc_address(FlRenderer *renderer, const char *name)
void fl_renderer_make_current(FlRenderer *renderer)