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 #pragma once
6 
7 #include "flutter/fml/macros.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 
29 
30  // |Sampler|
31  bool IsValid() const override;
32 
33  FML_DISALLOW_COPY_AND_ASSIGN(SamplerGLES);
34 };
35 
36 } // namespace impeller
impeller::SamplerGLES
Definition: sampler_gles.h:17
impeller::SamplerGLES::~SamplerGLES
~SamplerGLES()
sampler.h
impeller::SamplerGLES::ConfigureBoundTexture
bool ConfigureBoundTexture(const TextureGLES &texture, const ProcTableGLES &gl) const
Definition: sampler_gles.cc:70
impeller::SamplerDescriptor
Definition: sampler_descriptor.h:18
impeller::Sampler
Definition: sampler.h:12
impeller::SamplerLibraryGLES
Definition: sampler_library_gles.h:13
backend_cast.h
impeller::ProcTableGLES
Definition: proc_table_gles.h:188
impeller::BackendCast
Definition: backend_cast.h:12
impeller::TextureGLES
Definition: texture_gles.h:15
impeller
Definition: aiks_context.cc:10