Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
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 size_t uniform_size() const override;
30
31 private:
32 DlRuntimeEffectImpeller() = delete;
33
34 std::shared_ptr<impeller::RuntimeStage> runtime_stage_;
35
37
38 friend DlRuntimeEffect;
39};
40
41} // namespace flutter
42
43#endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_RUNTIME_EFFECT_IMPELLER_H_
sk_sp< SkRuntimeEffect > skia_runtime_effect() const override
size_t uniform_size() const override
Returns the total combined size of all uniforms in bytes.
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