Flutter Engine
The Flutter Engine
pipeline_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_PIPELINE_LIBRARY_GLES_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_PIPELINE_LIBRARY_GLES_H_
7
10
11namespace impeller {
12
13class ContextGLES;
14
16 public:
17 // |PipelineLibrary|
19
20 private:
21 friend ContextGLES;
22
23 ReactorGLES::Ref reactor_;
24 PipelineMap pipelines_;
25
26 explicit PipelineLibraryGLES(ReactorGLES::Ref reactor);
27
28 // |PipelineLibrary|
29 bool IsValid() const override;
30
31 // |PipelineLibrary|
33 bool async) override;
34
35 // |PipelineLibrary|
38 bool async) override;
39
40 // |PipelineLibrary|
41 void RemovePipelinesWithEntryPoint(
42 std::shared_ptr<const ShaderFunction> function) override;
43
45
46 PipelineLibraryGLES& operator=(const PipelineLibraryGLES&) = delete;
47};
48
49} // namespace impeller
50
51#endif // FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_PIPELINE_LIBRARY_GLES_H_
std::shared_ptr< ReactorGLES > Ref
Definition: reactor_gles.h:86
Dart_NativeFunction function
Definition: fuchsia.cc:51
std::unordered_map< PipelineDescriptor, PipelineFuture< PipelineDescriptor >, ComparableHash< PipelineDescriptor >, ComparableEqual< PipelineDescriptor > > PipelineMap