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
impeller
core
sampler.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_IMPELLER_CORE_SAMPLER_H_
6
#define FLUTTER_IMPELLER_CORE_SAMPLER_H_
7
8
#include <unordered_map>
9
10
#include "
impeller/base/comparable.h
"
11
#include "
impeller/core/sampler_descriptor.h
"
12
13
namespace
impeller
{
14
15
class
Sampler
{
16
public
:
17
virtual
~Sampler
();
18
19
const
SamplerDescriptor
&
GetDescriptor
()
const
;
20
21
protected
:
22
SamplerDescriptor
desc_
;
23
24
explicit
Sampler
(
SamplerDescriptor
desc
);
25
26
private
:
27
Sampler
(
const
Sampler
&) =
delete
;
28
29
Sampler
& operator=(
const
Sampler
&) =
delete
;
30
};
31
32
using
SamplerMap
= std::unordered_map<
SamplerDescriptor
,
33
std::unique_ptr<const Sampler>,
34
ComparableHash<SamplerDescriptor>
,
35
ComparableEqual<SamplerDescriptor>
>;
36
37
}
// namespace impeller
38
39
#endif
// FLUTTER_IMPELLER_CORE_SAMPLER_H_
impeller::Sampler
Definition:
sampler.h:15
impeller::Sampler::Sampler
Sampler(SamplerDescriptor desc)
Definition:
sampler.cc:9
impeller::Sampler::~Sampler
virtual ~Sampler()
impeller::Sampler::GetDescriptor
const SamplerDescriptor & GetDescriptor() const
Definition:
sampler.cc:13
impeller::Sampler::desc_
SamplerDescriptor desc_
Definition:
sampler.h:22
comparable.h
impeller
Definition:
texture.h:18
impeller::SamplerMap
std::unordered_map< SamplerDescriptor, std::unique_ptr< const Sampler >, ComparableHash< SamplerDescriptor >, ComparableEqual< SamplerDescriptor > > SamplerMap
Definition:
sampler.h:35
import_conformance_tests.desc
desc
Definition:
import_conformance_tests.py:63
sampler_descriptor.h
impeller::ComparableEqual
Definition:
comparable.h:48
impeller::ComparableHash
Definition:
comparable.h:39
impeller::SamplerDescriptor
Definition:
sampler_descriptor.h:15
Generated on Sun Jun 23 2024 21:55:00 for Flutter Engine by
1.9.4