Flutter Engine
The Flutter Engine
impeller
renderer
backend
gles
render_pass_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_RENDER_PASS_GLES_H_
6
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_RENDER_PASS_GLES_H_
7
8
#include <memory>
9
10
#include "flutter/impeller/renderer/backend/gles/reactor_gles.h"
11
#include "flutter/impeller/renderer/render_pass.h"
12
13
namespace
impeller
{
14
15
class
RenderPassGLES
final
16
:
public
RenderPass
,
17
public
std::enable_shared_from_this<RenderPassGLES> {
18
public
:
19
// |RenderPass|
20
~RenderPassGLES
()
override
;
21
22
private
:
23
friend
class
CommandBufferGLES
;
24
25
ReactorGLES::Ref
reactor_;
26
std::string label_;
27
bool
is_valid_ =
false
;
28
29
RenderPassGLES
(std::shared_ptr<const Context> context,
30
const
RenderTarget
&
target
,
31
ReactorGLES::Ref
reactor);
32
33
// |RenderPass|
34
bool
IsValid()
const override
;
35
36
// |RenderPass|
37
void
OnSetLabel(std::string label)
override
;
38
39
// |RenderPass|
40
bool
OnEncodeCommands(
const
Context
& context)
const override
;
41
42
RenderPassGLES
(
const
RenderPassGLES
&) =
delete
;
43
44
RenderPassGLES
& operator=(
const
RenderPassGLES
&) =
delete
;
45
};
46
47
}
// namespace impeller
48
49
#endif
// FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_RENDER_PASS_GLES_H_
impeller::CommandBufferGLES
Definition:
command_buffer_gles.h:14
impeller::Context
To do anything rendering related with Impeller, you need a context.
Definition:
context.h:45
impeller::ReactorGLES::Ref
std::shared_ptr< ReactorGLES > Ref
Definition:
reactor_gles.h:86
impeller::RenderPassGLES
Definition:
render_pass_gles.h:17
impeller::RenderPassGLES::~RenderPassGLES
~RenderPassGLES() override
impeller::RenderPass
Render passes encode render commands directed as one specific render target into an underlying comman...
Definition:
render_pass.h:33
impeller::RenderTarget
Definition:
render_target.h:38
target
uint32_t * target
Definition:
fl_texture_registrar_test.cc:40
impeller
Definition:
texture.h:18
Generated on Sun Jun 23 2024 21:55:02 for Flutter Engine by
1.9.4