| Flutter Impeller |

sampler_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_GLES_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_GLES_H_
7
8 #include "impeller/base/backend_cast.h"
9 #include "impeller/core/sampler.h"
10
11 namespace impeller {
12
13 class TextureGLES;
14 class SamplerLibraryGLES;
15 class ProcTableGLES;
16
17 class SamplerGLES final : public Sampler,
18 public BackendCast<SamplerGLES, Sampler> {
19 public:
20 ~SamplerGLES();
21
22 bool ConfigureBoundTexture(const TextureGLES& texture,
23 const ProcTableGLES& gl) const;
24
25 private:
26 friend class SamplerLibraryGLES;
27
28 explicit SamplerGLES(const SamplerDescriptor&);
29
30 SamplerGLES(const SamplerGLES&) = delete;
31
32 SamplerGLES& operator=(const SamplerGLES&) = delete;
33 };
34
35 } // namespace impeller
36
37 #endif // FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_GLES_H_
backend_cast.h
impeller::BackendCast
Definition: backend_cast.h:11
impeller::ProcTableGLES
Definition: proc_table_gles.h:282
impeller::SamplerGLES
Definition: sampler_gles.h:18
impeller::SamplerGLES::~SamplerGLES
~SamplerGLES()
impeller::SamplerGLES::ConfigureBoundTexture
bool ConfigureBoundTexture(const TextureGLES &texture, const ProcTableGLES &gl) const
Definition: sampler_gles.cc:71
impeller::Sampler
Definition: sampler.h:12
impeller::SamplerLibraryGLES
Definition: sampler_library_gles.h:15
impeller::TextureGLES
Definition: texture_gles.h:19
impeller
Definition: allocation.cc:12
sampler.h
impeller::SamplerDescriptor
Definition: sampler_descriptor.h:14