Flutter Engine
 
Loading...
Searching...
No Matches
dl.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_TOOLKIT_INTEROP_DL_H_
6#define FLUTTER_IMPELLER_TOOLKIT_INTEROP_DL_H_
7
11
12namespace impeller::interop {
13
14class DisplayList final
15 : public Object<DisplayList,
16 IMPELLER_INTERNAL_HANDLE_NAME(ImpellerDisplayList)> {
17 public:
18 explicit DisplayList(sk_sp<flutter::DisplayList> display_list);
19
20 ~DisplayList() override;
21
22 DisplayList(const DisplayList&) = delete;
23
25
26 bool IsValid() const;
27
28 const sk_sp<flutter::DisplayList> GetDisplayList() const;
29
30 private:
31 sk_sp<flutter::DisplayList> display_list_;
32};
33
34} // namespace impeller::interop
35
36#endif // FLUTTER_IMPELLER_TOOLKIT_INTEROP_DL_H_
const sk_sp< flutter::DisplayList > GetDisplayList() const
Definition dl.cc:18
DisplayList & operator=(const DisplayList &)=delete
DisplayList(const DisplayList &)=delete