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
8
#include "
flutter/display_list/effects/dl_runtime_effect.h
"
9
10
namespace
flutter
{
11
12
class
DlRuntimeEffectSkia
final :
public
DlRuntimeEffect
{
13
public
:
14
// |DlRuntimeEffect|
15
~DlRuntimeEffectSkia
()
override
;
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
33
FML_DISALLOW_COPY_AND_ASSIGN
(
DlRuntimeEffectSkia
);
34
35
friend
DlRuntimeEffect
;
36
};
37
38
}
// namespace flutter
39
40
#endif
// FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_SKIA_H_
flutter::DlRuntimeEffect
Definition
dl_runtime_effect.h:20
flutter::DlRuntimeEffectSkia
Definition
dl_runtime_effect_skia.h:12
flutter::DlRuntimeEffectSkia::skia_runtime_effect
sk_sp< SkRuntimeEffect > skia_runtime_effect() const override
Definition
dl_runtime_effect_skia.cc:24
flutter::DlRuntimeEffectSkia::Make
static sk_sp< DlRuntimeEffect > Make(const sk_sp< SkRuntimeEffect > &runtime_effect)
Definition
dl_runtime_effect_skia.cc:13
flutter::DlRuntimeEffectSkia::~DlRuntimeEffectSkia
~DlRuntimeEffectSkia() override
flutter::DlRuntimeEffectSkia::runtime_stage
std::shared_ptr< impeller::RuntimeStage > runtime_stage() const override
Definition
dl_runtime_effect_skia.cc:28
dl_runtime_effect.h
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
flutter
Definition
asset_manager.cc:10
display_list
effects
dl_runtime_effect_skia.h
Generated on Thu Nov 6 2025 16:11:21 for Flutter Engine by
1.9.8