Flutter Impeller
sampler_library_gles.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_RENDERER_BACKEND_GLES_SAMPLER_LIBRARY_GLES_H_
6
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_LIBRARY_GLES_H_
7
8
#include "
impeller/core/sampler.h
"
9
#include "
impeller/core/sampler_descriptor.h
"
10
#include "
impeller/renderer/sampler_library.h
"
11
12
namespace
impeller
{
13
14
class
SamplerLibraryGLES
final :
public
SamplerLibrary
{
15
public
:
16
explicit
SamplerLibraryGLES
(
bool
supports_decal_sampler_address_mode);
17
// |SamplerLibrary|
18
~SamplerLibraryGLES
()
override
;
19
20
private
:
21
friend
class
ContextGLES
;
22
23
SamplerMap
samplers_;
24
25
SamplerLibraryGLES
();
26
27
// |SamplerLibrary|
28
const
std::unique_ptr<const Sampler>& GetSampler(
29
SamplerDescriptor
descriptor)
override
;
30
31
bool
supports_decal_sampler_address_mode_ =
false
;
32
33
SamplerLibraryGLES
(
const
SamplerLibraryGLES
&) =
delete
;
34
35
SamplerLibraryGLES
& operator=(
const
SamplerLibraryGLES
&) =
delete
;
36
};
37
38
}
// namespace impeller
39
40
#endif // FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_LIBRARY_GLES_H_
sampler_library.h
sampler.h
impeller::ContextGLES
Definition:
context_gles.h:22
impeller::SamplerDescriptor
Definition:
sampler_descriptor.h:15
impeller::SamplerLibraryGLES
Definition:
sampler_library_gles.h:14
sampler_descriptor.h
impeller::SamplerLibraryGLES::~SamplerLibraryGLES
~SamplerLibraryGLES() override
impeller::SamplerLibrary
Definition:
sampler_library.h:13
impeller
Definition:
aiks_blur_unittests.cc:20
impeller::SamplerMap
std::unordered_map< SamplerDescriptor, std::unique_ptr< const Sampler >, ComparableHash< SamplerDescriptor >, ComparableEqual< SamplerDescriptor > > SamplerMap
Definition:
sampler.h:35
impeller
renderer
backend
gles
sampler_library_gles.h
Generated by
1.8.17