Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
shell
platform
linux
fl_renderer_gdk.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_RENDERER_GDK_H_
6
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_GDK_H_
7
8
#include "flutter/shell/platform/linux/fl_renderer.h"
9
10
G_BEGIN_DECLS
11
12
G_DECLARE_FINAL_TYPE
(FlRendererGdk,
13
fl_renderer_gdk,
14
FL
,
15
RENDERER_GDK,
16
FlRenderer)
17
18
/**
19
* FlRendererGdk:
20
*
21
* #FlRendererGdk is an implementation of #FlRenderer that renders by OpenGL ES.
22
*/
23
24
/**
25
* fl_renderer_gdk_new:
26
* @window: the window that is being rendered on.
27
*
28
* Creates an object that allows Flutter to render by OpenGL ES.
29
*
30
* Returns: a new #FlRendererGdk.
31
*/
32
FlRendererGdk*
fl_renderer_gdk_new
(GdkWindow*
window
);
33
34
/**
35
* fl_renderer_gdk_create_contexts:
36
* @renderer: an #FlRendererGdk.
37
* @error: (allow-none): #GError location to store the error occurring, or
38
* %NULL to ignore.
39
*
40
* Create rendering contexts.
41
*
42
* Returns: %TRUE if contexts were created, %FALSE if there was an error.
43
*/
44
gboolean
fl_renderer_gdk_create_contexts
(FlRendererGdk*
renderer
,
45
GError**
error
);
46
47
/**
48
* fl_renderer_gdk_get_context:
49
* @renderer: an #FlRendererGdk.
50
*
51
* Returns: the main context used for rendering.
52
*/
53
GdkGLContext*
fl_renderer_gdk_get_context
(FlRendererGdk*
renderer
);
54
55
G_END_DECLS
56
57
#endif
// FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_GDK_H_
window
GLFWwindow * window
Definition:
main.cc:45
FL
FL
Definition:
fl_binary_messenger.cc:27
error
const uint8_t uint32_t uint32_t GError ** error
Definition:
fl_pixel_buffer_texture_test.cc:40
fl_renderer_gdk_new
FlRendererGdk * fl_renderer_gdk_new(GdkWindow *window)
Definition:
fl_renderer_gdk.cc:81
fl_renderer_gdk_create_contexts
gboolean fl_renderer_gdk_create_contexts(FlRendererGdk *renderer, GError **error)
Definition:
fl_renderer_gdk.cc:88
fl_renderer_gdk_get_context
GdkGLContext * fl_renderer_gdk_get_context(FlRendererGdk *renderer)
Definition:
fl_renderer_gdk.cc:116
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlRendererGdk, fl_renderer_gdk, FL, RENDERER_GDK, FlRenderer) FlRendererGdk *fl_renderer_gdk_new(GdkWindow *window)
parse_lottieweb_trace.renderer
renderer
Definition:
parse_lottieweb_trace.py:13
Generated on Sun Jun 23 2024 21:55:17 for Flutter Engine by
1.9.4