105 Commits

Author SHA1 Message Date
Erik Gilling
98807038a5 [content handler] Fix waiting for GPU. (#3858)
Previously WaitForFirstDisplayDriver() would return, prematurely,
on the first event in "/dev/class/display".  This would cause apps
started before the GPU driver came up to fall back on SW
rendering.
2017-07-11 11:26:52 -07:00
James Robinson
130aecefad [content_handler] Silence mx::object::get_address() deprecation warning (#3854) 2017-07-07 16:31:57 -07:00
George Kulakowski
db8241ed03 [content handler] Use the non-deprecated name for ioctl_vfs_watch_dir (#3849) 2017-07-06 16:17:54 -07:00
Jason Simmons
f0c3ebfb81 Send text input action events on Fuchsia (#3843)
Fixes https://github.com/flutter/flutter/issues/10061
2017-06-29 18:03:51 -07:00
freiling
7412b7e126 [Content Handler] Fix VulkanRasterizer file watcher foo (#3835) 2017-06-27 17:12:59 -07:00
freiling
098102fc48 [Content Handler] Improve VulkanRasterizer tracing (#3832) 2017-06-27 13:38:33 -07:00
Jason Simmons
cbbdd8849e Convert Fuchsia event timestamps to microseconds (#3828)
Fixes https://github.com/flutter/flutter/issues/10569
2017-06-26 14:56:42 -07:00
freiling
ce5c71488b Revert "[content handler] tune VulkanSurfaceProducer allocation and recycling heuristics" (#3824)
This reverts commit fc70e6eb1e02ab1e6764b45690e4639bfd104cc1.
2017-06-23 17:50:38 -07:00
freiling
674b8f1171 Vulkan on Fuchsia performance tuning (#3822)
* increase Vulkan GrContext resource cache limits to match android

* [content handler] tune VulkanSurfaceProducer allocation and recycling heuristics
2017-06-23 16:02:23 -07:00
P.Y. Laligand
8a2d337446 Improve the names of Flutter processes. (#3819) 2017-06-23 13:13:16 -07:00
Ian McKellar
63ef135ecc Name flutter_runner processes after the app they're running (#3803)
Currently in `ps` all apps running under the Flutter content handler
show up as `flutter_runner`. This makes them hard to identify. This
change names the process after the final path component URL of the
application that's launched, prefixed with "flutter:".

In theory we could run more than one Flutter application in a single
content handler process, but we don't right now. If we do this logic
would have to change.
2017-06-20 15:12:52 -07:00
Chinmay Garde
800d817b8b Forward frame construction time to the compositor context. (#3765) 2017-06-12 17:52:42 -07:00
Zachary Anderson
11131b2678 [Fuchsia] For profiling, export symbols, profile the VM (#3756) 2017-06-08 13:57:31 -07:00
Adam Barth
2e74a6ba20 Add support for PA_SERVICE_REQUEST (#3746)
This patch adds support for the new way of exposing services from applications.
2017-06-06 16:05:00 -07:00
Zachary Anderson
ffba1d6154 [Fuchsia] AOT fixes, CPU profiling (#3744) 2017-06-06 12:20:39 -07:00
Benjamin Lerman
7dbd8dbfcc Add missing method on RuntimeHolder. (#3742) 2017-06-06 09:09:18 -07:00
mikejurka
b7dd2a3f97 Invoke deferred invalidation callback before destroying it. (#3734)
If it is not invoked, it triggers a fatal fidl runtime check.
2017-06-05 14:07:09 -07:00
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