Flutter Engine
 
Loading...
Searching...
No Matches
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
12
13G_BEGIN_DECLS
14
15G_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 */
36FlCompositorSoftware* fl_compositor_software_new(FlTaskRunner* task_runner);
37
38G_END_DECLS
39
40#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_COMPOSITOR_SOFTWARE_H_
FlCompositorSoftware * fl_compositor_software_new(FlTaskRunner *task_runner)
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlCompositorSoftware, fl_compositor_software, FL, COMPOSITOR_SOFTWARE, FlCompositor) FlCompositorSoftware *fl_compositor_software_new(FlTaskRunner *task_runner)