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