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
Adam Barth
424df08728
Add support for backdrop filters in the compositor
...
Particularly, add support for blur filters to implement backdrop blur effects.
2016-04-01 17:15:36 -07:00
Collin Jackson
c7526e2aee
Allow third-party services to listen to openURL on iOS and support Google Sign-In
2016-03-31 18:15:18 -07:00
Adam Barth
1bdaa49f9a
Update code to account for Mozart changes
...
The layout protocol in Mozart changed. Now we need to pipe a scene version
through the system to the compositor.
2016-03-30 15:13:58 -07:00
Adam Barth
5f5448137a
Update CONTRIBUTING.md
2016-03-29 08:39:43 -07:00
Adam Barth
6f83ffe462
Update flutter start to flutter run
...
These commands are the same, but `run` is the new hotness.
2016-03-28 14:52:35 -07:00
Adam Barth
b9f29d3553
Teach SkyShell about .packages files
...
SkyShell now supports --packages instead of --package-root.
2016-03-28 12:51:56 -07:00
Adam Barth
4be7fd917a
Add a --use-glfw flag to //sky/tools/gn
...
This flag makes it easier to enable the glfw configuration.
Also, fix an unrelated build error in loader.cc.
2016-03-28 09:58:53 -07:00
Adam Barth
7529b6dbf4
Teach sky_snapshot about .packages
...
The sky_snapshot tool now understands the --packages command-line flag.
Progress on https://github.com/flutter/flutter/issues/1351
2016-03-28 00:43:42 -07:00
Adam Barth
eea6d8220a
Remove one type-related lint
...
We currently whitelist some types that don't need parameters. Turning on
this lint causes too many lint errors in Atom.
2016-03-26 17:55:30 -07:00
Adam Barth
8a75538417
Sync lint rules with flutter analyze
...
This patch updates _embedder.yaml to enforce the same set of lints as
`flutter analyze`. We're still not enabling strong mode via this
mechanism, but we might consider that in a later patch.
Related to https://github.com/flutter/flutter/issues/2687
2016-03-26 14:11:24 -07:00
Adam Barth
a1772b12a6
Add GLFW platform to //sky/shell
2016-03-24 17:15:33 -07:00
Adam Barth
574d594600
Add GLFW support to //ui/gl
...
This patch is the first step towards getting the GLFW configuration up and
running.
2016-03-24 15:59:22 -07:00
Chinmay Garde
515cc528be
Be explicit about the sysroot in the toolchain definition instead of inferring the same from active arguments.
2016-03-24 12:10:00 -07:00
Chinmay Garde
7af5e67a23
Remove unused toolchain definitions.
2016-03-23 12:58:37 -07:00
Chinmay Garde
f82da00656
Add a ios_clang_x64 toolchain definition for iOS simulator builds
...
Earlier, the default arm toolchain was modified depending on whether the use_ios_simulator flag was set. This was causing issues with mutliarch GN builds.
2016-03-23 12:39:23 -07:00
Adam Barth
0bdf46e1d6
Temporary fix for Mac builds
2016-03-23 09:48:02 -07:00
Adam Barth
878baf8442
Merge pull request #2543 from abarth/update_mojo2
...
Update to mojo 891577b0517de5aeca538d99669787c6dc72412a
2016-03-23 09:40:03 -07:00
Jason Simmons
60c4ae1a72
Merge pull request #2542 from jason-simmons/mojo_dart_dependency
...
Build fixes for the sky_engine and sky_services Dart packages
2016-03-23 09:39:26 -07:00
Adam Barth
31abaaf5e0
Update to mojo 891577b0517de5aeca538d99669787c6dc72412a
2016-03-23 09:36:02 -07:00
Jason Simmons
7b095d731a
Build fixes for the sky_engine and sky_services Dart packages
...
* Add some missing dependecies to sky_services
* Create a script that excludes unnecessary files when preparing the package for release
2016-03-22 15:30:05 -07:00
Todd Volkert
9fb117efa4
Revert "The dynamic services SDK produces a fat Mach binary of x64 and arm64 variants."
...
This reverts commit 3cf712d2305fcf2797aa4dd32bcf77eeb46a1905 in order to fix the build breakage: ".../obj/sky/services/dynamic/libFlutterServices.a and .../clang_x64/obj/sky/services/dynamic/libFlutterServices.a have the same architectures (x86_64) and can't be in the same fat output file"
2016-03-22 14:52:07 -07:00
Chinmay Garde
1f32b1f42d
Merge pull request #2538 from chinmaygarde/master
...
The dynamic services SDK produces a fat Mach binary of x64 and arm64 variants.
2016-03-22 12:11:29 -07:00
Chinmay Garde
3cf712d230
The dynamic services SDK produces a fat Mach binary of x64 and arm64 variants.
2016-03-21 17:51:35 -07:00
Adam Barth
7ee2e454ca
Revert "Update to mojo 891577b0517de5aeca538d99669787c6dc72412a"
...
This reverts commit bbeca72bbf41100f74495938ec8c3e26e640aa64.
This reverts commit 4b6e1f1f140053612d0a9588f58c6b6994271b21.
2016-03-21 17:17:50 -07:00
Adam Barth
4b6e1f1f14
Update use of Mojo APIs
2016-03-21 16:52:01 -07:00
Adam Barth
0ebfd66653
Fix iOS build
...
Previously we failed to compile some SSE code in Skia.
2016-03-21 15:42:47 -07:00
Adam Barth
ac113c2965
Update Skia
...
This required a bunch of changes because of the new sk_sp type Skia has
introduced into their API.
2016-03-21 14:59:49 -07:00
Adam Barth
be608ee2e9
Merge pull request #2508 from abarth/glfw
...
Import GLFW into //third_party/glfw
2016-03-21 09:48:17 -07:00
Hixie
b105feb361
Move the "current frame" marker in the perf graph
2016-03-18 13:38:30 -07:00
Chinmay Garde
f59aae0397
Merge pull request #2525 from chinmaygarde/master
...
Update Dart dependency
2016-03-18 11:29:50 -07:00
Chinmay Garde
26341315ec
Update Dart dependency
2016-03-17 17:51:02 -07:00
Ian Hickson
ed9c49397b
Merge pull request #2520 from Hixie/addPerformanceOverlay-docs
...
Performance Overlay fixes
2016-03-17 17:21:26 -07:00
Hixie
695b7df241
Performance Overlay fixes
...
- fix dartdocs for addPerformanceOverlay
- make PerformanceOverlayLayer honour its x, y, and height.
- fix the y axis of PerformanceOverlayLayer to only show 3x16ms, since
if it's more than 16ms it really doesn't matter what it is.
- make the label on the PerformanceOverlayLayer show the worst time on
record not the instantaneous time.
- pin the fps to a maximum of 60Hz
2016-03-17 17:14:04 -07:00
Ian Hickson
95872c3e06
Mention android:debuggable in CONTRIBUTING.md
2016-03-17 13:54:14 -07:00
Adam Barth
623cb3fe18
Import GLFW into //third_party/glfw
...
This patch includes GLFW 3.1.2.
2016-03-15 14:46:46 -07:00
Chinmay Garde
afa0a614bd
Remove prototype.patch
2016-03-12 19:22:01 -08:00
P.Y. Laligand
3522239acb
Merge pull request #2499 from pylaligand/mojo
...
Store the Mojo revision in mojo/VERSION.
2016-03-11 20:19:29 -08:00
P.Y. Laligand
f3ad6eb1b0
Store the Mojo revision in mojo/VERSION.
2016-03-11 17:17:05 -08:00
Adam Barth
e1713c3f1d
Fix device pixel ratios in Mozart for reals
...
We need to adjust the transform matrix to undo the device scale.
2016-03-11 17:01:06 -08:00
Jason Simmons
c5e72aee36
Merge pull request #2492 from jason-simmons/gradle_flutter_jar
...
Build a Flutter.jar output for use by Android projects built without …
2016-03-11 14:11:07 -08:00
Adam Barth
63976f2ef4
Flutter embedded in Flutter via Mozart is double scaled
...
We weren't correctly dividing by the device pixel ratio when asking Mozart to
present our child scene.
2016-03-11 13:36:59 -08:00
Jeff Brown
4ab948ecee
Specify a clip rect for ChildSceneLayers.
...
When linking in a scene, it's a good idea to specify its clip rectangle
to ensure that its content does not draw or capture input from its
surrounding space.
A future version of the Mozart view manager may automatically wrap a
view's scene with a clip rectangle to avoid composition gotchas like this
but it currently doesn't. So the net effect is that if you embed a view
without specifying a clip, it can draw or capture input from anywhere
within its container.
2016-03-10 18:33:08 -08:00
Jason Simmons
8f3d202fb6
Build a Flutter.jar output for use by Android projects built without the Flutter tools
...
Flutter.jar contains the Flutter engine Java code, native code and resources.
It can be incorporated into projects built with external build systems such as Gradle.
2016-03-10 14:41:33 -08:00
Adam Barth
f0765e867c
Update mojo_sdk
2016-03-10 12:58:18 -08:00
Adam Barth
9fd4af08ef
Update to mojo b76db373e90403dbf8f63d86efb80f07ae9b128c
2016-03-10 12:58:04 -08:00
Chinmay Garde
84ea34d4dd
Allow PlatformMacMain to be called multiple times
...
It is called each time the embedder initializes a Flutter view controller. The Mac shell (which does not have a view controller), calls it before NSApplicationMain.
Common items like the base::AtExitManager and the platform message loop are stored in `EmbedderState`
2016-03-09 17:49:17 -08:00
Jason Simmons
57406a0be8
Handle both absolute and relative paths when generating sky_snapshot dependencies
2016-03-09 15:19:17 -08:00