Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
renderer
backend
gles
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"
9
#include "
impeller/renderer/backend/gles/reactor_gles.h
"
10
#include "
impeller/renderer/pipeline_library.h
"
11
12
namespace
impeller
{
13
14
class
ContextGLES;
15
16
class
PipelineLibraryGLES
final :
public
PipelineLibrary
{
17
public
:
18
// |PipelineLibrary|
19
~PipelineLibraryGLES
()
override
;
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|
33
PipelineFuture<PipelineDescriptor>
GetPipeline
(
34
PipelineDescriptor
descriptor)
override
;
35
36
// |PipelineLibrary|
37
PipelineFuture<ComputePipelineDescriptor>
GetPipeline
(
38
ComputePipelineDescriptor
descriptor)
override
;
39
40
// |PipelineLibrary|
41
void
RemovePipelinesWithEntryPoint
(
42
std::shared_ptr<const ShaderFunction>
function
)
override
;
43
44
PipelineLibraryGLES
(
const
PipelineLibraryGLES
&) =
delete
;
45
46
PipelineLibraryGLES
& operator=(
const
PipelineLibraryGLES
&) =
delete
;
47
};
48
49
}
// namespace impeller
50
51
#endif
// FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_PIPELINE_LIBRARY_GLES_H_
impeller::ComputePipelineDescriptor
Definition
compute_pipeline_descriptor.h:31
impeller::ContextGLES
Definition
context_gles.h:24
impeller::PipelineDescriptor
Definition
pipeline_descriptor.h:24
impeller::PipelineLibraryGLES
Definition
pipeline_library_gles.h:16
impeller::PipelineLibraryGLES::~PipelineLibraryGLES
~PipelineLibraryGLES() override
impeller::PipelineLibraryGLES::GetPipeline
PipelineFuture< PipelineDescriptor > GetPipeline(PipelineDescriptor descriptor) override
Definition
pipeline_library_gles.cc:183
impeller::PipelineLibraryGLES::RemovePipelinesWithEntryPoint
void RemovePipelinesWithEntryPoint(std::shared_ptr< const ShaderFunction > function) override
Definition
pipeline_library_gles.cc:270
impeller::PipelineLibraryGLES::IsValid
bool IsValid() const override
Definition
pipeline_library_gles.cc:178
impeller::PipelineLibrary
Definition
pipeline_library.h:30
impeller::ReactorGLES::Ref
std::shared_ptr< ReactorGLES > Ref
Definition
reactor_gles.h:87
function
Dart_NativeFunction function
Definition
fuchsia.cc:51
impeller
Definition
texture.h:18
impeller::PipelineMap
std::unordered_map< PipelineDescriptor, PipelineFuture< PipelineDescriptor >, ComparableHash< PipelineDescriptor >, ComparableEqual< PipelineDescriptor > > PipelineMap
Definition
pipeline_library.h:22
pipeline_library.h
reactor_gles.h
impeller::PipelineFuture
Definition
pipeline.h:25
Generated on Fri Apr 26 2024 06:14:11 for Flutter Engine by
1.9.8