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
5
#include "
impeller/toolkit/interop/dl.h
"
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
impeller::interop::DisplayList::GetDisplayList
const sk_sp< flutter::DisplayList > GetDisplayList() const
Definition:
dl.cc:18
impeller::interop::DisplayList::DisplayList
DisplayList(sk_sp< flutter::DisplayList > display_list)
Definition:
dl.cc:9
impeller::interop::DisplayList::IsValid
bool IsValid() const
Definition:
dl.cc:14
impeller::interop::DisplayList::~DisplayList
~DisplayList() override
dl.h
impeller::interop
Definition:
context_gles.cc:12
std
Definition:
comparable.h:95
impeller
toolkit
interop
dl.cc
Generated by
1.9.1