#include <fl_renderer.h>
Public Attributes | |
GObjectClass | parent_class |
void(* | make_current )(FlRenderer *renderer) |
void(* | make_resource_current )(FlRenderer *renderer) |
void(* | clear_current )(FlRenderer *renderer) |
gboolean(* | create_backing_store )(FlRenderer *renderer, const FlutterBackingStoreConfig *config, FlutterBackingStore *backing_store_out) |
gboolean(* | collect_backing_store )(FlRenderer *renderer, const FlutterBackingStore *backing_store) |
gdouble(* | get_refresh_rate )(FlRenderer *renderer) |
FlRenderer:
#FlRenderer is an abstract class that allows Flutter to draw pixels.
Definition at line 38 of file fl_renderer.h.
void(* _FlRendererClass::clear_current) (FlRenderer *renderer) |
Virtual method called when Flutter needs to clear the OpenGL context. @renderer: an #FlRenderer.
Definition at line 59 of file fl_renderer.h.
gboolean(* _FlRendererClass::collect_backing_store) (FlRenderer *renderer, const FlutterBackingStore *backing_store) |
Virtual method called when Flutter wants to release the backing store. @renderer: an #FlRenderer. @backing_store: backing store to be released.
Returns TRUE if successful.
Definition at line 81 of file fl_renderer.h.
gboolean(* _FlRendererClass::create_backing_store) (FlRenderer *renderer, const FlutterBackingStoreConfig *config, FlutterBackingStore *backing_store_out) |
Virtual method called when Flutter needs a backing store for a specific #FlutterLayer. @renderer: an #FlRenderer. @config: backing store config. @backing_store_out: saves created backing store.
Returns TRUE if successful.
Definition at line 70 of file fl_renderer.h.
gdouble(* _FlRendererClass::get_refresh_rate) (FlRenderer *renderer) |
Virtual method called when Flutter wants to get the refresh rate of the renderer. @renderer: an #FlRenderer.
Returns: The refresh rate of the display in Hz. If the refresh rate is not available, returns -1.0.
Definition at line 92 of file fl_renderer.h.
void(* _FlRendererClass::make_current) (FlRenderer *renderer) |
Virtual method called when Flutter needs to make the OpenGL context current. @renderer: an #FlRenderer.
Definition at line 46 of file fl_renderer.h.
void(* _FlRendererClass::make_resource_current) (FlRenderer *renderer) |
Virtual method called when Flutter needs to make the OpenGL resource context current. @renderer: an #FlRenderer.
Definition at line 53 of file fl_renderer.h.
GObjectClass _FlRendererClass::parent_class |
Definition at line 39 of file fl_renderer.h.