Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
8#include "flutter/fml/macros.h"
11
12namespace impeller {
13
14class ContextGLES;
15
17 public:
18 // |PipelineLibrary|
20
21 private:
22 friend ContextGLES;
23
24 ReactorGLES::Ref reactor_;
25 PipelineMap pipelines_;
26
27 explicit PipelineLibraryGLES(ReactorGLES::Ref reactor);
28
29 // |PipelineLibrary|
30 bool IsValid() const override;
31
32 // |PipelineLibrary|
34 PipelineDescriptor descriptor) override;
35
36 // |PipelineLibrary|
38 ComputePipelineDescriptor descriptor) override;
39
40 // |PipelineLibrary|
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_
PipelineFuture< PipelineDescriptor > GetPipeline(PipelineDescriptor descriptor) override
void RemovePipelinesWithEntryPoint(std::shared_ptr< const ShaderFunction > function) override
std::shared_ptr< ReactorGLES > Ref
Dart_NativeFunction function
Definition fuchsia.cc:51
std::unordered_map< PipelineDescriptor, PipelineFuture< PipelineDescriptor >, ComparableHash< PipelineDescriptor >, ComparableEqual< PipelineDescriptor > > PipelineMap