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
surface
android_surface_mock.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
5
#include "flutter/shell/platform/android/surface/android_surface_mock.h"
6
7
namespace
flutter
{
8
9
std::unique_ptr<GLContextResult>
AndroidSurfaceMock::GLContextMakeCurrent
() {
10
return
std::make_unique<GLContextDefaultResult>(
/*static_result=*/
true
);
11
}
12
13
bool
AndroidSurfaceMock::GLContextClearCurrent
() {
14
return
true
;
15
}
16
17
bool
AndroidSurfaceMock::GLContextPresent
(
const
GLPresentInfo
& present_info) {
18
return
true
;
19
}
20
21
GLFBOInfo
AndroidSurfaceMock::GLContextFBO
(
GLFrameInfo
frame_info)
const
{
22
return
GLFBOInfo
{
23
.
fbo_id
= 0,
24
};
25
}
26
27
}
// namespace flutter
flutter::AndroidSurfaceMock::GLContextPresent
bool GLContextPresent(const GLPresentInfo &present_info) override
Definition:
android_surface_mock.cc:17
flutter::AndroidSurfaceMock::GLContextClearCurrent
bool GLContextClearCurrent() override
Definition:
android_surface_mock.cc:13
flutter::AndroidSurfaceMock::GLContextMakeCurrent
std::unique_ptr< GLContextResult > GLContextMakeCurrent() override
Definition:
android_surface_mock.cc:9
flutter::AndroidSurfaceMock::GLContextFBO
GLFBOInfo GLContextFBO(GLFrameInfo frame_info) const override
Definition:
android_surface_mock.cc:21
flutter
Definition:
asset_manager.cc:10
flutter::GLFBOInfo
Definition:
gpu_surface_gl_delegate.h:27
flutter::GLFBOInfo::fbo_id
uint32_t fbo_id
Definition:
gpu_surface_gl_delegate.h:29
flutter::GLFrameInfo
Definition:
gpu_surface_gl_delegate.h:20
flutter::GLPresentInfo
Definition:
gpu_surface_gl_delegate.h:35
Generated on Sun Jun 23 2024 21:55:10 for Flutter Engine by
1.9.4