196 Commits

Author SHA1 Message Date
mikejurka
ac7b81f71b
[fuchsia] Updated scenic fidl prefix (#4798) 2018-03-16 14:13:19 -07:00
mikejurka
94bee9d744
[scenic] Rename mozart->scenic. (#4792) 2018-03-14 20:43:04 -07:00
Adam Barth
1c54461d3e
Update to FIDL2 String interface (#4775) 2018-03-12 15:31:39 -07:00
mikejurka
2d5900615a
[fuchsia] Remove unused header file. (#4769) 2018-03-09 20:14:10 -08:00
James Robinson
e74e8b35cd
[async] Update includes of async headers to new path (#4760) 2018-03-09 15:18:27 -08:00
Alhaad Gokhale
9c1e48434b
Updates for Fuchsia roll. (#4765)
* AssetProvider
* libtxt
2018-03-09 12:18:25 -08:00
Alhaad Gokhale
84cea40bf4
Rename 'service request' to 'directory request' (#4757) 2018-03-08 15:03:17 -08:00
John Bauman
bdd3a0b349
Use VkExportMemoryAllocateInfoKHR for allocating exportable memory (#4716)
This is needed by some drivers.
2018-03-07 18:37:54 -08:00
John Bauman
66ec6db7f4
Wait for /dev/class/gpu before creating vulkan device (#4754)
/dev/class/display is now only for the display, not for creating the
vulkan device. Also increase the timeout, because this process starts on
boot and the driver can take a while to start.
2018-03-07 18:00:10 -08:00
Brian Osman
fb16d6bb8b
Revert "Update initialization for GrVkAlloc for Skia change (#4738)" (#4740)
This reverts commit e48e3e101920357dc3f12af1e9ef8c323102ed03.
2018-03-02 09:31:37 -05:00
egdaniel
e48e3e1019 Update initialization for GrVkAlloc for Skia change (#4738)
This updates the construction of the GrVkAlloc struct since it has changed in Skia. Once flutter rolls an updated Skia, we can just call the new constructor directly in the GrVkImageInfo struct instead of needing to create the GrVkAlloc above.
2018-03-02 09:23:28 -05:00
mikejurka
3fbdbe3637
[fuchsia] Update to using a Mozart session. (#4701) 2018-02-23 21:06:59 -08:00
Adam Barth
63b9dab168
[fuchsia] Rename fidl namespace to f1dl (#4707)
This rename is to prepare for the migration to FIDL2.
2018-02-23 14:07:08 -08:00
mikejurka
44dbdbe3ef
[fuchsia] Renamed PresentationInfo (#4702) 2018-02-22 21:34:48 -08:00
Alhaad Gokhale
0cc0784dd5
Remove use of ApplicationLaunchInfo::ServiceProvider from content (#4700)
handler.
2018-02-22 15:23:27 -08:00
Carlos Pizano-Uribe
e5b72e5f87 Wire pointer buttons for fuchsia (#4658)
* Wire pointer buttons for fuchsia

Right now can't tell right from left button.
2018-02-17 07:53:22 -08:00
Zachary Anderson
816baf2883
[Fuchsia] Reads a config file when running from source (#4669) 2018-02-13 15:15:46 -08:00
Ryan Macnak
3e9632308a
[fuchsia] Fix compile-time error introduced in 58e6c23ecee152a8df2d13ca874a03640f25fcda. (#4651) 2018-02-08 13:34:38 -08:00
Brian Salomon
58e6c23ece Modernize GrContext creation (#4640) 2018-02-06 13:45:31 -08:00
Zachary Anderson
76d4928b05
Reland: [fuchsia] Enable running from source packages (#4634)
This relands https://github.com/flutter/engine/pull/4629 with a
tonic roll to fix the build.
2018-02-06 10:08:24 -08:00
Yegor
6dd49f0695
iOS a11y text entry (~70% of it) (#4575)
* implement iOS text field editing in a11y mode

* address Chinmay's comments

* replace node in child list when changing type
2018-02-05 15:14:13 -08:00
Zachary Anderson
151bb37435
Revert "[fuchsia] Enable running from source packages (#4629)" (#4632)
This reverts commit 8f638591e97b350962001f5af38d2464421ec3dc.
2018-02-02 22:38:49 -08:00
Zachary Anderson
8f638591e9
[fuchsia] Enable running from source packages (#4629) 2018-02-02 15:43:21 -08:00
Jason Simmons
c375ff54c1
libtxt: Skia font manager implementation for Fuchsia (#4630)
Based on the FontCacheFuchsia used in the Blink renderer
2018-02-02 13:04:32 -08:00
Zachary Anderson
d5338ed143
[fuchsia] Set up the namespace in dart:zircon (#4628) 2018-02-01 22:47:01 -08:00
P.Y. Laligand
4fd4dae0ca
Adjust to thinner Fuchsia sysroot. (#4624) 2018-02-01 13:33:22 -08:00
Adam Barth
eb04440801
[fuchsia] Fix crash from my recent CL (#4621)
We need to handle the error case properly.
2018-01-31 13:05:20 -08:00
Adam Barth
0818d8c03d
[fuchsia] Update FIDL1 C++ bindings to match FIDL2 interface (#4620)
This change will make it easier to transition to FIDL2.
2018-01-30 12:35:26 -08:00
Adam Barth
d68d19f8df
[fuchsia] Remove MessageLoopHandler dependency (#4618)
Instead, use the underlying libasync wait primitives.
2018-01-30 09:21:20 -08:00
Craig Stout
0de8218778 Transition render target images before submit.
Required by the spec; see '6.7.4. Queue Family Ownership Transfer'
of Vulkan 1.0.66.

Transitioning the image layout also fixes an image resolve failure
issue introduced by optimizations present in the intel mesa vulkan
driver v17.2.
2018-01-27 13:17:28 -08:00
Craig Stout
fb9782a529 Introduce VulkanProvider
For more consistent access to base vulkan functionality owned
elsewhere.
2018-01-27 13:17:28 -08:00
Ryan Macnak
5e89d7a751
Initial implementation of idle tasks for Fuchsia. (#4565) 2018-01-18 10:28:36 -08:00
Sarah Zakarias
1e23d648cb
Run Fuchsia apps without flx (#4550) 2018-01-15 11:09:01 +01:00
Sarah Zakarias
ce8ea0f742
Revert "Run Fuchsia apps without flx" (#4545)
* Revert "include portable_unistd.h in directory_asset_bundle (#4542)"

This reverts commit 211150fe40fbca68580af2f923b87ddb5ac924c6.

* Revert "Run Fuchsia apps without flx (#4538)"

This reverts commit 8718438d83c2cf3acdd3781df8ae4d00b8de56b1.
2018-01-12 15:55:47 +01:00
Sarah Zakarias
8718438d83
Run Fuchsia apps without flx (#4538) 2018-01-12 13:31:54 +01:00
Kevin Lindkvist
63c34d8330 Add clipboard actions to Fuchsia. (#4479)
This adds a ClipboardPtr to RuntimeHolder that is used to handle
Clipboard.setData and Clipboard.getData.
2017-12-22 10:28:20 -08:00
Adam Barth
b5d0a4ac51
[fuchsia] Sandbox Flutter runner (#4410) 2017-12-04 12:35:38 -08:00
Benjamin Lerman
32270c7836 Update API to use sized vmo instead of raw vmo. 2017-11-21 10:09:20 +01:00
Ian McKellar
d917c35e72
Allow Flutter apps on Fuchsia to shut down cleanly (#4366)
The UIDartState is now always owned by the isolate and always freed in
the isolate cleanup callback.

In the isolate shutdown callback, if the isolate being shut down is the
main isolate, the RuntimeController is informed which in turn notifies
the RuntimeHolder and thus the ApplicationControllerImpl. The
ApplicationControllerImpl tears down the whole Flutter application.

This fixes Fuchsia bug: MI4-328
2017-11-15 13:28:21 -08:00
mikejurka
45464c0a31
Add more tracing to content_handler. (#4328) 2017-11-08 18:39:28 -08:00
Chris Bracken
bc2acf7bdd
Revert "Roll Fuchsia buildtools to 85907c59e97527d79bbfdfd849d8e85c24959cc5 (#4331)" (#4340)
With the update to HEAD of the Fuchsia buildtools repo, the new clang
toolchain picked up caused link-time breakage in android x86_64
libFlutter.so builds.

Sample log:
https://build.chromium.org/p/client.flutter/builders/Linux%20Engine/builds/1974/steps/build%20android_debug_x64/logs/stdio

Sample failure:
FAILED: libflutter.so libflutter.so.TOC lib.stripped/libflutter.so
../../third_party/android_tools/ndk/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld.gold: error: obj/flutter/shell/platform/android/libflutter/android_context_gl.o: unsupported reloc 42 against global symbol std::__ndk1::num_put<char, std::__ndk1::ostreambuf_iterator<char, std::__ndk1::char_traits<char> > >::id

This reverts commit 8ad42f0dae3cb1267c2b9ab99db80e4696ddbc3d.
2017-11-08 16:48:00 -08:00
mikejurka
0e8331aa1a
Fix low-res rasterized images on Fuchsia. (#4325)
Plumb through Scenic display metrics to use during
Preroll.
2017-11-08 14:59:54 -08:00
Chris Bracken
8ad42f0dae
Roll Fuchsia buildtools to 85907c59e97527d79bbfdfd849d8e85c24959cc5 (#4331)
* Roll Fuchsia buildtools to 85907c59e97527d79bbfdfd849d8e85c24959cc5

This also updates Flutter buildroot to a6e52dbb776c45cc8c57d7143b8eb8b2e762fdfb
which disables -Wtautological-constant-compare temporarily until
https://reviews.llvm.org/D39462 lands in clang. This is in line with
Fuchsia's compiler options.

* Apply clang-format diffs

No logical changes. This applies clang-format from the latest Fuchsia
buildtools to the engine codebase.
2017-11-08 11:18:17 -08:00
Mikkel Nygaard Ravn
ce7202d73c
Fix compile error in runtime holder (#4312) 2017-11-02 13:31:30 +01:00
Adam Barth
58fc251900
Move flutter_*_runner to /system/bin (#4286)
Previously, these binaries were in /system/apps, which is going away. Also,
rename flutter_runner to flutter_jit_runner to match flutter_aot_runner.
2017-10-30 19:28:19 -07:00
mikejurka
93da8c8423
Migrate from VkExportDeviceMemoryMAGMA (deprecated). (#4288) 2017-10-27 13:34:39 -07:00
Alexander Aprelev
ef02c69652 Fix Fuchsia build - pass newly introduce parameter in Fuchsia flow (#4274) 2017-10-25 07:49:35 -07:00
Alexander Aprelev
ec19da1c80 Initialize service isolate from kernel file, rather than from embedded sources. (#4263)
* Read core platform kernel file during Dart initialization.

Currently service isolate is initialized from the source code parsed by VM.
This CL changes it so service isolate created during Dart initialization
is created from the kernel platform.dill file if it is present in the application
bundle. Then this platform kernel file is kept in dart_init module and reused
for application sciprt isolates.

* Reformat and merge

* Use accessor method

* Avoid passing running_from_kernel param. Add TODO for cleanup. Rename param.
2017-10-24 19:37:24 -07:00
P.Y. Laligand
6fcb45991d Move //dart to //third_party/dart. (#4245) 2017-10-19 01:20:38 -07:00
Adam Barth
2528e533d6 Don't crash when we get unexpected pointer events. (#4230)
Just log them as errors
2017-10-17 13:25:09 -07:00