Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
renderer
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:18
std
Definition
ref_ptr.h:256
Generated on Fri Apr 26 2024 06:14:13 for Flutter Engine by
1.9.8