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