Flutter Impeller
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 #pragma once
6 
7 #include "flutter/fml/macros.h"
10 
11 namespace impeller {
12 
13 class ContextGLES;
14 
15 class PipelineLibraryGLES final : public PipelineLibrary {
16  public:
17  // |PipelineLibrary|
18  ~PipelineLibraryGLES() override;
19 
20  private:
21  friend ContextGLES;
22 
23  ReactorGLES::Ref reactor_;
24  PipelineMap pipelines_;
25 
27 
28  // |PipelineLibrary|
29  bool IsValid() const override;
30 
31  // |PipelineLibrary|
33  PipelineDescriptor descriptor) override;
34 
35  // |PipelineLibrary|
37  ComputePipelineDescriptor descriptor) override;
38 
39  // |PipelineLibrary|
40  void RemovePipelinesWithEntryPoint(
41  std::shared_ptr<const ShaderFunction> function) override;
42 
43  FML_DISALLOW_COPY_AND_ASSIGN(PipelineLibraryGLES);
44 };
45 
46 } // namespace impeller
impeller::PipelineDescriptor
Definition: pipeline_descriptor.h:30
impeller::ComputePipelineDescriptor
Definition: compute_pipeline_descriptor.h:29
impeller::ReactorGLES::Ref
std::shared_ptr< ReactorGLES > Ref
Definition: reactor_gles.h:31
impeller::ContextGLES
Definition: context_gles.h:20
impeller::PipelineFuture
Definition: pipeline.h:24
impeller::PipelineLibrary
Definition: pipeline_library.h:29
impeller::PipelineMap
std::unordered_map< PipelineDescriptor, PipelineFuture< PipelineDescriptor >, ComparableHash< PipelineDescriptor >, ComparableEqual< PipelineDescriptor > > PipelineMap
Definition: pipeline_library.h:21
pipeline_library.h
reactor_gles.h
impeller::PipelineLibraryGLES::~PipelineLibraryGLES
~PipelineLibraryGLES() override
impeller
Definition: aiks_context.cc:10
impeller::PipelineLibraryGLES
Definition: pipeline_library_gles.h:15