Flutter Engine
fl_renderer_headless.cc File Reference

Go to the source code of this file.

Classes

struct  _FlRendererHeadless
 

Functions

static gboolean fl_renderer_headless_create_surfaces (FlRenderer *renderer, GtkWidget *widget, EGLDisplay display, EGLConfig config, EGLSurface *visible, EGLSurface *resource, GError **error)
 
static void fl_renderer_headless_class_init (FlRendererHeadlessClass *klass)
 
static void fl_renderer_headless_init (FlRendererHeadless *self)
 
FlRendererHeadless * fl_renderer_headless_new ()
 

Function Documentation

◆ fl_renderer_headless_class_init()

static void fl_renderer_headless_class_init ( FlRendererHeadlessClass *  klass)
static

Definition at line 23 of file fl_renderer_headless.cc.

References fl_renderer_headless_create_surfaces().

23  {
24  FL_RENDERER_CLASS(klass)->create_surfaces =
26 }
static gboolean fl_renderer_headless_create_surfaces(FlRenderer *renderer, GtkWidget *widget, EGLDisplay display, EGLConfig config, EGLSurface *visible, EGLSurface *resource, GError **error)

◆ fl_renderer_headless_create_surfaces()

static gboolean fl_renderer_headless_create_surfaces ( FlRenderer *  renderer,
GtkWidget *  widget,
EGLDisplay  display,
EGLConfig  config,
EGLSurface *  visible,
EGLSurface *  resource,
GError **  error 
)
static

Definition at line 13 of file fl_renderer_headless.cc.

Referenced by fl_renderer_headless_class_init().

19  {
20  return FALSE;
21 }

◆ fl_renderer_headless_init()

static void fl_renderer_headless_init ( FlRendererHeadless *  self)
static

Definition at line 28 of file fl_renderer_headless.cc.

28 {}

◆ fl_renderer_headless_new()

FlRendererHeadless* fl_renderer_headless_new ( )

Definition at line 30 of file fl_renderer_headless.cc.

Referenced by fl_engine_new_headless().

30  {
31  return FL_RENDERER_HEADLESS(
32  g_object_new(fl_renderer_headless_get_type(), nullptr));
33 }