Adam Barth
67141e8ea2
Update Skia ( #2704 )
2016-05-23 13:48:18 -07:00
Chinmay Garde
17e2df5fa0
Prepare a standalone non-interative Sky shell on Mac. ( #2700 )
2016-05-18 16:45:49 -07:00
Chinmay Garde
af0ec65775
Only use the Dart bytecode interpreter on iOS device targets. ( #2697 )
2016-05-18 11:31:58 -07:00
Chinmay Garde
dabc12878c
Create an Xcode project template for dynamic service creation. ( flutter/engine#2695 )
...
* Create an Xcode project template for dynamic service creation.
The `create_native_service_sdk.py` will be run on the buildbot similar
to `create_ios_sdk.py`. This will create an Xcode project with both arm
and x64 assets that the user can use to fill in the service
implementation.
* Add the complete_static_lib property to sdk_lib_archive in
dynamic/BUILD.gn
2016-05-18 11:26:33 -07:00
Jason Simmons
53bbe006b6
Update the flutter_gdb script to run on MacOS and make the engine build directory configurable ( #2694 )
2016-05-17 14:52:23 -07:00
Chinmay Garde
3ce7af5dee
Flip the switch on enabling the interpreter by default in debug runtime mode. ( #2691 )
2016-05-16 13:45:24 -07:00
Adam Barth
946e248675
Revert "Remove vendored dart-sdk ( #2688 )"
...
We still need this for the observatory build.
This reverts commit 716e82edd8fa7b354d6cb5e16a218e8dcbd095fd.
2016-05-16 10:54:49 -07:00
Adam Barth
716e82edd8
Remove vendored dart-sdk ( flutter/engine#2688 )
...
The engine.git repo doesn't need a copy of the Dart SDK anymore.
Fixes https://github.com/flutter/flutter/issues/2618
2016-05-16 08:09:00 -07:00
Devon Carew
bbbbae2993
pass in --suppress-analytics for mac flx builds ( #2687 )
2016-05-15 22:48:25 -07:00
Collin Jackson
bd76ae7e69
Remove Firebase implementation from engine ( #2677 )
2016-05-12 14:03:00 -07:00
mmclenna
2ecb969075
Additional instrumentation for tracing engine performance ( flutter/engine#2682 )
...
* Added instrumentation for timings.
* A few more traces for better granularity.
2016-05-12 13:34:57 -07:00
Chinmay Garde
359baffe8f
In case the script snapshotter fails on Dart_Initialize, dump the message. ( #2681 )
2016-05-11 16:01:02 -07:00
Ian Hickson
8295deb1ec
Updating CONTRIBUTING.md to mention latest paths ( flutter/engine#2676 )
...
* Updating CONTRIBUTING.md to mention latest paths
* Update CONTRIBUTING.md
2016-05-11 11:23:57 -07:00
Jason Simmons
f05e5edff6
Update the flutter_gdb script for the new engine output directory names ( #2671 )
2016-05-11 11:22:37 -07:00
Chinmay Garde
2852f2cd1f
create_ios_sdk.py takes additional arguments that specify the out directories of both the device and simulator builds. ( #2673 )
2016-05-10 15:36:12 -07:00
Chinmay Garde
e087e43fe5
Removed unused '--ios-force-armv7' flag. ( flutter/engine#2672 )
...
Was only used by the buildbot to test that the armv7 precompiler paths built. The Android AOTC variants check that now.
2016-05-10 14:51:24 -07:00
Jason Simmons
0992e73282
Change the "develop" runtime mode back to "debug" and rename the "debug" build configuration to "unoptimized" ( #2669 )
2016-05-10 10:57:56 -07:00
Jason Simmons
a2cf1ca1c5
Clean up gn flags for the develop/profile/release runtime modes ( #2667 )
2016-05-09 14:58:45 -07:00
Adam Barth
e4d3091dc4
Roll Mojo to 9a791294e429f9f2ca4f427796a284edb6f6768e ( flutter/engine#2663 )
...
* Update to mojo 9a791294e429f9f2ca4f427796a284edb6f6768e
* Update to account for Mojo API changes
2016-05-09 10:56:47 -07:00
Chinmay Garde
5fa5ec5a8b
Wire up the interpreter on iOS devices. ( #2648 )
2016-05-06 15:37:59 -07:00
Adam Barth
e852ba3709
Make iOS Flutter apps extensible ( flutter/engine#2654 )
...
This patch switches us to building Runner.app on the end-developer's machine,
which will eventually let them customize their app.
2016-05-06 11:16:04 -07:00
Adam Barth
6795384a76
Add a script for creating the iOS SDK ( flutter/engine#2655 )
...
Hosting this script inside the repo will let us change the contents of the SDK
without having to synchronize a change on the infrastructure and in the repo.
2016-05-06 10:57:11 -07:00
Jason Simmons
dace07c20e
Add an android-cpu engine build flag that can select ARM, x86 (32-bit), and x64 targets ( flutter/engine#2650 )
...
Remove the use of --simulator to indicate x64 on Android
2016-05-05 14:38:42 -07:00
Yegor
e3eaaedf95
provide link to instructions for building for iOS
...
Fixes #https://github.com/flutter/flutter/issues/3689
2016-05-03 07:32:14 -07:00
Adam Barth
bd5781371c
Revert "Record layer tree to an SkPicture before rasterization ( #2628 )"
...
This reverts commit 73790140e751ebc4dd57802a63e06bd694fc97a3.
This commit appears to have caused
https://github.com/flutter/flutter/issues/3658
2016-05-01 14:23:13 -07:00
Adam Barth
4569955c25
Remove FNL build configuration ( flutter/engine#2635 )
...
These build definitions no longer work with the current version of FNL. Once
FNL is ready, we'll add new build definitions that work for it again.
2016-04-29 12:15:15 -07:00
Adam Barth
73790140e7
Record layer tree to an SkPicture before rasterization ( flutter/engine#2628 )
...
This lets Skia run an optimization pass over the SkPicture before actually
issuing GL commands.
2016-04-28 10:15:38 -07:00
Adam Barth
1b3ef50223
Fix iOS build
2016-04-27 15:46:59 -07:00
Adam Barth
624c3ce42f
Use the GrGLCreateNativeInterface_glfw.cpp from Skia ( flutter/engine#2627 )
...
Instead of our own shadow copy.
2016-04-27 15:11:56 -07:00
Adam Barth
5210b088eb
Update Skia ( #2626 )
2016-04-27 14:59:06 -07:00
Jason Simmons
38f4bfd597
Remove a redundant line from the gn script ( #2619 )
2016-04-25 17:05:31 -07:00
Jason Simmons
58345daf37
Fix the dist target when building in AOT (deploy) mode on Android ( #2617 )
2016-04-25 15:37:48 -07:00
Adam Barth
ae16e4249e
Remove the extra lints from _embedder.yaml ( flutter/engine#2616 )
...
These were forcing our customers to obey these lints, but not all of our
customers like them. We might enable some of these in the future if they have
concrete benefits (e.g., faster generated code when compiling ahead-of-time).
2016-04-25 11:31:48 -07:00
Jason Simmons
dcfb093293
Support ahead-of-time compilation on Android in the engine ( flutter/engine#2614 )
...
This include build system changes for selecting Dart's precompiler mode
plus a way to locate and load the precompiled snapshot library from an
Android application
2016-04-25 10:45:23 -07:00
Yegor
2966060425
libdart_precompiled_runtime is gone; fix ios build ( #2613 )
2016-04-22 16:31:32 -07:00
Jason Simmons
b3dd19dc8f
Roll Dart and set dart_runtime_mode in the GN script ( #2610 )
2016-04-22 11:02:41 -07:00
Adam Barth
75b5912bd2
Break dependency from Layer to PaintContext ( flutter/engine#2609 )
...
Instead, make Layer::Paint take a new PaintContext that has just exactly
the state that it needs, mirroring PrerollContext. Also, rename
PaintContext to CompositorContext because it holds the context for the
whole compositor.
2016-04-21 23:05:41 -07:00
Adam Barth
785c11d6d9
Fix style in //flow/instrumentation ( flutter/engine#2608 )
...
This patch makes these files better match Google C++ style.
Also, add the engine lap time when running on Mojo.
2016-04-21 22:36:46 -07:00
Adam Barth
98fc65a85b
Improve paint bounds computation in flow ( flutter/engine#2607 )
...
We now compute the bounds for all container layers, including clips, and
use those bounds to tighten down our clips and save layers.
2016-04-21 21:50:44 -07:00
Adam Barth
9c8595512e
Make OpacityLayer hit SkRecordNoopSaveLayerDrawRestores ( flutter/engine#2604 )
...
Previously we were applying opacity in a different way than Skia
expects. Now we use the exact pattern that Skia expects so that we hit
more optimizations inside SkRecordOptimize.
After this patch, we don't actually get the optimization because we
don't yet run SkRecordOptimize over the composited tree. A later patch
will actually cause us to run SkRecordOptimize.
2016-04-21 07:55:37 -07:00
Devon Carew
c7c2b6aa1c
update _embedder.yaml ( #2599 )
2016-04-18 09:50:02 -07:00
Jason Simmons
a72bdad086
Add a --deploy build option that enables Dart product mode ( #2598 )
2016-04-15 12:18:57 -07:00
John McCutchan
6c60410c09
Fix snapshotter deps file output ( flutter/engine#2593 )
...
- [x] Add the path not the url to the dependencies
2016-04-12 09:48:19 -07:00
Jason Simmons
25eff9fadf
Enable compression when building flutter.jar ( flutter/engine#2592 )
...
Fixes https://github.com/flutter/flutter/issues/3234
2016-04-11 11:41:13 -07:00
Chinmay Garde
9cf1a6e7ac
Create iOS armv7 assets in a separate directory. ( flutter/engine#2589 )
...
This allows us to create a separate buildbot target.
2016-04-08 12:47:09 -07:00
Jason Simmons
a1ebcdeb94
Do not show an assertion failure if Dart_FinalizeLoading returns an error while building a snapshot ( flutter/engine#2584 )
...
This might happen due to errors expected during development (e.g. a mistyped
Dart class name)
2016-04-07 12:33:21 -07:00
Jason Simmons
c1b21af2c5
Fix a typo ("threshold") ( #2583 )
2016-04-07 10:37:33 -07:00
Chinmay Garde
eaa5e9fb5d
Bump up the mac_sdk_min GN arg to 10.8 and fix deprecated declaration.
...
Required by the Dart dependency.
2016-04-06 11:20:04 -07:00
John McCutchan
83f0b02a4c
Fix Loader::Fetch to use the file path and not the uri.
2016-04-05 12:52:12 -07:00
John McCutchan
9426588891
Merge pull request #2574 from johnmccutchan/fix_canonicalization
...
Fix uri canonicalization in DartLibraryProviderFiles
2016-04-05 10:24:08 -07:00