Chinmay Garde
e9121df3bb
Make the animator host an implicit fallback VSync provider in case platforms cant provide their own. ( #2953 )
2016-08-19 12:52:54 -07:00
Chinmay Garde
dd3d0cd45d
Add a PlatformVSync trace event to VSyncProviderImpl.java. ( #2951 )
2016-08-18 18:21:23 -07:00
Chinmay Garde
ace7ce8c01
Make the engine provide layer trees to the rasterizer via a pipeline. ( #2942 )
2016-08-18 11:23:15 -07:00
Chinmay Garde
9a9efdf5b2
VSyncProviderFallbackImpl for platforms that lack the ability to provide real VSync callbacks. (#2941 )
...
Will only be used by Linux Desktop for now.
2016-08-17 16:08:53 -07:00
Jason Simmons
d535a15a8c
Include the FTL build config macros in some files that rely on them ( #2930 )
...
Fixes https://github.com/flutter/flutter/issues/5424
2016-08-16 12:04:11 -07:00
Adam Barth
9c09565712
Update paths to account for buildroot
2016-08-09 13:52:15 -07:00
Adam Barth
13af58bfc4
Remove //base dependency from asset system ( #2885 )
...
This patch centralizes the asset bundle processing in //flutter/assets and
removes the //base dependency from the code.
2016-08-08 12:56:13 -07:00
Adam Barth
e34327b7b5
Move //mojo/icu to //services/icu ( #2757 )
...
The upstream mojo.git no longer contains this code.
2016-06-15 11:04:13 -07:00
Jason Simmons
ee3bc0cc31
Remove obsolete AssetBundle implementations
2016-03-02 13:58:08 -08:00
Jason Simmons
20972c664c
Do not warn if a requested asset does not exist
...
Fixes https://github.com/flutter/flutter/issues/2229
2016-02-26 14:07:21 -08:00
Jason Simmons
470118b0de
Support spawning new Dart isolates from within a Flutter app
2016-02-24 14:59:59 -08:00
Jason Simmons
0b8038fa1e
Support loading of custom fonts
...
The FLX will contain a font manifest JSON file that maps font family names
to custom font assets. Flutter will provide a FontSelector that loads
fonts on demand and caches typeface and style data.
2016-02-17 12:07:22 -08:00
Jason Simmons
ae517c2fee
Add a way to override the snapshot when running an FLX bundle
2016-02-09 10:08:26 -08:00
Jason Simmons
97e65a4571
Serve the asset bundle directly out of an FLX zip file
...
Currently, during application startup we:
* copy the FLX file to a Mojo pipe
* write the Mojo pipe contents back to a temporary file on disk
* unzip the FLX contents into cache storage
This contributes to startup latency and requires that we later clean up the
cache.
With this change, the assets will be extracted from the FLX archive
on demand with no writes to storage. Runtime cost should be minimal
given that most assets (except for the snapshot) are not compressed
in the archive.
2016-02-05 14:38:42 -08:00
Adam Barth
bdacb56cdd
Improve IME interface
...
Instead of providing a stream of mutations, we now provide a the client with
the complete state of the editing control to prevent the two from getting out
of sync.
As a side-effect, we can now move the cursor around when editing a text field.
2016-02-01 20:41:48 -08:00
Adam Barth
69a0475586
KeyboardServiceState#setSelection shouldn't crash
...
Now we sanity check our inputs instead of crashing.
Fixes #1033
2016-01-26 11:56:51 -08:00
Ian Hickson
623c951efd
Fix the Input crash.
...
KeyboardServiceImpl's setText method was dropping the new text on
the floor instead of passing it on to the KeyboardServiceState.
Then it was passing the selection indices through, so they were
out of range, which the Android runtime doesn't like.
Fixes #964 .
2015-12-28 14:50:26 -08:00
Adam Barth
ee6f9b7fd8
Revert changes Mojo changes to KeyboardServiceImpl.java
2015-12-03 10:59:36 -08:00
Adam Barth
c70420a542
Update to mojo 538acea1892ce327ca5f8e192aaf62531d095b52
2015-12-03 10:26:13 -08:00
Kris Giesing
e37a1e0c38
Remove static data from Java keyboard-related service implementations
...
Fixes #299
2015-11-24 15:04:29 -08:00
Kris Giesing
07b2826e7e
Update to mojo e2b1bc4e7cd4e3b6e851a45f96e55816bcc02457
2015-11-20 13:49:10 -08:00
Adam Barth
db2c9d43ce
Remove sky_viewer.mojo
...
We now use flutter.mojo instead.
2015-11-17 14:32:57 -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
James Robinson
3e79cc5829
Nuke //ui/events, all users are runtime dead
2015-11-11 17:33:07 -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
Adam Barth
02d75552c9
Start booting up the new binding system for window
...
Currently this code isn't completely wired up, but this patch is an incremental
step in that direction.
2015-10-27 16:53:52 -07:00
Adam Barth
ae83ec4188
Fix the build
2015-10-26 09:28:21 -07:00
Adam Barth
edb7d79c86
Update includes to account for network service move
2015-10-19 10:30:24 -07:00
Jason Simmons
19258a6d71
Update to mojo 1292152bf533de1bfebf5966d6246e149f87add3
2015-10-13 15:24:40 -07:00
Jason Simmons
69b47bfab9
Update to mojo 298d9942de7819c4a837b049bc98d2cbcd61554f
2015-10-12 15:34:11 -07:00
Jason Simmons
10c8e321d8
Merge pull request #1569 from jason-simmons/mojo_merge_client
...
Update to mojo 4fe7bc6c228b3a2939cd3635ebd701f88eeca55d
2015-10-12 10:10:45 -07:00
Adam Barth
72c103cefa
Rename dart:sky to dart:ui
2015-10-09 19:27:13 -07:00
Jason Simmons
d3a5b2c390
Update to mojo 4fe7bc6c228b3a2939cd3635ebd701f88eeca55d
2015-10-09 17:27:33 -07:00
Adam Barth
06eaaf7909
Fix build
...
Mistakenly broke sky_viewer.mojo.
2015-10-09 09:19:21 -07:00
James Robinson
eef941140f
Handle a picture in a TextureLayer with an empty cull rect
...
If we have a layer with a picture where the cull rect computes down to an empty
rectangle attempting to rasterize it into a ganesh surface will fail in the
same manner that trying to ganesh rasterize an empty layer will. This teaches
LayerHost to check for this case and handle it like an empty layer.
Fixes #1337
2015-09-28 18:22:52 -07:00
Jeff Brown
e7483b60a4
Remove unused dependency on ui::GestureRecognizer.
2015-09-24 14:00:04 -07:00
Jeff Brown
4d8e765423
Run sky_viewer directly on top of native_viewport / surfaces.
...
Remove view manager from consideration for now.
Although we could also remove the dependency on surfaces, it makes
sense to keep it for a little while longer since the replacement
for view manager will likely depend on it or a similar compositor.
2015-09-23 16:48:14 -07:00
Jeff Brown
5d4e44fa92
Remove SurfaceAllocator because it is unused.
2015-09-23 16:48:14 -07:00
James Robinson
defb7d2c6f
Teach content handler service to serve flx (and only flx) files
2015-09-21 17:34:29 -07:00
Chinmay Garde
faee292fa2
Delete "services/sky/compositor/picture_serializer"
2015-09-21 16:31:26 -07:00
Chinmay Garde
c94953c984
Fix Build: Remove incorrect include of deleted picture_rasterizer.h
2015-09-18 15:36:27 -07:00
Chinmay Garde
a3af5bd1e8
Remove picture_rasterize.h|cc
2015-09-18 14:31:05 -07:00
Adam Barth
d5b2969546
Simplify TestRunner now that we don't have test_sky
2015-09-16 11:00:33 -07:00
Kishore Simbili
5d12b71863
Delete document view when view manager is disconnected.
2015-09-15 10:22:40 -07:00
Adam Barth
ae42346bb5
Fix build after recent compositor changes
2015-09-11 09:02:20 -07:00
Chinmay Garde
d0009550c0
PictureRasterizer for caches pictures as images
2015-09-09 14:52:58 -07:00
Adam Barth
48c0505587
Fix build
2015-09-09 10:21:34 -07:00
Adam Barth
e5d7e69346
Pass the sky::LayerTree to the GPU thread for drawing
...
Instead of squashing the layers down into a single SkPicture, we now pass the
tree to the GPU thread, which draws everything separately.
2015-09-03 19:20:32 -07:00
Adam Barth
860f939e87
Rename sky::Layer to sky::TextureLayer
2015-09-02 14:50:45 -07:00
James Robinson
34f24c6eeb
Use the GL headers from the Mojo SDK when building for Mojo
2015-08-28 10:17:08 -07:00