178 Commits

Author SHA1 Message Date
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
Erik Gilling
6b1878e096 Set ui, io, and gpu thread names. (#4196) 2017-10-13 23:02:14 -07:00
P.Y. Laligand
5fae5d52cf Allow the project to be mapped to a location other than //flutter. (#4203)
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Erik Gilling
3af233d63b Revert "Set ui, io, and gpu thread names. (#4182)" (#4193)
This reverts commit fa46eca48333f41eae93217e61071e3a796fa80a.
2017-10-10 13:57:22 -07:00
Erik Gilling
fa46eca483 Set ui, io, and gpu thread names. (#4182) 2017-10-10 13:48:41 -07:00
Adam Barth
160a98c2b2 Update paths to Fuchsia libraries (#4147)
These libraries are in Topaz now.
2017-09-27 13:45:49 -07:00
Craig Stout
e8a3108365 Update vulkan gn target 2017-09-26 16:32:59 -07:00
Craig Stout
9c518cb751 Update vulkan semaphore extension
Use fuchsia specific extension to avoid casting handles as fds.
2017-09-26 11:34:34 -07:00
Adam Barth
ccce4c3adb Remove spurious error message (#4135)
It's not an error to be unable to connect to the context service.
2017-09-25 13:34:35 -07:00
P.Y. Laligand
d7da1255c9 Moved Maxwell to //peridot. (#4137) 2017-09-22 14:17:41 -07:00
P.Y. Laligand
fc3cb8fb3b Adjust to new location of lib/tonic. (#4132) 2017-09-21 14:30:28 -07:00
Travis Martin
9d98d886ad Report onscreen text to Fuchsia context engine. (#4097)
Add a class to track onscreen text via SemanticsNodes from the
accessibility layer, and report this text to the ContextEngine.
2017-09-21 12:41:13 -07:00
Adam Barth
2f50beabcb Update paths for magma move (#4126) 2017-09-20 10:26:31 -07:00
George Kulakowski
550d0c6490 Rename Magenta to Zircon, along with associated abbreviations (#4114) 2017-09-14 22:49:46 -07:00
Michael Goderbauer
08961f8ec5 Format all c-like sources with clang-format (#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
George Kulakowski
31d03de019 Rename mtl to fsl (#4094) 2017-09-11 17:56:02 -07:00
George Kulakowski
3aa7522c11 Rename ftl to fxl in Fuchsia specific code (#4090) 2017-09-11 15:58:48 -07:00
Adam Barth
2a13951fa9 Update paths for //application move (#4085) 2017-09-11 14:40:03 -07:00
Zachary Anderson
2abd7c87e7 [Fuchsia] Disable dart:io exit() (#4080) 2017-09-11 11:25:38 -07:00