Flutter Engine
fl_renderer_headless.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "fl_renderer_headless.h"
6 
8  FlRenderer parent_instance;
9 };
10 
11 G_DEFINE_TYPE(FlRendererHeadless, fl_renderer_headless, fl_renderer_get_type())
12 
13 static gboolean fl_renderer_headless_create_surfaces(FlRenderer* renderer,
14  GtkWidget* widget,
15  EGLDisplay display,
16  EGLConfig config,
17  EGLSurface* visible,
18  EGLSurface* resource,
19  GError** error) {
20  return FALSE;
21 }
22 
23 static void fl_renderer_headless_class_init(FlRendererHeadlessClass* klass) {
24  FL_RENDERER_CLASS(klass)->create_surfaces =
26 }
27 
28 static void fl_renderer_headless_init(FlRendererHeadless* self) {}
29 
30 FlRendererHeadless* fl_renderer_headless_new() {
31  return FL_RENDERER_HEADLESS(
32  g_object_new(fl_renderer_headless_get_type(), nullptr));
33 }
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)
FlMethodResponse GError ** error
FlRendererHeadless * fl_renderer_headless_new()
G_DEFINE_TYPE(FlBasicMessageChannelResponseHandle, fl_basic_message_channel_response_handle, G_TYPE_OBJECT) static void fl_basic_message_channel_response_handle_dispose(GObject *object)
static void fl_renderer_headless_init(FlRendererHeadless *self)