88 Commits

Author SHA1 Message Date
freiling
e954e2f689 [MA-225][DNO-95] remove message loop handlers when destroying VulkanSurfaceProducer to avoid callbacks on deleted pointers (#3733) 2017-06-02 16:31:39 -07:00
Jêrôme Poichet
88c24a6c1a Updating to take into account the new Mozart IME Action API (#3714) 2017-05-26 09:34:01 -07:00
Adam Barth
84ccfde363 Teach flutter_runner about namespaces (#3707)
Rather than receiving an ApplicationEnvironment, we now receive a namespace.
Once we have FIDL2, we can plumb the namespace all the way through to Dart.
2017-05-23 15:21:07 -07:00
Jêrôme Poichet
e3dd318f81 Fixing typo for OfferServiceProvider Mozart API (#3698) 2017-05-17 13:02:45 -07:00
Adam Barth
7552150f77 Support Mozart::NativesDelegate on Fuchsia (#3696) 2017-05-17 11:04:50 -07:00
Adam Barth
cf3424ab3f Update ICU initialization on Fuchsia (#3695)
The new pattern is needed to support the migration to service namespaces.
2017-05-16 14:22:03 -07:00
Jêrôme Poichet
30edb3c02f Adapting to Mozart API changes for the IME. (#3687) 2017-05-12 13:02:43 -07:00
Adam Barth
bc8e3b5e72 Fix some text input-related typos (#3686) 2017-05-12 09:28:15 -07:00
Adam Barth
ce11143b0e Fix Fuchsia IME crashes (#3680)
We still don't get IME text, but at least we don't crash.
2017-05-10 19:20:07 -07:00
Adam Barth
725b77e1e6 Connect to text input service now that it doesn't crash (#3675) 2017-05-10 15:08:46 -07:00
freiling
a26700cea8 [MA-216] fix vulkan teardown order (#3666) 2017-05-09 15:18:40 -07:00
Adam Barth
29531fb16e Wire up Mozart's text input interface (#3669)
This patch wires Mozart's text input system to flutter/textinput. This patch
doesn't fully work yet because the Mozart side isn't fully implemented.
2017-05-09 15:07:41 -07:00
Chinmay Garde
fd9f111029 Update Skia revision to 7120b2d577d3aab1f51c5af1530a68c57ca51696. (#3667)
* Update Skia revision to 7120b2d577d3aab1f51c5af1530a68c57ca51696.
* Update licenses.
* Account for content handler updates.
2017-05-09 12:35:04 -07:00
Adam Barth
bd2592bb4e Wait for Vulkan display driver on Fuchsia (#3651)
We now wait for 1 second for the display driver to appear on Fuchsia. This
approach is a stopgap until Vulkan is required for graphics.
2017-05-05 11:24:24 -07:00
Adam Barth
2bb12e578e Remove the direct input layer. (#3634)
Instead of updating to match new HID touchscreen hacks exposed by
magenta, just remove the direct input layer entirely.  Mozart all the
time from now on.
2017-04-27 10:23:31 -07:00
freiling
82501f7b1e [fuchsia] enable Vulkan in content handler based on fuchsia_use_vulkan build arg (#3598) 2017-04-17 15:56:29 -07:00
freiling
3950f0f267 [fuchsia] change VulkanRasterizer member ordering to avoid crashes during teardown on device shell logout (#3597) 2017-04-17 11:55:13 -07:00
freiling
c24a0e5175 [Issue #9357] Fix crash in software fallback path (#3591)
Keep the VulkanProcTable around long enough to use it from the destructor of the VulkanApplication
2017-04-13 16:50:21 -07:00
freiling
5d4f274fcc Add buffer recycling to vulkan_rasterizer (#3588) 2017-04-12 15:42:38 -07:00
Ryan Macnak
1084a83f11 AOT for Fuchsia. (#3570) 2017-04-11 14:53:14 -07:00
Ryan Macnak
1fed16fb25 Adjust GN for removal of libdart, take two. (#3584)
Update targets only included in host_debug_unopt.
2017-04-11 09:52:54 -07:00
Ryan Macnak
6d4b153ba8 Revert "Adjust GN for removal of libdart. (#3583)"
This reverts commit f5d0004ebd0db95c4019ca27fde2aceb0b3fe3e3.
2017-04-10 17:07:28 -07:00
Ryan Macnak
f5d0004ebd Adjust GN for removal of libdart. (#3583) 2017-04-10 16:42:27 -07:00
Adam Barth
780112a8cc Fix build 2017-04-08 18:41:04 -07:00
freiling
2a4af6906e Back Vulkan Rasterizer with Mozart View (#3568)
This version does not recycle buffers. It is meant only as an initial solution,
and the proper buffer recycling logic has been broken out into a separate change
2017-04-07 17:22:53 -07:00
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