| Flutter Impeller |

dl_runtime_effect_impeller.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 "flutter/impeller/display_list/dl_runtime_effect_impeller.h"
6 #include "flutter/impeller/runtime_stage/runtime_stage.h"
7
8 namespace flutter {
9
10 //------------------------------------------------------------------------------
11 /// DlRuntimeEffectImpeller
12 ///
13
14 sk_sp<DlRuntimeEffect> DlRuntimeEffectImpeller::Make(
15 std::shared_ptr<impeller::RuntimeStage> runtime_stage) {
16 return sk_make_sp<DlRuntimeEffectImpeller>(std::move(runtime_stage));
17 }
18
19 DlRuntimeEffectImpeller::~DlRuntimeEffectImpeller() = default;
20
21 DlRuntimeEffectImpeller::DlRuntimeEffectImpeller(
22 std::shared_ptr<impeller::RuntimeStage> runtime_stage)
23 : runtime_stage_(std::move(runtime_stage)) {};
24
25 sk_sp<SkRuntimeEffect> DlRuntimeEffectImpeller::skia_runtime_effect() const {
26 return nullptr;
27 }
28
29 std::shared_ptr<impeller::RuntimeStage> DlRuntimeEffectImpeller::runtime_stage()
30 const {
31 return runtime_stage_;
32 }
33
34 } // namespace flutter
flutter::DlRuntimeEffectImpeller::~DlRuntimeEffectImpeller
~DlRuntimeEffectImpeller() override
flutter::DlRuntimeEffectImpeller::skia_runtime_effect
sk_sp< SkRuntimeEffect > skia_runtime_effect() const override
Definition: dl_runtime_effect_impeller.cc:25
flutter::DlRuntimeEffectImpeller::runtime_stage
std::shared_ptr< impeller::RuntimeStage > runtime_stage() const override
Definition: dl_runtime_effect_impeller.cc:29
flutter::DlRuntimeEffectImpeller::Make
static sk_sp< DlRuntimeEffect > Make(std::shared_ptr< impeller::RuntimeStage > runtime_stage)
Definition: dl_runtime_effect_impeller.cc:14
dl_runtime_effect_impeller.h
flutter
Definition: dl_golden_blur_unittests.cc:16
std
Definition: comparable.h:95
runtime_stage.h