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