| Flutter Linux Embedder |

fl_renderable.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 "flutter/shell/platform/linux/fl_renderable.h"
6
7 G_DEFINE_INTERFACE(FlRenderable, fl_renderable, G_TYPE_OBJECT)
8
9 static void fl_renderable_default_init(FlRenderableInterface* iface) {}
10
11 void fl_renderable_present_layers(FlRenderable* self,
12 const FlutterLayer** layers,
13 size_t layers_count) {
14 g_return_if_fail(FL_IS_RENDERABLE(self));
15
16 FL_RENDERABLE_GET_IFACE(self)->present_layers(self, layers, layers_count);
17 }
layers_count
const FlutterLayer size_t layers_count
Definition: fl_compositor_software.cc:33
layers
const FlutterLayer ** layers
Definition: fl_compositor_software.cc:32
fl_renderable_present_layers
void fl_renderable_present_layers(FlRenderable *self, const FlutterLayer **layers, size_t layers_count)
Definition: fl_renderable.cc:11
fl_renderable_default_init
static void fl_renderable_default_init(FlRenderableInterface *iface)
Definition: fl_renderable.cc:9
fl_renderable.h