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_contexts (FlRenderer *renderer, GtkWidget *widget, GdkGLContext **visible, GdkGLContext **resource, GError **error)
 
static gboolean fl_renderer_headless_create_backing_store (FlRenderer *renderer, const FlutterBackingStoreConfig *config, FlutterBackingStore *backing_store_out)
 
static gboolean fl_renderer_headless_collect_backing_store (FlRenderer *self, const FlutterBackingStore *backing_store)
 
static gboolean fl_renderer_headless_present_layers (FlRenderer *self, const FlutterLayer **layers, size_t layers_count)
 
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 44 of file fl_renderer_headless.cc.

References fl_renderer_headless_collect_backing_store(), fl_renderer_headless_create_backing_store(), fl_renderer_headless_create_contexts(), and fl_renderer_headless_present_layers().

44  {
45  FL_RENDERER_CLASS(klass)->create_contexts =
47  FL_RENDERER_CLASS(klass)->create_backing_store =
49  FL_RENDERER_CLASS(klass)->collect_backing_store =
51  FL_RENDERER_CLASS(klass)->present_layers =
53 }
static gboolean fl_renderer_headless_create_backing_store(FlRenderer *renderer, const FlutterBackingStoreConfig *config, FlutterBackingStore *backing_store_out)
static gboolean fl_renderer_headless_collect_backing_store(FlRenderer *self, const FlutterBackingStore *backing_store)
static gboolean fl_renderer_headless_create_contexts(FlRenderer *renderer, GtkWidget *widget, GdkGLContext **visible, GdkGLContext **resource, GError **error)
static gboolean fl_renderer_headless_present_layers(FlRenderer *self, const FlutterLayer **layers, size_t layers_count)

◆ fl_renderer_headless_collect_backing_store()

static gboolean fl_renderer_headless_collect_backing_store ( FlRenderer *  self,
const FlutterBackingStore backing_store 
)
static

Definition at line 31 of file fl_renderer_headless.cc.

References FALSE.

Referenced by fl_renderer_headless_class_init().

33  {
34  return FALSE;
35 }
return FALSE

◆ fl_renderer_headless_create_backing_store()

static gboolean fl_renderer_headless_create_backing_store ( FlRenderer *  renderer,
const FlutterBackingStoreConfig config,
FlutterBackingStore backing_store_out 
)
static

Definition at line 23 of file fl_renderer_headless.cc.

References FALSE.

Referenced by fl_renderer_headless_class_init().

26  {
27  return FALSE;
28 }
return FALSE

◆ fl_renderer_headless_create_contexts()

static gboolean fl_renderer_headless_create_contexts ( FlRenderer *  renderer,
GtkWidget *  widget,
GdkGLContext **  visible,
GdkGLContext **  resource,
GError **  error 
)
static

Definition at line 14 of file fl_renderer_headless.cc.

References FALSE.

Referenced by fl_renderer_headless_class_init().

18  {
19  return FALSE;
20 }
return FALSE

◆ fl_renderer_headless_init()

static void fl_renderer_headless_init ( FlRendererHeadless *  self)
static

Definition at line 55 of file fl_renderer_headless.cc.

55 {}

◆ fl_renderer_headless_new()

FlRendererHeadless* fl_renderer_headless_new ( )

Definition at line 57 of file fl_renderer_headless.cc.

Referenced by fl_engine_new_headless().

57  {
58  return FL_RENDERER_HEADLESS(
59  g_object_new(fl_renderer_headless_get_type(), nullptr));
60 }

◆ fl_renderer_headless_present_layers()

static gboolean fl_renderer_headless_present_layers ( FlRenderer *  self,
const FlutterLayer **  layers,
size_t  layers_count 
)
static

Definition at line 38 of file fl_renderer_headless.cc.

References FALSE.

Referenced by fl_renderer_headless_class_init().

40  {
41  return FALSE;
42 }
return FALSE