| Flutter Linux Embedder |

Public Attributes | List of all members
_FlRendererClass Struct Reference

`#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)
gdouble(* | get_refresh_rate )(FlRenderer *renderer)

## Detailed Description

FlRenderer:

#FlRenderer is an abstract class that allows Flutter to draw pixels.

Definition at line 38 of file fl_renderer.h.

## Member Data Documentation

## ◆ clear_current

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.

## ◆ get_refresh_rate

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 69 of file fl_renderer.h.

## ◆ make_current

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.

## ◆ make_resource_current

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.

## ◆ parent_class

GObjectClass _FlRendererClass::parent_class

Definition at line 39 of file fl_renderer.h.

The documentation for this struct was generated from the following file:

- shell/platform/linux/fl_renderer.h