Flutter Impeller
dl.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 
6 
7 namespace impeller::interop {
8 
9 DisplayList::DisplayList(sk_sp<flutter::DisplayList> display_list)
10  : display_list_(std::move(display_list)) {}
11 
12 DisplayList::~DisplayList() = default;
13 
14 bool DisplayList::IsValid() const {
15  return !!display_list_;
16 }
17 
18 const sk_sp<flutter::DisplayList> DisplayList::GetDisplayList() const {
19  return display_list_;
20 }
21 
22 } // namespace impeller::interop
const sk_sp< flutter::DisplayList > GetDisplayList() const
Definition: dl.cc:18
DisplayList(sk_sp< flutter::DisplayList > display_list)
Definition: dl.cc:9
bool IsValid() const
Definition: dl.cc:14
Definition: comparable.h:95