Flutter Linux Embedder
fl_renderable.cc File Reference

Go to the source code of this file.

Functions

static void fl_renderable_default_init (FlRenderableInterface *iface)
 
void fl_renderable_redraw (FlRenderable *self)
 
void fl_renderable_make_current (FlRenderable *self)
 

Function Documentation

◆ fl_renderable_default_init()

static void fl_renderable_default_init ( FlRenderableInterface *  iface)
static

Definition at line 9 of file fl_renderable.cc.

9 {}

◆ 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 fl_renderer_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_renderer_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 fl_renderer_present_layers(), and TEST().