6065 Commits

Author SHA1 Message Date
Ian Hickson
455ceab5f9 StatisticsLayer was shifting subsequent paints.
Turns out we weren't actually saving and restoring the matrix, so our
combined 180.0 pixel downshift was also affecting all subsequent
paints in the frame.
2016-01-10 15:11:11 -08:00
Adam Barth
59c075786a Merge pull request #2239 from abarth/trace_compositor
Add some more trace events to the compositor
2016-01-09 09:25:04 -08:00
Adam Barth
3cce3f0d7e Add some more trace events to the compositor 2016-01-09 00:48:42 -08:00
Adam Barth
a72b88238a Merge pull request #2238 from abarth/rev_dart
Update DartVM revision
2016-01-08 20:25:19 -08:00
Adam Barth
865416855d Update DartVM revision 2016-01-08 20:12:22 -08:00
Adam Barth
1486d205f8 Merge pull request #2235 from abarth/compute_paint_bounds
Compute paint bounds from cull rects
2016-01-08 19:02:38 -08:00
Adam Barth
076d2643e9 Merge pull request #2237 from abarth/fix_build
The build failed without Firebase
2016-01-08 18:56:57 -08:00
Adam Barth
dfaa5d434e The build failed without Firebase
Firebase shouldn't be needed to build Flutter.
2016-01-08 18:49:37 -08:00
Ian Hickson
de37dcfba9 Merge pull request #2236 from Hixie/rect
Better Rect.intersect documentation.
2016-01-08 18:45:53 -08:00
Hixie
720bda36e8 Better Rect.intersect documentation. 2016-01-08 16:50:57 -08:00
Adam Barth
f7d1856bd0 Compute paint bounds from cull rects
Rather than relying upon the rects passed in from Dart, the compositor
should compute the paint bounds of layers from the cull rects of the
underlying SkPictures. This approach is better because it will handle
effects like shadows that paint outside the incorrect paint bounds we
use today (as well as shrinking around empty space).
2016-01-08 16:05:34 -08:00
Adam Barth
ad8b3de91f Fix build when raster cache is disabled 2016-01-08 15:41:28 -08:00
Adam Barth
8f2838238d Make RasterCache responsible for prerolling the image 2016-01-08 15:28:18 -08:00
Adam Barth
213054593d Use the cull rect to select the rasterize size
Using the picture's cull rect to select the size of the texture is more
accurate than using the paint bounds. The cull rect captures shadows and
other "out of bounds" drawing as well as shrinks down around empty space
in the recording.
2016-01-08 15:28:17 -08:00
Collin Jackson
d6ecaec440 Update sky_services with new interfaces 2016-01-08 15:28:17 -08:00
Collin Jackson
9d715b340a Initial Firebase Flutter service implementation 2016-01-08 15:28:07 -08:00
Jason Simmons
087da3237a Merge pull request #2227 from jason-simmons/jni_bind_library
Move the JNI bridge out of dart:ui and into a separate dart:jni library
2016-01-08 14:01:23 -08:00
Ian Hickson
4ff405d73a Merge pull request #2226 from Hixie/textEquality
Add equality to textStyle and co
2016-01-08 13:31:25 -08:00
Adam Barth
3cb6bf3fff Merge pull request #2228 from abarth/preroll_images
Preroll rasterization
2016-01-08 13:21:45 -08:00
Adam Barth
2e5d3c4977 Preroll rasterization
Prerolling the rasterization tasks reduces the number of render target
switches because we don't interrupt the main render target.
2016-01-08 13:17:13 -08:00
Matt Perry
388cda71e1 Merge pull request #2229 from mpcomplete/rev2
Add gcm to sky_services package. Rev engine.
2016-01-08 16:03:01 -05:00
Matt Perry
96c427f35a Add gcm to sky_services package. Rev engine.
Failed to do so last update.
2016-01-08 14:49:45 -05:00
Jason Simmons
10ce8a1928 Move the JNI bridge out of dart:ui and into a separate dart:jni library
This also extends DartClassLibrary to support multiple DartClassProviders
for different libraries
2016-01-08 11:04:22 -08:00
Adam Barth
f4fc4e24a0 Merge pull request #2225 from abarth/cache_layers
Experiment with caching rasterized layers
2016-01-08 11:03:33 -08:00
Adam Barth
3de2e1cf03 Experiment with caching rasterized layers
This patch adds back (and tweaks) some code that we previously removed
for caching rasterized layers. Now that our layerization code in the
framework is more sophisticated, we should be able to get more value out
of this mechanism.
2016-01-08 10:55:47 -08:00
Ian Hickson
8b37dd7526 Add equality to textStyle and co 2016-01-08 09:10:53 -08:00
Jason Simmons
e75a0cb4aa Merge pull request #2224 from jason-simmons/jni_binding
Initial work toward exposing the Java native interface APIs in Dart
2016-01-07 15:27:46 -08:00
Jason Simmons
a9c22e9d8c Initial work toward exposing the Java native interface APIs in Dart 2016-01-07 15:06:35 -08:00
Seth Ladd
04113aa361 Merge pull request #2223 from flutter/sethladd-patch-1
Update name and link
2016-01-07 14:27:54 -08:00
Seth Ladd
a863e4c8b0 Update name and link 2016-01-07 13:22:41 -08:00
Matt Perry
489f812652 Merge pull request #2222 from mpcomplete/version
Bump sky services version to 0.0.76
2016-01-07 16:06:49 -05:00
Matt Perry
c2c9df5f87 Bump sky services version to 0.0.76 2016-01-07 15:50:31 -05:00
Matt Perry
93a9d52c04 Merge pull request #2182 from flutter/gcm
First steps toward GCM support
2016-01-07 15:41:11 -05:00
Matt Perry
6ecb8aaa12 Initial support for the Google Cloud Messaging API.
New gcm mojo service with Android implementation.

Temporarily checking into flutter repo until it's easier to add third
party services.
2016-01-07 15:00:19 -05:00
Adam Barth
ebe379ebcd Merge pull request #2220 from abarth/add_canvas_transform
Introduce Canvas.transform
2016-01-07 11:17:49 -08:00
Jason Simmons
2848bcc211 Merge pull request #2221 from jason-simmons/multi_wrapper_info
Include the class name in the IMPLEMENT_WRAPPERTYPEINFO macro expansion
2016-01-07 10:55:48 -08:00
Adam Barth
83351fa445 Introduce Canvas.transform
Canvas.transform is the same as Canvas.concat, just with a better name.

Fixes #1080
2016-01-07 10:53:46 -08:00
Jason Simmons
d5992106dd Include the class name in the IMPLEMENT_WRAPPERTYPEINFO macro expansion
This allow multiple uses of IMPLEMENT_WRAPPERTYPEINFO within a source file
2016-01-07 10:49:09 -08:00
Jason Simmons
3fc6351a3f Merge pull request #2219 from jason-simmons/tonic_static_wrapper
Add Tonic macros for dispatching to static methods
2016-01-06 15:31:34 -08:00
Jason Simmons
443ba0759e Add Tonic macros for dispatching to static methods
DartArgIterator was starting at argument index 1 because it assumed that the
arguments include a pointer to the "this" object for an instance method.
DART_REGISTER_NATIVE makes the same assumption in the argument count.

This change adds versions of the macros that are suitable for static methods
with no implicit arguments.
2016-01-06 15:07:50 -08:00
Adam Barth
3675770816 Merge pull request #2218 from abarth/direct_wrapper
Add direct wrappers to tonic
2016-01-06 12:03:33 -08:00
Adam Barth
72c87f2722 Add direct wrappers to tonic
Instead of using a C++ object as a peer to the Dart wrapper, these wrapper hold
arbitrary data in the internal field of the Dart wrapper.
2016-01-06 11:45:26 -08:00
Chinmay Garde
405d9a8c69 Merge pull request #2215 from chinmaygarde/master
Shared build configuration for Mac/iOS build targets on bot
2016-01-05 14:55:33 -08:00
Chinmay Garde
da6f356c6b Shared build configuration for Mac/iOS build targets on bot 2016-01-05 14:34:17 -08:00
Matt Perry
bd301ca4eb Merge pull request #2214 from mpcomplete/android.build
Fix android BUILD.gn to match Chromium's latest.
2016-01-05 12:39:18 -05:00
Matt Perry
703fc11784 Fix android BUILD.gn to match Chromium's latest.
Also disable proguard. It's unnecessary and breaks compilation of GCM
(in a separate patch).
2016-01-05 12:29:32 -05:00
Chinmay Garde
767ba4a982 Merge pull request #2213 from chinmaygarde/master
Initialize the global dart library natives separately and outside the isolate create callback
2016-01-04 17:01:47 -08:00
Chinmay Garde
a59456d63c Initialize the global dart library natives separately and outside the isolate create callback 2016-01-04 16:53:19 -08:00
Ian Hickson
90ef9fa39c Merge pull request #2212 from Hixie/rev
rev engine
2016-01-04 13:50:11 -08:00
Hixie
68e757f4ac rev engine 2016-01-04 13:49:33 -08:00