Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
compute_pass.cc
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
#include "
impeller/renderer/compute_pass.h
"
6
7
namespace
impeller
{
8
9
ComputePass::ComputePass
(std::shared_ptr<const Context>
context
)
10
: context_(
std
::move(
context
)) {}
11
12
ComputePass::~ComputePass
() =
default
;
13
14
void
ComputePass::SetLabel
(
const
std::string& label) {
15
if
(label.empty()) {
16
return
;
17
}
18
OnSetLabel
(label);
19
}
20
21
}
// namespace impeller
impeller::ComputePass::OnSetLabel
virtual void OnSetLabel(const std::string &label)=0
impeller::ComputePass::ComputePass
ComputePass(std::shared_ptr< const Context > context)
Definition
compute_pass.cc:9
impeller::ComputePass::SetLabel
void SetLabel(const std::string &label)
Definition
compute_pass.cc:14
impeller::ComputePass::~ComputePass
virtual ~ComputePass()
compute_pass.h
impeller
Definition
texture.h:16
std
Definition
ref_ptr.h:261
context
std::shared_ptr< ContextGLES > context
Definition
render_pass_gles_unittests.cc:74
impeller
renderer
compute_pass.cc
Generated on Sun Jun 14 2026 06:12:31 for Flutter Engine Uber Docs by
1.9.8