Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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"
11
12namespace impeller {
13
14class TextureGLES;
15class SamplerLibraryGLES;
16class ProcTableGLES;
17
18class SamplerGLES final : public Sampler,
19 public BackendCast<SamplerGLES, Sampler> {
20 public:
22
24 const ProcTableGLES& gl) const;
25
26 private:
27 friend class SamplerLibraryGLES;
28
29 explicit SamplerGLES(SamplerDescriptor desc);
30
31 SamplerGLES(const SamplerGLES&) = delete;
32
33 SamplerGLES& operator=(const SamplerGLES&) = delete;
34};
35
36} // namespace impeller
37
38#endif // FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SAMPLER_GLES_H_
bool ConfigureBoundTexture(const TextureGLES &texture, const ProcTableGLES &gl) const
FlTexture * texture