Flutter Engine
 
Loading...
Searching...
No Matches
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
6
7G_DEFINE_INTERFACE(FlRenderable, fl_renderable, G_TYPE_OBJECT)
8
9static void fl_renderable_default_init(FlRenderableInterface* iface) {}
10
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}
const FlutterLayer size_t layers_count
const FlutterLayer ** layers
void fl_renderable_present_layers(FlRenderable *self, const FlutterLayer **layers, size_t layers_count)
static void fl_renderable_default_init(FlRenderableInterface *iface)