Flutter Engine
The Flutter Engine
lib
ui
painting
engine_layer.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 "flutter/lib/ui/painting/engine_layer.h"
6
7
#include <utility>
8
9
#include "flutter/lib/ui/ui_dart_state.h"
10
#include "
third_party/tonic/converter/dart_converter.h
"
11
#include "
third_party/tonic/dart_args.h
"
12
#include "
third_party/tonic/dart_binding_macros.h
"
13
#include "
third_party/tonic/dart_library_natives.h
"
14
15
namespace
flutter
{
16
17
IMPLEMENT_WRAPPERTYPEINFO
(
ui
,
EngineLayer
);
18
19
EngineLayer::EngineLayer(std::shared_ptr<flutter::ContainerLayer> layer)
20
: layer_(
std
::move(layer)) {}
21
22
EngineLayer::~EngineLayer() =
default
;
23
24
void
EngineLayer::dispose() {
25
layer_.reset();
26
ClearDartWrapper();
27
}
28
29
}
// namespace flutter
flutter::EngineLayer
Definition:
engine_layer.h:15
dart_args.h
dart_binding_macros.h
dart_converter.h
dart_library_natives.h
flutter
Definition:
asset_manager.cc:10
flutter::IMPLEMENT_WRAPPERTYPEINFO
IMPLEMENT_WRAPPERTYPEINFO(flutter_gpu, FlutterGpuTestClass)
std
Definition:
ref_ptr.h:256
ui
Definition:
window_binding_handler.h:18
Generated on Sun Jun 23 2024 21:55:05 for Flutter Engine by
1.9.4