Flutter Engine
The Flutter Engine
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 "
impeller/renderer/backend/gles/reactor_gles.h
"
9
#include "
impeller/renderer/pipeline_library.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
26
explicit
PipelineLibraryGLES
(
ReactorGLES::Ref
reactor);
27
28
// |PipelineLibrary|
29
bool
IsValid()
const override
;
30
31
// |PipelineLibrary|
32
PipelineFuture<PipelineDescriptor>
GetPipeline(
PipelineDescriptor
descriptor,
33
bool
async)
override
;
34
35
// |PipelineLibrary|
36
PipelineFuture<ComputePipelineDescriptor>
GetPipeline(
37
ComputePipelineDescriptor
descriptor,
38
bool
async)
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:21
impeller::ContextGLES
Definition:
context_gles.h:24
impeller::PipelineDescriptor
Definition:
pipeline_descriptor.h:24
impeller::PipelineLibraryGLES
Definition:
pipeline_library_gles.h:15
impeller::PipelineLibraryGLES::~PipelineLibraryGLES
~PipelineLibraryGLES() override
impeller::PipelineLibrary
Definition:
pipeline_library.h:29
impeller::ReactorGLES::Ref
std::shared_ptr< ReactorGLES > Ref
Definition:
reactor_gles.h:86
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:21
pipeline_library.h
reactor_gles.h
impeller::PipelineFuture
Definition:
pipeline.h:25
Generated on Sun Jun 23 2024 21:55:02 for Flutter Engine by
1.9.4