6054 Commits

Author SHA1 Message Date
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
Chinmay Garde
1f783d5787 Merge pull request #2192 from chinmaygarde/master
Update Skia revision
2016-01-04 13:35:27 -08:00
Chinmay Garde
bde18f1fa8 Make travis pick up DEPS updates 2016-01-04 13:25:46 -08:00
Collin Jackson
b734fbed67 Merge pull request #2211 from collinjackson/app_identifier_typo
Fix typo in application identifier
2016-01-04 12:30:33 -08:00
Collin Jackson
0d4185b4f6 Fix typo in application identifier 2016-01-04 12:21:13 -08:00
Adam Barth
b77331ad77 Merge pull request #2210 from abarth/defer_destroy
Don't destroy the engine when detaching from the window
2016-01-04 12:17:11 -08:00
Adam Barth
241fc21055 Don't destory the engine when detaching from the window
Reading the Android docs, it sounds like an android.view.View can re-attach to
the window after detaching. Previously, we destroyed the engine when we
detached from the window. Now we wait for the activity to be destroyed.

Hopefully fixes #997
2016-01-04 10:39:09 -08:00
Chinmay Garde
d08b3b983d Account for the removed endianness check on Mac and fix the context creation routine in skia_utils_mac 2016-01-04 10:20:52 -08:00
Chinmay Garde
47c97a2075 Update Skia revision 2016-01-04 10:20:52 -08:00
Ian Hickson
6ed78c58e0 Merge pull request #2209 from Hixie/wordSpacing
Hook up wordSpacing and per-inline lineHeight.
2015-12-30 13:08:30 -08:00
Ian Hickson
81f56588dc Implement wordSpacing and per-inline lineHeight.
Change line-height to use percentages rather than pixels.
2015-12-30 12:00:33 -08:00
Adam Barth
1958e3f8b5 Merge pull request #2208 from abarth/rm_material_build
Unhook packages/material_design_icons from the build
2015-12-29 23:27:46 -08:00