Flutter Engine
 
Loading...
Searching...
No Matches
dl_runtime_effect.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_H_
6#define FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_H_
7
8#include <memory>
9
10#include "flutter/fml/macros.h"
11#include "third_party/skia/include/core/SkRefCnt.h"
12
13class SkRuntimeEffect;
14namespace impeller {
15class RuntimeStage;
16}
17
18namespace flutter {
19
20class DlRuntimeEffect : public SkRefCnt {
21 public:
22 virtual sk_sp<SkRuntimeEffect> skia_runtime_effect() const = 0;
23
24 virtual std::shared_ptr<impeller::RuntimeStage> runtime_stage() const = 0;
25
26 protected:
29
30 private:
32};
33
34} // namespace flutter
35
36#endif // FLUTTER_DISPLAY_LIST_EFFECTS_DL_RUNTIME_EFFECT_H_
virtual sk_sp< SkRuntimeEffect > skia_runtime_effect() const =0
virtual std::shared_ptr< impeller::RuntimeStage > runtime_stage() const =0
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition macros.h:27