63 Commits

Author SHA1 Message Date
Jêrôme Poichet
ae9ad39659 [flutter] Mozart API changed (#3504)
Updating SetListener to SetEventListener which comes with a new SetHitViewTester
2017-03-23 10:51:08 -07:00
Zachary Anderson
65fcbf7c76 Add listViews service extension for the content handler (#3468) 2017-03-13 14:46:14 -07:00
vardhan-cr
a87e0a10aa Flutter content handler initializes ICU data when it starts up (#3460)
* Flutter content handler initializes ICU data when it starts up

* oops, redundant include

* init ICU before getting the font provider
2017-03-03 16:29:58 -08:00
Jêrôme Poichet
5f95749770 Fix inconsistent Mozart touch events. (#3448)
Mozart ADD, REMOVE and HOVER phases were going through the default value
of Blink's Cancel type, causing inconsistencies.

Bug: US-157
2017-02-24 13:27:27 -08:00
Jêrôme Poichet
e5f16da932 New mozart input events. (#3439)
* New mozart input events.

* Adding TODO for keyrepeat
2017-02-23 14:48:19 -08:00
vardhan-cr
98e0091f47 Remove callback from ApplicationController.Kill fidl interface. (#3435) 2017-02-21 11:03:35 -08:00
Dan Rubel
481049f9cd add kernel support (#3369) 2017-02-16 10:11:38 -05:00
Zachary Anderson
ff087dd07d Enable Observatory in the content handler (#3420)
I'm not sure that this is the right way to do this, but this change causes the Observatory to come up correctly in the content handler.
2017-02-14 19:03:16 -08:00
James Robinson
8cad3ecae1 Updates for modular->app rename of //application interfaces (#3414) 2017-02-13 14:28:14 -08:00
James Robinson
f306a6f701 Updates for application extraction from //apps/modular (#3397) 2017-02-08 13:02:40 -08:00
Chinmay Garde
d45638fc2b [content_handler] Make RuntimeHolder convey its viewport metrics to the direct input instance. (#3367) 2017-01-26 14:36:30 -08:00
Chinmay Garde
a042f57550 On Fuchsia with Vulkan on Acer, bypass Mozart and read input directly. (#3366) 2017-01-26 14:00:57 -08:00
Chinmay Garde
1afa280c86 Use threads with configurable stack sizes in the content handler. (#3356) 2017-01-25 11:33:38 -08:00
Chinmay Garde
94306f4103 Add a Vulkan backend for Fuchsia and Android. (#3282) 2017-01-20 14:37:10 -08:00
Chinmay Garde
b03af31861 Re-format all GN files using gn format. (#3319) 2017-01-03 15:59:48 -08:00
Adam Barth
847ee8d7a4 Fix Fuchsia build (#3318) 2017-01-03 13:25:38 -08:00
Adam Barth
ce13c1a040 Tracing (#3276)
* Rename hittable to hitTestable

Apparently hittable is not politically correct.

* Enable tracing on Fuchsia
2016-11-28 16:10:10 -08:00
Adam Barth
f6547c1df5 Add prune to child scene layers (#3272)
Also, change the hit testing geometry so that we get our hits at the root.
2016-11-28 12:28:18 -08:00
Adam Barth
310db55cf9 Use BufferProducer::Tick to free memory (#3270) 2016-11-23 18:52:02 -08:00
Adam Barth
77e1a952f1 Remove HandleWatcher (#3260)
This interface has been replaced with HandleWaiter, which is the new hotness.
2016-11-22 20:41:03 -08:00
Adam Barth
21f6aa5270 Composite child views in proper paint order (#3243)
We push a bit up the tree during preroll to learn whether there system
composited layers below each layer. During update scene, we squash down
to paint tasks, which we execute after publishing the new scene.
2016-11-18 12:54:54 -08:00
Adam Barth
2a13567a7e Fix Mozart child views (#3232)
When we pipelined the drawing commands we caused UpdateScene to be called
before Preroll, which isn't allowed. Now we call Preroll, UpdateScene, and
Paint separately.
2016-11-16 15:30:57 -08:00
Jeff Brown
825844d908 Update to new ApplicationStartupInfo changes. (#3230) 2016-11-16 00:03:22 -08:00
Adam Barth
60ee01642b Fix Fuchsia build (#3229) 2016-11-15 21:30:23 -08:00
Adam Barth
d1bc4c4850 Add support for hover pointer events (#3227)
These are implemented on macOS and Fuchsia.
2016-11-15 20:18:22 -08:00
Adam Barth
ce8b187914 Add support for raw key events on Fuchsia (#3208)
Fixes https://github.com/flutter/flutter/issues/6631
2016-11-15 13:04:08 -08:00
Adam Barth
eef3f1f619 Recognize Mozart event kinds (#3223)
Previously we treated everything as touch.
2016-11-14 14:08:03 -08:00
Jeff Brown
5b972a46a2 Use new image buffer mechanism. (#3221) 2016-11-12 10:01:32 -08:00
Adam Barth
5d13dc00aa Add support for child view on Fuchsia (#3217) 2016-11-10 18:03:00 -08:00
Adam Barth
d658f9d324 Add support for Fuchsia IDL on Fuchsia (#3211) 2016-11-10 13:12:32 -08:00
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