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
android
io
flutter
embedding
android
RenderMode.java
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
package
io.flutter.embedding.android;
6
7
/** Render modes for a Flutter UI. */
8
public
enum
RenderMode
{
9
/**
10
* {@code RenderMode}, which paints a Flutter UI to a {@link android.view.SurfaceView}. This mode
11
* has the best performance, but a Flutter UI in this mode cannot be positioned between 2 other
12
* Android {@code View}s in the z-index, nor can it be animated/transformed. Unless the special
13
* capabilities of a {@link android.graphics.SurfaceTexture} are required, developers should
14
* strongly prefer this render mode.
15
*/
16
surface
,
17
/**
18
* {@code RenderMode}, which paints a Flutter UI to a {@link android.graphics.SurfaceTexture}.
19
* This mode is not as performant as {@link #surface}, but a Flutter UI in this mode can be
20
* animated and transformed, as well as positioned in the z-index between 2+ other Android {@code
21
* Views}. Unless the special capabilities of a {@link android.graphics.SurfaceTexture} are
22
* required, developers should strongly prefer the {@link #surface} render mode.
23
*/
24
texture
,
25
/**
26
* {@code RenderMode}, which paints Paints a Flutter UI provided by an {@link
27
* android.media.ImageReader} onto a {@link android.graphics.Canvas}. This mode is not as
28
* performant as {@link RenderMode#surface}, but a {@code FlutterView} in this mode can handle
29
* full interactivity with a {@link io.flutter.plugin.platform.PlatformView}. Unless {@link
30
* io.flutter.plugin.platform.PlatformView}s are required developers should strongly prefer the
31
* {@link RenderMode#surface} render mode.
32
*/
33
image
34
}
io.flutter.embedding.android.RenderMode
Definition:
RenderMode.java:8
io.flutter.embedding.android.RenderMode.texture
texture
Definition:
RenderMode.java:24
io.flutter.embedding.android.RenderMode.surface
surface
Definition:
RenderMode.java:16
SkRecords::image
sk_sp< const SkImage > image
Definition:
SkRecords.h:269
Generated on Sun Jun 23 2024 21:55:09 for Flutter Engine by
1.9.4