33 Commits

Author SHA1 Message Date
Jeff Brown
a2bf3dc35a Update to new way of passing application environment. (#3209) 2016-11-08 16:58:18 -08:00
Adam Barth
ced9a91c3a Switch Flutter to //lib/fidl (#3206) 2016-11-07 15:51:42 -08:00
Adam Barth
4b8c9051e5 Remove last mojom interface (#3184)
We no longer use mojom to transport messages. We still use the Mojo EDK
to spin the event loop, however.
2016-10-28 11:46:57 -07:00
Adam Barth
9eaedb0677 Migrate ViewportMetrics away from Mojo (#3180)
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Adam Barth
7e5d63513a Move lifecycle, navigation, and localization to platform messages (#3172)
Previously, these signals were sent over Mojo. Now we send them through
platform messages.
2016-10-25 15:51:27 -07:00
Ian McKellar
bbc8f5fe22 Go directly from vmo to vector<char> (instead of via string) (#3170) 2016-10-25 10:17:46 -07:00
Ian McKellar
7353495f78 Update flutter to the new URL(Request|Response) interfaces (#3166)
Depends on: https://fuchsia-review.googlesource.com/c/12243/
2016-10-21 15:03:53 -07:00
Adam Barth
76fce73207 Add support for assets on Fuchsia (#3162) 2016-10-21 13:03:16 -07:00
Adam Barth
0aea498f61 Remove MojoServices from dart:ui (#3161)
We no longer offer mojo handles via this mechanism.
2016-10-20 20:27:07 -07:00
Adam Barth
82728570b7 Response messages (#3134)
Add plunbing for Host-to-Dart platform messages

We'll use the plumbing in this direction for things like key events.
2016-10-14 15:51:25 -07:00
Adam Barth
2ff316e780 Enable tracing on Fuchsia (#3116) 2016-10-12 10:25:35 -07:00
Adam Barth
6042580f9e Rewire platform messages to work like semantics (#3118)
After this patch, platform messages now take the same path through the system
that semantics data does (on Android). Support on iOS will be in another patch.
2016-10-11 19:02:04 -07:00
Adam Barth
e8d046e9e2 Add support for Mozart input events (#3114) 2016-10-11 14:30:06 -07:00
Adam Barth
dec24015d7 Add new platform message transport on Android (#3105)
This transport uses the Dart and JNI APIs directly instead of indirecting
through Mojo.
2016-10-07 12:05:43 -07:00
Adam Barth
166f44c0f7 Remove pointer.mojom (#3102)
This patch moves the rest of the clients to use the new PointerData
transport.
2016-10-06 10:59:30 -07:00
Adam Barth
f97caf271c Expose SemanticsUpdate and SemanticsUpdateBuilder (#3098)
This patch prepares us to switch sending semantics information over mojom to
using dart:ui directly. Currently the recorded information is dropped on the
floor, but that will improve in future patches.
2016-10-05 12:22:03 -07:00
Jeff Brown
e13412bd24 Port Flutter to Mozart. (#3094)
Example: $ mojo:launcher mojo:spinning_square
2016-10-04 12:54:54 -07:00
Jeff Brown
4749345ee5 Use BGRA color type now that it is supported by Skia on Fuchsia. (#3085) 2016-10-03 11:32:31 -07:00
Adam Barth
1049105d86 Support RGB_x888 on Fuchsia (#3054)
The new boot sequence on Fuchsia now gives us the more accurate RGB_x888 pixel
format, which we should support. Also finish pushing pixels to the screen
before drawing new pixels.
2016-09-22 15:35:59 -07:00
Adam Barth
687e89e310 Revert "Wire up mojo tracing (#3047)"
This patch depends on another patch that hasn't landed yet.

This reverts commit 960da66f34fb7bd219c0cb8d313b25c8c54c1034.
2016-09-21 12:29:11 -07:00
Thomas Voß
960da66f34 Wire up mojo tracing (#3047)
* Wire up to mojo::tracing::* infrastructure.

* Initialize tracing as early as possible.

* Make dependency specific to fuchsia.
2016-09-21 12:18:27 -07:00
Adam Barth
1992ba5f61 Fix color swapping on Fuchsia (#3034)
Previously we were swapping the wrong color channels. This change makes it
correct.
2016-09-15 17:54:45 -07:00
mikejurka
22d8a21731 Fuchsia: convert framebuffer pixel format after drawing if needed (#3031) 2016-09-15 08:43:39 -07:00
Adam Barth
c95bb6253f Move font selector into //flutter/runtime (#3018)
This patch makes it easier to share the code with
//flutter/content_handler on Fuchsia.
2016-09-11 22:22:00 -07:00
Adam Barth
93913c2b52 Use mx_process_self() now that this is required (#3017) 2016-09-11 15:54:20 -07:00
Adam Barth
62053fc957 Wire up font service on Fuchsia (#3015) 2016-09-11 13:34:31 -07:00
Adam Barth
d7f807c960 Factor runtime initialization into InitRuntime (#3009)
This makes the code easier to share between Fuchsia and stand-alone
Flutter.
2016-09-07 22:19:50 -07:00
Adam Barth
e54ca9d627 Add asset bundle support on Fuchsia (#3005)
After this patch, Flutter apps on Fuchsia can access their asset
bundles. Unlike other platforms, the asset bundles are stored in memory
rather than in the file system.
2016-09-07 11:17:36 -07:00
Adam Barth
81574be6f0 Switch to //lib/zip (#3003) 2016-09-07 00:07:54 -07:00
Adam Barth
317db364a6 Actually use threads on Fuchsia (#2934)
We can actually use multiple threads now that they work properly.
2016-08-16 15:15:30 -07:00
Adam Barth
9878b58878 Get spinning square working on Fuchsia (#2926)
After this patch, we're able to run spinning_square on Fuchsia. I've
left some TODO comments about some shortcuts I've taken that we'll need
to improve in the future.
2016-08-14 16:24:40 -07:00
Adam Barth
2c5a71e721 //flutter/content_handler code complete (#2925)
This patch should contain all the code we need to run Flutter on
Fuchsia's software framebuffer (without text). I haven't actually tried
running the code, so I'm sure it doesn't work yet.
2016-08-13 16:38:39 -07:00
Adam Barth
0a439f3f88 Add //flutter/content_handler (#2923)
We're now producing a flutter_content_handler binary for Fuchsia that
builds and links.
2016-08-12 22:41:54 -07:00