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
aee2ad5a
Commit
aee2ad5a
authored
Mar 11, 2016
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update engine
parent
b9f28e6f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
engine.version
bin/cache/engine.version
+1
-1
child_view.dart
packages/flutter/lib/src/rendering/child_view.dart
+1
-1
layer.dart
packages/flutter/lib/src/rendering/layer.dart
+3
-1
object.dart
packages/flutter/lib/src/rendering/object.dart
+2
-2
No files found.
bin/cache/engine.version
View file @
aee2ad5a
87de3c265ee01c2747695cd3fd053fd8362967a2
787e69fc453787089140b3b031ada932d7dad38e
packages/flutter/lib/src/rendering/child_view.dart
View file @
aee2ad5a
...
...
@@ -205,7 +205,7 @@ class RenderChildView extends RenderBox {
void
paint
(
PaintingContext
context
,
Offset
offset
)
{
assert
(
needsCompositing
);
if
(
_layoutInfo
!=
null
)
context
.
pushChildScene
(
offset
,
_layoutInfo
);
context
.
pushChildScene
(
offset
,
scale
,
_layoutInfo
);
}
void
debugFillDescription
(
List
<
String
>
description
)
{
...
...
packages/flutter/lib/src/rendering/layer.dart
View file @
aee2ad5a
...
...
@@ -108,14 +108,16 @@ class PictureLayer extends Layer {
}
class
ChildSceneLayer
extends
Layer
{
ChildSceneLayer
({
this
.
offset
,
this
.
layoutInfo
});
ChildSceneLayer
({
this
.
offset
,
this
.
devicePixelRatio
,
this
.
layoutInfo
});
Offset
offset
;
double
devicePixelRatio
;
mojom
.
ViewLayoutInfo
layoutInfo
;
void
addToScene
(
ui
.
SceneBuilder
builder
,
Offset
layerOffset
)
{
builder
.
addChildScene
(
offset
+
layerOffset
,
devicePixelRatio
,
layoutInfo
.
size
.
width
,
layoutInfo
.
size
.
height
,
layoutInfo
.
sceneToken
.
value
...
...
packages/flutter/lib/src/rendering/object.dart
View file @
aee2ad5a
...
...
@@ -191,9 +191,9 @@ class PaintingContext {
));
}
void
pushChildScene
(
Offset
offset
,
mojom
.
ViewLayoutInfo
layoutInfo
)
{
void
pushChildScene
(
Offset
offset
,
double
devicePixelRatio
,
mojom
.
ViewLayoutInfo
layoutInfo
)
{
_stopRecordingIfNeeded
();
_appendLayer
(
new
ChildSceneLayer
(
offset:
offset
,
layoutInfo:
layoutInfo
));
_appendLayer
(
new
ChildSceneLayer
(
offset:
offset
,
devicePixelRatio:
devicePixelRatio
,
layoutInfo:
layoutInfo
));
}
/// Push a rectangular clip rect.
...
...
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