196 Commits

Author SHA1 Message Date
Florian Loitsch
5fa49e11ad Merge pull request #2121 from floitschG/raster_pipe
Make rasterizer a mojo service.
2015-12-02 16:32:45 -08:00
Florian Loitsch
372355ad22 Make rasterizer a mojo service. 2015-12-02 16:28:39 -08:00
Eric Seidel
090d91fca9 Merge pull request #2126 from eseidelGoogle/startup_trace
Add various trace events for tracing startup
2015-12-02 12:29:47 -08:00
Eric Seidel
a92597ee07 Add various trace events for tracing startup
@abarth
2015-12-02 12:18:20 -08:00
Chinmay Garde
8b7ec29f18 Add back log statement used by Flutter tools to detect trace capture 2015-12-02 11:49:06 -08:00
Chinmay Garde
97efbef9dc Merge pull request #2122 from chinmaygarde/master
Allow capturing unified (Dart and base) traces from observatory
2015-12-01 13:27:29 -08:00
Chinmay Garde
34696334a4 Allow capturing unified (Dart and base) traces from observatory
* Start capturing via <obs_host>:<obs_port>/flutter_startTracing
* Stop capturing via <obs_host>:<obs_port>/flutter_stopTracing
2015-12-01 13:26:53 -08:00
George Kulakowski
e08bd29aba Flip y coordinate on FNL as a workaround 2015-11-30 14:10:07 -08:00
Adam Barth
68dfad8e92 Add --flx flag to load FLX files
Also, remove the --snapshot flag because using FLX files is the path we're
paving.
2015-11-27 23:14:07 -08:00
Adam Barth
97a375f096 Flutter for Modroid should use vsync
This patch teaches Flutter how to connect to the vsync service on Modroid.
Also, remove our now-redunant copy of vsync.mojom.

Fixes #589
2015-11-25 13:10:44 -08:00
krisgiesing
4dad72a7d2 Merge pull request #2109 from krisgiesing/remove_statics
Remove static data from Java keyboard-related service implementations
2015-11-24 15:38:35 -08:00
Kris Giesing
e37a1e0c38 Remove static data from Java keyboard-related service implementations
Fixes #299
2015-11-24 15:04:29 -08:00
Adam Barth
a9db805f58 Add system-level routing
We now respect the "route" field in Intents to load a route other than '/'.
Also, use popRoute rather than events to indicate that the framework has asked
us to go back.
2015-11-24 12:40:41 -08:00
Chinmay Garde
2863481966 Move all engine generated artifacts into a single FlutterResources
folder
2015-11-23 13:55:11 -08:00
Kris Giesing
d392aea9da Add support for IME on mojo/Linux 2015-11-20 15:02:56 -08:00
Adam Barth
e80be08b57 Fix Mac build 2015-11-19 14:53:05 -08:00
Collin Jackson
ca04a77540 Fix gn on iOS/Mac builds 2015-11-19 11:08:06 -08:00
Adam Barth
33288c2868 Fix Android build by adding missing dependency 2015-11-18 13:21:22 -08:00
George Kulakowski
e60e50386a Add fnl build configuration 2015-11-18 13:07:19 -08:00
Adam Barth
db2c9d43ce Remove sky_viewer.mojo
We now use flutter.mojo instead.
2015-11-17 14:32:57 -08:00
Chinmay Garde
9497a37460 Initialize the window_ ivar in PlatformView to gfx::kNullAcceleratedWidget 2015-11-17 12:04:03 -08:00
Adam Barth
4e0ec4c23b Fix the units for Pointer events
The time_stamp is supposed to be in microseconds. Previously we were using
milliseconds.
2015-11-17 11:21:58 -08:00
Adam Barth
c9b7f2f7d4 Scrollable widgets don't fling in MojoShell
There's some confusion over the units for time_stamp. This patch works around
the issue. I've filed a bug (https://github.com/domokit/mojo/issues/541) to
figure out the right fix.

Also, rename the final target to flutter.mojo, which is a more descriptive
name.
2015-11-17 09:41:07 -08:00
Adam Barth
ae58ba7c8c Bring sky_shell.mojo up to feature parity with sky_viewer.mojo
I believe this patch implements all the remaining features from
sky_viewer.mojo.
2015-11-16 17:19:35 -08:00
Adam Barth
36b4f0669c Make sky_shell.mojo work on Android
There's no vsync service in MojoShell, so we shouldn't try to connect to it.
Feature request for MojoShell is in https://github.com/domokit/mojo/issues/535.
2015-11-16 15:27:28 -08:00
Collin Jackson
794caa2314 Merge pull request #2059 from collinjackson/rename_flutter_strings
Fix #371 Replace “chromium” and “sky” with “flutter” in logs and Mac Shell UI
2015-11-16 14:54:30 -08:00
Collin Jackson
0904164fd6 Fix https://github.com/flutter/flutter/issues/371 renaming "sky" and "chromium" to "flutter" in logs and Mac Shell UI 2015-11-16 14:54:18 -08:00
Adam Barth
ba603acc04 Fix build and rename a variable
I was supposed to rename this variable before landing the previous patch.
2015-11-16 14:42:44 -08:00
Adam Barth
4858c78ad9 Merge pull request #2058 from abarth/mojo_input
Handle pointer input in sky_shell.mojo
2015-11-16 14:39:20 -08:00
Adam Barth
530d7f3851 Handle pointer input in sky_shell.mojo 2015-11-16 14:26:45 -08:00
Adam Barth
6fae1a6bd4 Hold services_provided_to_embedder open
If we let services_provided_to_embedder close, we'll trigger a bug in Dart's
ApplicationConnection framework code. I've filed
https://github.com/domokit/mojo/issues/536 and will fix that separately. This
patch works around the issue for now.
2015-11-16 13:57:17 -08:00
Adam Barth
77f873c1a4 Wire in Mojo services to sky_shell.mojo
After this patch, code running in sky_shell.mojo has access to Mojo services.
2015-11-16 12:56:08 -08:00
Adam Barth
9dc71cb51f Refactor how we wire up platform services
Now the control flow for wiring up platform services starts in the
platform-specific code. Previously we started in shared code, which was
imposing constraints on the startup sequence for all platforms. Now that we
start in platform-specific code, we'll be able to add better support for Mojo
in a future patch.
2015-11-16 12:24:28 -08:00
Adam Barth
3082e82586 Merge pull request #2054 from abarth/rm_network
Remove sky:🐚:Engine's dependency on network_service
2015-11-16 09:50:23 -08:00
Adam Barth
33a1cd3e87 Remove sky:🐚:Engine's dependency on network_service
We weren't using the network service for anything.
2015-11-16 09:22:06 -08:00
Adam Barth
56601fcfa3 Wire sky_shell.mojo to draw via MGL
After this patch, we can execute Dart code and draw the result via MGL. We
still need to plumb in services.
2015-11-14 07:42:25 -08:00
Adam Barth
96b847cd43 Wire sky_shell.mojo up to native_viewport
After this patch, we can execute Dart code an create an X window. There's a
sketch of some graphics code, but it's not wired up yet.
2015-11-13 14:00:34 -08:00
Adam Barth
7e294c5f81 Merge pull request #2045 from abarth/gpu_direct
Move GPU code into direct
2015-11-12 21:01:46 -08:00
Adam Barth
8a6ef54343 Move GPU code into direct
I'll add another subdirectory to GPU for Mojo soon.
2015-11-12 19:56:38 -08:00
Jason Simmons
b63c2d93e1 Provide a handle for the ServiceProvider stub used by the application to expose services to the embedder 2015-11-12 15:06:10 -08:00
James Robinson
3e79cc5829 Nuke //ui/events, all users are runtime dead 2015-11-11 17:33:07 -08:00
Adam Barth
04391cf941 Add a basic sky_shell.mojo
Currently sky_shell.mojo can't load any Flutter apps or draw to the screen, but
that will come in later patches.
2015-11-11 14:06:55 -08:00
Adam Barth
846e7fcc99 Move platform-specific code for sky/shell into sky/shell/platform
This patch prepares us to add support for Mozart.
2015-11-11 13:31:18 -08:00
Chinmay Garde
fdddc60a89 Merge pull request #2030 from chinmaygarde/master
Move to the service/pointer Mojo interface for input events on Mac
2015-11-11 12:31:24 -08:00
Chinmay Garde
6e39075a7a Move to the service/pointer Mojo interface for input events on Mac 2015-11-11 12:29:10 -08:00
Chinmay Garde
4f00b8b8a2 Merge pull request #2029 from chinmaygarde/master
Move to the services/pointer Mojo interface for touch events on iOS
2015-11-11 12:28:31 -08:00
Chinmay Garde
a399d95b3b Move to the services/pointer Mojo interface for touch events on iOS 2015-11-11 12:14:46 -08:00
Collin Jackson
abc7473ca6 Add a service for receiving hardware keys 2015-11-11 10:57:40 -08:00
Adam Barth
ff48ddb68f Add the ability to dispose host objects
Some host objects hold on to a lot of state and take time to tear down. This
patch adds the ability to dispose them eagerly to release resources faster.
2015-11-11 08:36:29 -08:00
Jason Simmons
9f2d723006 Replace the legacy pointer input event handling with PointerPackets
With this change we no longer need engine/core/events and its IDL bindings.
2015-11-10 14:34:12 -08:00