112 Commits

Author SHA1 Message Date
Benjamin Lerman
32270c7836 Update API to use sized vmo instead of raw vmo. 2017-11-21 10:09:20 +01: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
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
Jason Simmons
d6dd5b10d9
Request slight hinting when rendering glyphs with Skia (#4307)
Fixes https://github.com/flutter/flutter/issues/12820
2017-11-01 11:47:09 -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
Brian Osman
01ab51832a Update Fuchsia font code to new Skia API (#4179) 2017-10-06 13:17:16 -04:00
Jason Simmons
a0313d1019 Fix an overflow in HarfBuzzShaper's resolveCandidateRuns (#4148)
See 24cf1f3562

Fixes https://github.com/flutter/flutter/issues/12280
2017-09-27 15:03:29 -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
6502090278 Fix remaining ftl->fxl conversions (#4091)
* Fix remaining ftl->fxl conversions

The previous scripting pass at this did not account for objective c file endings

* Update tonic DEPS reference to the post-fxl version
2017-09-11 16:31:18 -07:00
Ian Hickson
2d7c30033d Pass TextDirection to ParagraphBuilder. (#4001) (#4019) 2017-09-07 15:37:25 -07:00
Adam Barth
e5c80cef57 Update for fonts move to garnet. (#4044) 2017-09-01 09:34:50 -07:00
Ian Hickson
49d06b3860 Revert "Pass TextDirection to ParagraphBuilder. (#4001)" (#4004)
This reverts commit 86591145a320f2978c3f4c742c972a32bb8cb02a.
2017-08-23 11:14:26 -07:00
Ian Hickson
86591145a3 Pass TextDirection to ParagraphBuilder. (#4001) 2017-08-23 10:34:57 -07:00
George Kulakowski
06c91ff232 Use the new MX_OK mx_ (#3768) 2017-06-13 10:12:14 -07:00
P.Y. Laligand
4f8a92ae40 Allow Flutter shell to build for a Mac Fuchsia host. (#3625) 2017-04-25 07:38:08 -07:00
Chinmay Garde
981ef6f4b9 Make sure to hit the test font resolver in case of empty font family name. (#3571) 2017-04-06 12:38:10 -07:00
Chinmay Garde
0517edf1de Remove dependency on FontConfig. (#3530) 2017-03-27 16:11:57 -07:00
Chinmay Garde
4562b835ca Roll Skia revision to 3f81f3703a68755c88f5cc4a87728b98f34c4cd4 (#3438) 2017-02-23 17:58:05 -08:00
Chinmay Garde
d7199e513c Update skia to 1c8e82b72bfeb1a02297688cf082c365b62705f7 (#3433) 2017-02-16 15:40:11 -08:00
xster
ffde33dc11 Fix multi-font ttc rendering for iOS (#3418)
Merged iOS and Android font fallback mechanisms and push font discovery logic into skia
2017-02-14 23:54:39 -08:00
Chinmay Garde
d58696936f Revert ShadowMaskFilter use and roll Skia to 246a3c269d8dc91a47ff27f7b71508bf9e74edf5. (#3409) 2017-02-10 16:01:36 -08:00
Chinmay Garde
b03af31861 Re-format all GN files using gn format. (#3319) 2017-01-03 15:59:48 -08:00
teisenbe
5fe37a2251 Fuchsia: Switch to new VM interface (#3315) 2016-12-16 14:34:55 -08:00
Dan Afergan
0ebc19cdb0 mx_size_t -> size_t (#3300) 2016-12-08 14:49:07 -08:00
Chinmay Garde
036bc0d356 Update Skia and get using its BUILD.gn instead of maintaining own own copy. (#3233) 2016-11-17 12:36:16 -08:00
Adam Barth
cfe69e4e85 Catch a missing font provider earlier (#3222)
Rather than hitting an assert in platform-independent code, we now trigger an
assert closer to the relevant code when the font provider is missing.
2016-11-15 20:17:45 -08:00
Adam Barth
ced9a91c3a Switch Flutter to //lib/fidl (#3206) 2016-11-07 15:51:42 -08:00
Jeff Brown
3f564f28f3 Remove use of magenta/process.h. (#3188) 2016-10-29 18:25:24 -07:00
Adam Barth
123e9c8da8 Update Skia (#3157) 2016-10-20 13:23:09 -07:00
Jeff Brown
d755b30ffd Update skia to e038489a743d6c0ab1cb208862c305180815bc8e. (#3074) 2016-09-28 19:39:19 -07:00
Chinmay Garde
1d5d783d83 GN updates for Linux host builds. (#3072) 2016-09-28 14:58:53 -07:00
Jason Simmons
8eab44c623 Implement ellipsizing of text in the engine (#3056)
See https://github.com/flutter/flutter/issues/4478
2016-09-26 11:30:11 -07:00
Chinmay Garde
c5b61691b4 Remove unnecessary log in FontCacheMac.cpp. Spams tests. (#3044) 2016-09-20 10:59:06 -07:00
mikejurka
9b320d8151 Update to use sk_sp text blob API (#3024) 2016-09-13 15:34:45 -07:00
mikejurka
12fc138524 use sk_sp<SkData> instead of SkData* (#3021)
(skia change 42943c8aa9c611c18ad0f1a30a27669f3d82239c)
2016-09-12 16:42:52 -07:00
Adam Barth
93913c2b52 Use mx_process_self() now that this is required (#3017) 2016-09-11 15:54:20 -07:00
Adam Barth
62053fc957 Wire up font service on Fuchsia (#3015) 2016-09-11 13:34:31 -07:00
Adam Barth
e281b602d4 Build sky/engine on fuchsia (#2992) 2016-08-31 21:01:07 -07:00
Adam Barth
f102f9c1f5 Remove dead code (#2991)
This code is unused.
2016-08-31 20:44:10 -07:00
Adam Barth
d8d5708f61 Update to new harfbuzz path (#2990) 2016-08-31 20:30:20 -07:00
Adam Barth
ef38a88cb3 Update Skia (#2974) 2016-08-28 21:49:16 -07:00
Adam Barth
1d9a8ca051 Build WTF on Fuchsia (#2948)
Also, clean out some unneeded dependencies from engine/platform.
2016-08-18 16:13:06 -07:00
Adam Barth
4cab94e949 Invert the relationship between lib/ui and sky/engine (#2920)
Now lib/ui depends on sky/engine rather than the reverse.
2016-08-12 16:12:07 -07:00
Adam Barth
f8d80c4617 Finish removing //flutter/tonic (#2917)
This pulled a refactoring of how we keep track of the primary threads.
2016-08-12 12:05:48 -07:00
Adam Barth
35c66714f6 Remove more public headers (#2914)
These aren't needed anymore.
2016-08-11 14:54:39 -07:00
Adam Barth
c6f678242c Prepare libwtf.a to build on Fuchsia (#2913)
We can't quite build it yet because libwtf.a depends on //third_party/icu,
which we don't have yet, but this patch gets us closer.
2016-08-11 14:20:28 -07:00
Adam Barth
9c09565712 Update paths to account for buildroot 2016-08-09 13:52:15 -07:00
Adam Barth
6c69724859 Remove data_pipe_utils from //flutter/tonic 2016-08-07 12:35:25 -07:00
Adam Barth
9668ba422f Remove //base from DartController 2016-08-07 12:35:25 -07:00