|
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);
69 gdouble (*get_refresh_rate)(FlRenderer* renderer);
90 FlutterViewId view_id,
158 FlRenderer* renderer,
159 const FlutterBackingStoreConfig* config,
160 FlutterBackingStore* backing_store_out);
173 FlRenderer* renderer,
174 const FlutterBackingStore* backing_store);
189 FlutterViewId view_id,
190 const FlutterLayer** layers,
191 size_t layers_count);
227 FlutterViewId view_id,
230 const GdkRGBA* background_color);
251 #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
guint32 fl_renderer_get_fbo(FlRenderer *renderer)
void fl_renderer_remove_view(FlRenderer *renderer, FlutterViewId view_id)
void fl_renderer_add_view(FlRenderer *renderer, FlutterViewId view_id, FlView *view)
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)
void fl_renderer_set_engine(FlRenderer *renderer, FlEngine *engine)
void fl_renderer_render(FlRenderer *renderer, FlutterViewId view_id, int width, int height, const GdkRGBA *background_color)
GObjectClass parent_class
void fl_renderer_clear_current(FlRenderer *renderer)
void fl_renderer_setup(FlRenderer *renderer)
const uint8_t uint32_t uint32_t * height
gboolean fl_renderer_present_layers(FlRenderer *renderer, FlutterViewId view_id, const FlutterLayer **layers, size_t layers_count)
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)