7333 Commits

Author SHA1 Message Date
Adam Barth
025201a4e4 Update base (#3120) 2016-10-12 09:59:41 -07:00
Adam Barth
6042580f9e Rewire platform messages to work like semantics (#3118)
After this patch, platform messages now take the same path through the system
that semantics data does (on Android). Support on iOS will be in another patch.
2016-10-11 19:02:04 -07:00
Adam Barth
8e41be8f6f Remove semanitcs.mojom (#3117)
We've cut over to the new semantics interface.
2016-10-11 15:39:08 -07:00
Adam Barth
e8d046e9e2 Add support for Mozart input events (#3114) 2016-10-11 14:30:06 -07:00
Adam Barth
e8f57e74a1 Improve new semantics backend (#3113)
TalkBack still isn't fully working, but this patch gets us much closer.
2016-10-11 13:27:11 -07:00
Jason Simmons
7d7a9c76b3 Remove obsolete PlatformView::Resize and GetSize methods (#3112) 2016-10-11 11:55:23 -07:00
Jason Simmons
d9d2333686 Do not attach and detach the EGL context on each frame in the rasterizer thread (#3110) 2016-10-11 11:14:07 -07:00
Adam Barth
2dc88cc6a5 Switch backend to consume new semantics API (#3103) 2016-10-11 10:52:48 -07:00
Adam Barth
4f370b3e6e Add more wiring for new semantics backend (#3111)
Previously the Dart entry points weren't wired up.
2016-10-10 14:51:22 -07:00
Adam Barth
192bc174c2 Update //lib/ftl (#3108)
This fixes this Fuchsia build, which uses the latest //lib/ftl.
2016-10-07 14:07:09 -07:00
Jason Simmons
362f11f625 Reinstate the trace events for Skia canvas flush and eglSwapBuffers (#3107) 2016-10-07 14:01:22 -07:00
Adam Barth
dec24015d7 Add new platform message transport on Android (#3105)
This transport uses the Dart and JNI APIs directly instead of indirecting
through Mojo.
2016-10-07 12:05:43 -07:00
Adam Barth
881fc5841f Remove failed UIDelegate abstraction (#3106)
We only ever had one UIDelegate. We might as well have people use the Engine
interface directly.
2016-10-06 16:19:05 -07:00
Chinmay Garde
fdf13d720e Make the PlatformView client rendering API agnostic. (#3099) 2016-10-06 15:06:21 -07:00
James Robinson
e980741445 Annotate flutter_wtf_unittests as testonly (#3104)
This allows setting testonly=true for gtest in the Fuchsia build.
2016-10-06 15:01:33 -07:00
Adam Barth
166f44c0f7 Remove pointer.mojom (#3102)
This patch moves the rest of the clients to use the new PointerData
transport.
2016-10-06 10:59:30 -07:00
Jason Simmons
1f15c2b88e Fix an ART warning about deletion of a non-local JNI reference (#3100) 2016-10-06 09:43:30 -07:00
Adam Barth
f97caf271c Expose SemanticsUpdate and SemanticsUpdateBuilder (#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
adb62de717 Update uses of mtl::MessageLoop::task_runner() accessor. (#3097) 2016-10-04 14:29:13 -07:00
Jeff Brown
e13412bd24 Port Flutter to Mozart. (#3094)
Example: $ mojo:launcher mojo:spinning_square
2016-10-04 12:54:54 -07:00
Chinmay Garde
1af7a6fe30 Update buildroot and re-enable use of C++14 on Android x86. (#3096) 2016-10-04 12:53:08 -07:00
Adam Barth
6f025ab09b Fix iOS build 2016-10-03 21:29:44 -07:00
Adam Barth
2d543593c3 Fix x86_64 build 2016-10-03 21:26:26 -07:00
Adam Barth
2601064d47 Remove support for dynamic Mojo services (#3089)
Instead, clients should use host messaging.
2016-10-03 21:02:52 -07:00
Adam Barth
862d9e9f6b Android should use PointerDataPackets (#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
3c350ff7f8 Add the Mojo shebang line to Fuchsia flx files. (#3090) 2016-10-03 17:36:34 -07:00
Chinmay Garde
27d012a790 Update buildroot to pull in Linux i386 host builds. (#3093) 2016-10-03 17:02:53 -07:00
Jason Simmons
9f881f455b Queue CanvasImage texture deletion to the IO thread (#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
6873320781 Update buildroot to pull in the fix lowering the Android NDK platform level. (#3088) 2016-10-03 11:37:08 -07:00
Jeff Brown
4749345ee5 Use BGRA color type now that it is supported by Skia on Fuchsia. (#3085) 2016-10-03 11:32:31 -07:00
Chinmay Garde
a1bc17ab70 Update DEPS to point to the C++14 ready builtools and buildroot. (#3079) 2016-10-03 11:29:30 -07:00
Jason Simmons
8de1aedc20 Service protocol extension for grabbing screenshots (#3087)
This is intended for use in flutter_driver tests
2016-10-03 10:39:16 -07:00
Jason Simmons
a2d9c32a2f Add the Skia image encoder for PNG format (#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
31161a9568 Update examples for window.physicalSize (#3086)
Now the engine always gives values in physical pixels.
2016-10-01 10:01:41 -07:00
P.Y. Laligand
fcdbe8b001 Switched to the dedicated executable for building flx files on Fuchsia. (#3084) 2016-09-30 19:17:18 -07:00
P.Y. Laligand
2eea85291e Fixed a typo. (#3083) 2016-09-30 18:13:50 -07:00
P.Y. Laligand
6442c624dd Use the flutter tool to build flx files with gn. (#3067) 2016-09-30 10:31:02 -07:00
Adam Barth
71f2871f00 lerpDouble return value should be "double" (#3068)
Fixes https://github.com/flutter/flutter/issues/5783
2016-09-29 21:59:59 -07:00
Adam Barth
30d87519b1 Stop dispatching pointer packets (#3080)
Long live pointer data packets.
2016-09-29 21:59:44 -07:00
Adam Barth
8ab0cdcea3 Fix ParagraphStyle toString (#3078)
Previously we got some punctuation wrong.
2016-09-29 17:42:19 -07:00
Chinmay Garde
85feff83d8 Update buildroot (for target triple) and boringssl (for Clang IAS) fixes for non-ARM platforms. (#3077) 2016-09-29 12:51:08 -07:00
Chinmay Garde
49c022b1e1 Update Dart revision to pull in iOS build fixes. (#3076) 2016-09-29 11:15:13 -07:00
Jeff Brown
d755b30ffd Update skia to e038489a743d6c0ab1cb208862c305180815bc8e. (#3074) 2016-09-28 19:39:19 -07:00
Adam Barth
613c86f2b4 Fix analyze.sh 2016-09-28 17:05:36 -07:00
Jason Simmons
d46107120a Revise the paragraph style API to include custom ellipsis strings (#3071) 2016-09-28 15:52:31 -07:00
Adam Barth
5f7b060522 Switch to manually encoded pointer data (#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
1d5d783d83 GN updates for Linux host builds. (#3072) 2016-09-28 14:58:53 -07:00
James Robinson
1f6bc3f041 Add buildtools to recursedeps entry in DEPS (#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
93bbba4026 Update buildroot reference to pull in mojo/public revert. (#3069) 2016-09-28 12:35:00 -07:00
Chinmay Garde
d60efb4289 Update buildtools to latest, account for GN updates and use Clang on Android. (#3064) 2016-09-28 11:48:48 -07:00