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
third_party
skia
tools
gpu
gl
angle
GLTestContext_angle.h
Go to the documentation of this file.
1
2
/*
3
* Copyright 2012 Google Inc.
4
*
5
* Use of this source code is governed by a BSD-style license that can be
6
* found in the LICENSE file.
7
*/
8
#ifndef GLTestContext_angle_DEFINED
9
#define GLTestContext_angle_DEFINED
10
11
#include "
tools/gpu/gl/GLTestContext.h
"
12
13
namespace
sk_gpu_test
{
14
15
/**
16
* Creates a GrGLInterface for the current ANGLE GLES Context. Here current means bound in ANGLE's
17
* implementation of EGL.
18
*/
19
sk_sp<const GrGLInterface>
CreateANGLEGLInterface
();
20
21
enum class
ANGLEBackend
{
22
kD3D9
,
23
kD3D11
,
24
kOpenGL
,
25
kMetal
26
};
27
28
enum class
ANGLEContextVersion
{
29
kES2
,
30
kES3
31
};
32
33
/** Creates a GLTestContext backed by ANGLE. */
34
std::unique_ptr<GLTestContext>
MakeANGLETestContext
(
ANGLEBackend
,
ANGLEContextVersion
,
35
GLTestContext* shareContext =
nullptr
,
36
void
* display =
nullptr
);
37
38
}
// namespace sk_gpu_test
39
#endif
GLTestContext.h
GrGLANGLEBackend::kD3D9
@ kD3D9
GrGLANGLEBackend::kD3D11
@ kD3D11
sk_sp< const GrGLInterface >
kOpenGL
@ kOpenGL
Definition:
embedder.h:80
kMetal
@ kMetal
Definition:
embedder.h:85
sk_gpu_test
Definition:
gm_bindings.cpp:339
sk_gpu_test::CreateANGLEGLInterface
sk_sp< const GrGLInterface > CreateANGLEGLInterface()
Definition:
GLTestContext_angle.cpp:502
sk_gpu_test::ANGLEBackend
ANGLEBackend
Definition:
GLTestContext_angle.h:21
sk_gpu_test::MakeANGLETestContext
std::unique_ptr< GLTestContext > MakeANGLETestContext(ANGLEBackend type, ANGLEContextVersion version, GLTestContext *shareContext, void *display)
Definition:
GLTestContext_angle.cpp:527
sk_gpu_test::ANGLEContextVersion
ANGLEContextVersion
Definition:
GLTestContext_angle.h:28
sk_gpu_test::ANGLEContextVersion::kES2
@ kES2
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4