Flutter Engine
 
Loading...
Searching...
No Matches
dl_runtime_effect_impeller.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_DISPLAY_LIST_DL_RUNTIME_EFFECT_IMPELLER_H_
6#define FLUTTER_IMPELLER_DISPLAY_LIST_DL_RUNTIME_EFFECT_IMPELLER_H_
7
9
10namespace flutter {
11
13 public:
14 // |DlRuntimeEffect|
16
17 static sk_sp<DlRuntimeEffect> Make(
18 std::shared_ptr<impeller::RuntimeStage> runtime_stage);
19
21 std::shared_ptr<impeller::RuntimeStage> runtime_stage);
22
23 // |DlRuntimeEffect|
24 sk_sp<SkRuntimeEffect> skia_runtime_effect() const override;
25
26 // |DlRuntimeEffect|
27 std::shared_ptr<impeller::RuntimeStage> runtime_stage() const override;
28
29 private:
30 DlRuntimeEffectImpeller() = delete;
31
32 std::shared_ptr<impeller::RuntimeStage> runtime_stage_;
33
35
36 friend DlRuntimeEffect;
37};
38
39} // namespace flutter
40
41#endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_RUNTIME_EFFECT_IMPELLER_H_
sk_sp< SkRuntimeEffect > skia_runtime_effect() const override
std::shared_ptr< impeller::RuntimeStage > runtime_stage() const override
static sk_sp< DlRuntimeEffect > Make(std::shared_ptr< impeller::RuntimeStage > runtime_stage)
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition macros.h:27