-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Impeller] add --enable-impeller-3d flag to support scene experimenta…
…tion (#37990) * ++ * ++ * ++ * ++ * ++ * ++ * ++ * ++
- Loading branch information
1 parent
bebc12f
commit 2c1e5ef
Showing
11 changed files
with
137 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"comment:0": "NOTE: THIS FILE IS GENERATED. DO NOT EDIT.", | ||
"comment:1": "Instead modify 'flutter/lib/snapshot/libraries.yaml' and follow the instructions therein.", | ||
"flutter": { | ||
"include": [ | ||
{ | ||
"path": "../../../third_party/dart/sdk/lib/libraries.json", | ||
"target": "vm_common" | ||
} | ||
], | ||
"libraries": { | ||
"ui": { | ||
"uri": "../../lib/ui/experiments/ui.dart" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2013 The Flutter Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
part of dart.ui; | ||
|
||
void addModelLayer( | ||
SceneBuilder builder, | ||
int viewId, { | ||
Offset offset = Offset.zero, | ||
double width = 0.0, | ||
double height = 0.0, | ||
}) { | ||
assert(offset != null, 'Offset argument was null'); | ||
_addModelLayer(builder, offset.dx, offset.dy, width, height, viewId); | ||
} | ||
|
||
@FfiNative<Void Function(Handle, Double, Double, Double, Double, Int64)>('SceneBuilder::addModelLayer') | ||
external void _addModelLayer(Object object, double dx, double dy, double width, double height, int viewId); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2013 The Flutter Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
/// Built-in types and core primitives for a Flutter application. | ||
/// | ||
/// To use, import `dart:ui`. | ||
/// | ||
/// This library exposes the lowest-level services that Flutter frameworks use | ||
/// to bootstrap applications, such as classes for driving the input, graphics | ||
/// text, layout, and rendering subsystems. | ||
library dart.ui; | ||
|
||
import 'dart:async'; | ||
import 'dart:collection' as collection; | ||
import 'dart:convert'; | ||
import 'dart:developer' as developer; | ||
import 'dart:ffi'; | ||
import 'dart:io'; | ||
import 'dart:isolate' show SendPort; | ||
import 'dart:math' as math; | ||
import 'dart:nativewrappers'; | ||
import 'dart:typed_data'; | ||
|
||
part '../annotations.dart'; | ||
part '../channel_buffers.dart'; | ||
part '../compositing.dart'; | ||
part 'compositing_3d.dart'; | ||
part '../geometry.dart'; | ||
part '../hash_codes.dart'; | ||
part '../hooks.dart'; | ||
part '../isolate_name_server.dart'; | ||
part '../key.dart'; | ||
part '../lerp.dart'; | ||
part '../math.dart'; | ||
part '../natives.dart'; | ||
part '../painting.dart'; | ||
part '../platform_dispatcher.dart'; | ||
part '../plugins.dart'; | ||
part '../pointer.dart'; | ||
part '../semantics.dart'; | ||
part '../text.dart'; | ||
part '../window.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters