Commit Graph

2252 Commits

Author SHA1 Message Date
Adam Barth
649b958d19 Expose SemanticsUpdate and SemanticsUpdateBuilder (flutter/engine#3098)
This patch prepares us to switch sending semantics information over mojom to
using dart:ui directly. Currently the recorded information is dropped on the
floor, but that will improve in future patches.
2016-10-05 12:22:03 -07:00
Jeff Brown
6b35710136 Update uses of mtl::MessageLoop::task_runner() accessor. (flutter/engine#3097) 2016-10-04 14:29:13 -07:00
Jeff Brown
82d8a27854 Port Flutter to Mozart. (flutter/engine#3094)
Example: $ mojo:launcher mojo:spinning_square
2016-10-04 12:54:54 -07:00
Chinmay Garde
559d585233 Update buildroot and re-enable use of C++14 on Android x86. (flutter/engine#3096) 2016-10-04 12:53:08 -07:00
Adam Barth
62dc1d9ce9 Fix iOS build 2016-10-03 21:29:44 -07:00
Adam Barth
908131c94d Fix x86_64 build 2016-10-03 21:26:26 -07:00
Adam Barth
119877f035 Remove support for dynamic Mojo services (flutter/engine#3089)
Instead, clients should use host messaging.
2016-10-03 21:02:52 -07:00
Adam Barth
f2310a49ff Android should use PointerDataPackets (flutter/engine#3092)
We now use JNI rather than Mojo to transport pointer data from Java to Dart.
Also, fill in a few more of the pointer data fields from information in Java.
2016-10-03 21:02:46 -07:00
P.Y. Laligand
ce22ad44a9 Add the Mojo shebang line to Fuchsia flx files. (flutter/engine#3090) 2016-10-03 17:36:34 -07:00
Chinmay Garde
4c24a998da Update buildroot to pull in Linux i386 host builds. (flutter/engine#3093) 2016-10-03 17:02:53 -07:00
Jason Simmons
0394c396a3 Queue CanvasImage texture deletion to the IO thread (flutter/engine#3091)
The UI thread does not have an EGL context, so attempting to delete an
SkImage on that thread will fail to delete the image's texture, resulting
in resource leaks
2016-10-03 16:50:37 -07:00
Chinmay Garde
673942bf77 Update buildroot to pull in the fix lowering the Android NDK platform level. (flutter/engine#3088) 2016-10-03 11:37:08 -07:00
Chinmay Garde
3c12dfd493 Update DEPS to point to the C++14 ready builtools and buildroot. (flutter/engine#3079) 2016-10-03 11:29:30 -07:00
Jason Simmons
d1e9bf31f5 Service protocol extension for grabbing screenshots (flutter/engine#3087)
This is intended for use in flutter_driver tests
2016-10-03 10:39:16 -07:00
Jason Simmons
7477063aec Add the Skia image encoder for PNG format (flutter/engine#3082)
This is used by debugging features that export Skia picture files
(see shell/common/picture_serializer.cc)

It adds ~20kb to a build of libsky_shell.so on Android
2016-10-03 10:02:48 -07:00
Adam Barth
96eeb27744 Update examples for window.physicalSize (flutter/engine#3086)
Now the engine always gives values in physical pixels.
2016-10-01 10:01:41 -07:00
P.Y. Laligand
ef557a1408 Switched to the dedicated executable for building flx files on Fuchsia. (flutter/engine#3084) 2016-09-30 19:17:18 -07:00
P.Y. Laligand
040c414a10 Fixed a typo. (flutter/engine#3083) 2016-09-30 18:13:50 -07:00
P.Y. Laligand
e46d62218f Use the flutter tool to build flx files with gn. (flutter/engine#3067) 2016-09-30 10:31:02 -07:00
Adam Barth
a924283c1e lerpDouble return value should be "double" (flutter/engine#3068)
Fixes https://github.com/flutter/flutter/issues/5783
2016-09-29 21:59:59 -07:00
Adam Barth
c61c39546e Stop dispatching pointer packets (flutter/engine#3080)
Long live pointer data packets.
2016-09-29 21:59:44 -07:00
Adam Barth
10c004dcb4 Fix ParagraphStyle toString (flutter/engine#3078)
Previously we got some punctuation wrong.
2016-09-29 17:42:19 -07:00
Chinmay Garde
43827a6ff7 Update buildroot (for target triple) and boringssl (for Clang IAS) fixes for non-ARM platforms. (flutter/engine#3077) 2016-09-29 12:51:08 -07:00
Chinmay Garde
b2986baa21 Update Dart revision to pull in iOS build fixes. (flutter/engine#3076) 2016-09-29 11:15:13 -07:00
Jeff Brown
69b52df977 Update skia to e038489a743d6c0ab1cb208862c305180815bc8e. (flutter/engine#3074) 2016-09-28 19:39:19 -07:00
Adam Barth
056c9adc98 Fix analyze.sh 2016-09-28 17:05:36 -07:00
Jason Simmons
d87a757c4f Revise the paragraph style API to include custom ellipsis strings (flutter/engine#3071) 2016-09-28 15:52:31 -07:00
Adam Barth
2aa9886924 Switch to manually encoded pointer data (flutter/engine#3073)
Rather than using mojom to encode pointer data, we now encode and decode it
manually. A future patch will remove the mojom codepath once the framework is
updated.
2016-09-28 15:50:09 -07:00
Chinmay Garde
ce8d0384a0 GN updates for Linux host builds. (flutter/engine#3072) 2016-09-28 14:58:53 -07:00
James Robinson
7ac8705e10 Add buildtools to recursedeps entry in DEPS (flutter/engine#3070)
gclient now uses this to decide whether to look at a dependent
repo's DEPS file, which is needed for buildtools.

See https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/NsGSfdLaDMI
for more detail.
2016-09-28 14:06:42 -07:00
Chinmay Garde
d078297005 Update buildroot reference to pull in mojo/public revert. (flutter/engine#3069) 2016-09-28 12:35:00 -07:00
Chinmay Garde
a140c6d06e Update buildtools to latest, account for GN updates and use Clang on Android. (flutter/engine#3064) 2016-09-28 11:48:48 -07:00
James Robinson
c367babc2d Revert "Roll to mojo/public @ 672a0b6386e3d15615928a22ce9df7da8395f253 (#3063)" (flutter/engine#3066)
This reverts commit 8886259248.

The include paths for GL headers in mojo/public are busted
2016-09-27 16:32:38 -07:00
Adam Barth
8467c87765 Make the --flx flag work on Linux (flutter/engine#3065)
Previously we would error out because of a lack of positional arguments.
2016-09-27 16:13:44 -07:00
James Robinson
8886259248 Roll to mojo/public @ 672a0b6386e3d15615928a22ce9df7da8395f253 (flutter/engine#3063) 2016-09-27 15:39:18 -07:00
John McCutchan
9c4f3e830a Make bundle path optional for the RUN intent (flutter/engine#3061) 2016-09-27 14:12:23 -07:00
James Robinson
5803b7444e Revert "Roll to mojo/public @ e8a607c6f017017faf9aac73bc881c419a71f902 (#3052)" (flutter/engine#3062)
This reverts commit 1ba32e231c.

This breaks the android x86 build:

gn gen --check in out/android_debug_x64
ERROR at //mojo/public/tools/BUILD.gn:59:9: Assertion failed.
        assert(current_cpu == "arm",
        ^-----
Only arm version prebuilt netowrk_service.mojo is available.
step returned non-zero exit code: 1
2016-09-27 14:11:08 -07:00
James Robinson
1ba32e231c Roll to mojo/public @ e8a607c6f017017faf9aac73bc881c419a71f902 (flutter/engine#3052) 2016-09-27 13:07:47 -07:00
Jason Simmons
86a8d59313 Roll buildroot (flutter/engine#3060) 2016-09-27 11:41:27 -07:00
Chinmay Garde
360755d6c8 If the platform requests setting up the resource context without making the context current, don’t attempt to create the GL native interface. (flutter/engine#3059) 2016-09-26 12:24:04 -07:00
Jason Simmons
692aabce8f Implement ellipsizing of text in the engine (flutter/engine#3056)
See https://github.com/flutter/flutter/issues/4478
2016-09-26 11:30:11 -07:00
Chinmay Garde
ca79a2a30f Extract a common interface out of GaneshCanvas (into GPUCanvas) that can also be used for the Vulkan canvas. (flutter/engine#3058) 2016-09-24 20:50:10 -07:00
Chinmay Garde
eab36e0efe Remove the systrace logger. Dart can now redirect traces to systrace. (flutter/engine#3057) 2016-09-23 16:56:59 -07:00
Chinmay Garde
b2e97acdb8 Move shell to //flutter and split shell/BUILD.gn into smaller pieces for each subcomponent. (flutter/engine#3053)
* Namespaces have been updated to reflect the move from //flutter/sky/shell to //flutter/shell.
* shell/BUILD.gn file has been split into smaller GN files for each subcomponent of the shell (common, GPU, diagnostic, testing).
* GN dependencies have been rewritten to stop exposing common shell dependencies as public. Duplicates have also been removed.
* GPU subcomponent has been updated make it more suitable for Vulkan integration.
* The GLFW backend has been resurrected.
2016-09-23 15:33:25 -07:00
Chinmay Garde
722a87a076 Roll buildroot to pull in Android NDK update. (flutter/engine#3055) 2016-09-23 13:15:28 -07:00
Chinmay Garde
14a3432be2 Update buildroot. (flutter/engine#3051) 2016-09-21 14:00:31 -07:00
Adam Barth
4acfeefb58 Revert "Wire up mojo tracing (#3047)"
This patch depends on another patch that hasn't landed yet.

This reverts commit 2a657e55a9.
2016-09-21 12:29:11 -07:00
Thomas Voß
2a657e55a9 Wire up mojo tracing (flutter/engine#3047)
* Wire up to mojo::tracing::* infrastructure.

* Initialize tracing as early as possible.

* Make dependency specific to fuchsia.
2016-09-21 12:18:27 -07:00
Chinmay Garde
70e14cacb6 Run the download_android_tools.py in a gclient hook. (flutter/engine#3050)
Originally, this was a step that had to be carried out manually. Presumably because we did not want developers to download the Android SDK and NDK if they were not targetting Android. In practice, this is rarely the case. Even the buildbots unconditionally run the script (though they don’t need Android artifacts on the Mac since there is no Mac to Android builder).
2016-09-21 12:05:02 -07:00
John McCutchan
4c78039b5f Fix isolate spawn when running from source (flutter/engine#3041) 2016-09-21 07:55:55 -07:00