Flutter Engine
Loading...
Searching...
No Matches
platform_view_layer.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_FLOW_LAYERS_PLATFORM_VIEW_LAYER_H_
6
#define FLUTTER_FLOW_LAYERS_PLATFORM_VIEW_LAYER_H_
7
8
#include "
flutter/display_list/skia/dl_sk_canvas.h
"
9
#include "
flutter/flow/layers/layer.h
"
10
11
namespace
flutter
{
12
13
class
PlatformViewLayer
:
public
Layer
{
14
public
:
15
PlatformViewLayer
(
const
DlPoint
&
offset
,
const
DlSize
&
size
, int64_t
view_id
);
16
17
void
Preroll
(
PrerollContext
* context)
override
;
18
void
Paint
(
PaintContext
& context)
const override
;
19
20
private
:
21
DlPoint
offset_;
22
DlSize
size_;
23
int64_t view_id_;
24
25
FML_DISALLOW_COPY_AND_ASSIGN
(
PlatformViewLayer
);
26
};
27
28
}
// namespace flutter
29
30
#endif
// FLUTTER_FLOW_LAYERS_PLATFORM_VIEW_LAYER_H_
flutter::Layer
Definition
layer.h:113
flutter::PlatformViewLayer
Represents a platform view layer, including all mutations.
Definition
platform_view_layer.h:13
flutter::PlatformViewLayer::Preroll
void Preroll(PrerollContext *context) override
Definition
platform_view_layer.cc:16
flutter::PlatformViewLayer::size
FlutterSize size() const
Definition
FlutterMutatorView.h:30
flutter::PlatformViewLayer::offset
FlutterPoint offset() const
Definition
FlutterMutatorView.h:29
dl_sk_canvas.h
view_id
G_BEGIN_DECLS FlutterViewId view_id
Definition
fl_view_accessible.h:49
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
layer.h
flutter
Definition
asset_manager.cc:10
flutter::PaintContext
Definition
layer.h:78
flutter::PrerollContext
Definition
layer.h:45
impeller::Paint
Definition
paint.h:27
impeller::TPoint< Scalar >
impeller::TSize< Scalar >
flow
layers
platform_view_layer.h
Generated on Wed Nov 5 2025 21:33:11 for Flutter Engine by
1.9.8