Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
f36b218e
Commit
f36b218e
authored
Nov 28, 2016
by
Adam Barth
Committed by
GitHub
Nov 28, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ChildSceneLayer (#7052)
This Fuchsia-specific code is moving into Fuchsia itself.
parent
c4afe958
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
49 deletions
+0
-49
layer.dart
packages/flutter/lib/src/rendering/layer.dart
+0
-49
No files found.
packages/flutter/lib/src/rendering/layer.dart
View file @
f36b218e
...
...
@@ -134,55 +134,6 @@ class PictureLayer extends Layer {
}
}
/// (Fuchsia-only) A layer that represents content from another process.
class
ChildSceneLayer
extends
Layer
{
/// Creates a layer that displays content rendered by another process.
///
/// All of the arguments must not be null.
ChildSceneLayer
({
this
.
offset
,
this
.
devicePixelRatio
,
this
.
physicalWidth
,
this
.
physicalHeight
,
this
.
sceneToken
});
/// Offset from parent in the parent's coordinate system.
Offset
offset
;
/// The number of physical pixels the child should produce for each logical pixel.
double
devicePixelRatio
;
/// The horizontal extent of the child, in physical pixels.
int
physicalWidth
;
/// The vertical extent of the child, in physical pixels.
int
physicalHeight
;
/// The composited scene that will contain the content rendered by the child.
int
sceneToken
;
@override
void
addToScene
(
ui
.
SceneBuilder
builder
,
Offset
layerOffset
)
{
builder
.
addChildScene
(
offset
+
layerOffset
,
devicePixelRatio
,
physicalWidth
,
physicalHeight
,
sceneToken
);
}
@override
void
debugFillDescription
(
List
<
String
>
description
)
{
super
.
debugFillDescription
(
description
);
description
.
add
(
'offset:
$offset
'
);
description
.
add
(
'physicalWidth:
$physicalWidth
'
);
description
.
add
(
'physicalHeight:
$physicalHeight
'
);
description
.
add
(
'sceneToken:
$sceneToken
'
);
}
}
/// A layer that indicates to the compositor that it should display
/// certain performance statistics within it.
class
PerformanceOverlayLayer
extends
Layer
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment