| Flutter Linux Embedder |

Classes | Functions
fl_renderable.h File Reference
`#include <gdk/gdk.h>`
`#include "flutter/shell/platform/embedder/embedder.h"`

Go to the source code of this file.

## Classes
struct | _FlRenderableInterface

## Functions
G_BEGIN_DECLS | G_DECLARE_INTERFACE (FlRenderable, fl_renderable, FL, RENDERABLE, GObject)
void | fl_renderable_redraw (FlRenderable *renderable)
void | fl_renderable_make_current (FlRenderable *renderable)

## Function Documentation

## ◆ fl_renderable_make_current()

void fl_renderable_make_current | ( | FlRenderable * | renderable | ) |

fl_renderable_make_current: @renderable: an #FlRenderable

Make this renderable the current OpenGL context.

Definition at line 17 of file fl_renderable.cc.

17 {
18 g_return_if_fail(FL_IS_RENDERABLE(self));
19
20 FL_RENDERABLE_GET_IFACE(self)->make_current(self);
21 }

Referenced by present_layers().

## ◆ fl_renderable_redraw()

void fl_renderable_redraw | ( | FlRenderable * | renderable | ) |

fl_renderable_redraw: @renderable: an #FlRenderable

Indicate the renderable needs to redraw. When ready, the renderable should call fl_compositor_draw().

Definition at line 11 of file fl_renderable.cc.

11 {
12 g_return_if_fail(FL_IS_RENDERABLE(self));
13
14 FL_RENDERABLE_GET_IFACE(self)->redraw(self);
15 }

Referenced by present_layers(), and TEST().

## ◆ G_DECLARE_INTERFACE()

G_BEGIN_DECLS G_DECLARE_INTERFACE | ( | FlRenderable | ,
|  | fl_renderable | ,
|  | FL | ,
|  | RENDERABLE | ,
|  | GObject |
| ) |  |