| Flutter Linux Embedder |

fl_compositor_software.h
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 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_COMPOSITOR_SOFTWARE_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_COMPOSITOR_SOFTWARE_H_
7
8 #include <cairo/cairo.h>
9
10 #include "flutter/shell/platform/linux/fl_compositor.h"
11 #include "flutter/shell/platform/linux/fl_task_runner.h"
12
13 G_BEGIN_DECLS
14
15 G_DECLARE_FINAL_TYPE(FlCompositorSoftware,
16 fl_compositor_software,
17 FL,
18 COMPOSITOR_SOFTWARE,
19 FlCompositor)
20
21 /**
22 * FlCompositorSoftware:
23 *
24 * #FlCompositorSoftware is a class that implements compositing using software
25 * rendering.
26 */
27
28 /**
29 * fl_compositor_software_new:
30 * @task_runner: an #FlTaskRunnner.
31 *
32 * Creates a new software rendering compositor.
33 *
34 * Returns: a new #FlCompositorSoftware.
35 */
36 FlCompositorSoftware* fl_compositor_software_new(FlTaskRunner* task_runner);
37
38 G_END_DECLS
39
40 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_COMPOSITOR_SOFTWARE_H_
FL
FL
Definition: fl_binary_messenger.cc:27
fl_compositor.h
fl_compositor_software_new
FlCompositorSoftware * fl_compositor_software_new(FlTaskRunner *task_runner)
Definition: fl_compositor_software.cc:125
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlCompositorSoftware, fl_compositor_software, FL, COMPOSITOR_SOFTWARE, FlCompositor) FlCompositorSoftware *fl_compositor_software_new(FlTaskRunner *task_runner)
fl_task_runner.h