Chinmay Garde
fbd8ea0ec8
Merge pull request #2260 from chinmaygarde/master
...
Remove Xcode harness for building the engine
2016-01-13 15:53:54 -08:00
Chinmay Garde
cf18698810
Remove Xcode harness for building the engine
2016-01-13 14:59:46 -08:00
Adam Barth
30a2c9350f
Rev pub packages
2016-01-13 13:38:14 -08:00
Adam Barth
910ccafe5c
Merge pull request #2259 from abarth/misplaced_fab
...
Stocks FAB "+" sometimes teleports to near the top left
2016-01-13 12:37:34 -08:00
Adam Barth
17ed699397
Stocks FAB "+" sometimes teleports to near the top left
...
The matrix argument to drawPicture doesn't seem to do what we want exactly.
Instead, use the normal matrix in the canvas. Also, handle cull rects with
non-zero left and top coordinates.
Fixes #1229
2016-01-13 12:31:03 -08:00
Adam Barth
a0e2a6d2bc
Merge pull request #2258 from abarth/flow
...
Move //sky/compositor to //flow
2016-01-12 22:42:02 -08:00
Adam Barth
0b629d419f
Move //sky/compositor to //flow
...
Now that the compositor doesn't have any tricky deps, we can make it a
top-level project, which saves a bunch of typing.
2016-01-12 22:39:51 -08:00
Adam Barth
d631c1fb59
Merge pull request #2257 from abarth/rm_deps
...
Trim unneeded depedendencies from sky/compositor
2016-01-12 22:12:21 -08:00
Adam Barth
6d1af600b1
Trim unneeded depedendencies from sky/compositor
...
Now we just depend on Skia and Base, which makes the compositor easier
to understand.
Also, update our skia/ext/refptr.h to match the current version of the
code in Chromium. This version adds support for several useful C++11
patterns.
2016-01-12 22:02:08 -08:00
Adam Barth
0a6766163a
Merge pull request #2255 from abarth/enable_caching
...
Enable raster cache in compositor
2016-01-12 21:18:48 -08:00
Adam Barth
bb3cd9e24e
Merge pull request #2256 from abarth/jni_build
...
Fix build with -Werror=return-type
2016-01-12 20:01:37 -08:00
Adam Barth
8d00bc118c
Fix build with -Werror=return-type
...
We need to return a value from these functions to make clang happy.
2016-01-12 20:00:46 -08:00
Adam Barth
eca953c138
Enable raster cache in compositor
...
The raster cache show some significant speedups in some situations.
Let's turn it on by default and learn more.
In this patch, I've also switched us away from using the
SkPictureImageGenerator because the preroll patches haven't landed in
Skia yet. Once those have landed, we might want to switch back.
2016-01-12 19:59:18 -08:00
Jason Simmons
1b3232be45
Merge pull request #2254 from jason-simmons/jni_ctor
...
JNI bridge support for constructors, arrays, and strings
2016-01-12 16:09:49 -08:00
Jason Simmons
acfbced1dc
JNI bridge support for constructors, arrays, and strings
2016-01-12 15:58:33 -08:00
Chinmay Garde
c43dff3046
Merge pull request #2253 from chinmaygarde/master
...
Dont fail the build when trying to detect if the archive can be uploaded
2016-01-12 15:10:10 -08:00
Jason Simmons
35863afd4d
Merge pull request #2246 from jason-simmons/jni_method_call
...
Implement simple method calls in the Dart/JNI bridge
2016-01-12 14:49:27 -08:00
Chinmay Garde
2c445d15bc
Dont fail the build when trying to detect if the archive can be uploaded
2016-01-12 14:46:18 -08:00
Adam Barth
bec6ad5d3f
Merge pull request #2178 from floitschG/handleRealTime
...
Add 'HandleRealTimeEvents' to window.
2016-01-12 12:25:13 -08:00
Chinmay Garde
11e8199de7
Merge pull request #2252 from chinmaygarde/master
...
Upload Xcode artifacts from the build server if access to the service account is available
2016-01-12 12:24:53 -08:00
Chinmay Garde
7b0ced4a52
Upload Xcode artifacts from the build server if access to the service account is available
2016-01-12 11:53:26 -08:00
Adam Barth
d0073d30e8
Rev pub packages
2016-01-12 10:33:52 -08:00
Adam Barth
67708299f2
Merge pull request #2251 from abarth/rm_old_methods
...
Remove deprecated Dart methods
2016-01-12 10:32:55 -08:00
Adam Barth
d4506ee6a4
Remove deprecated Dart methods
...
All the clients have migrated to the new methods.
Fixes https://github.com/flutter/flutter/issues/1080
2016-01-12 10:32:13 -08:00
Adam Barth
a97b22a893
Merge pull request #2250 from abarth/translate_pictures
...
TabView children don't render correctly
2016-01-12 10:30:24 -08:00
Adam Barth
3931134bb0
TabView children don't render correctly
...
The matrix parameter to drawPicture doesn't quite work the way we expected.
This patch moves us back to using the translate function on SkCanvas.
Fixes https://github.com/flutter/flutter/issues/1205
2016-01-12 10:26:57 -08:00
Jason Simmons
a5104c4a61
Implement simple method calls in the Dart/JNI bridge
...
Also adopt a standard pattern for handling exceptions in JNI APIs
2016-01-12 10:02:32 -08:00
Adam Barth
38a0a4b15d
Update versions
2016-01-11 19:57:56 -08:00
Adam Barth
d4a7fa8802
Merge pull request #2243 from abarth/faster_draw_image
...
Use a slightly faster path for drawImage
2016-01-11 19:49:25 -08:00
Adam Barth
a862fda816
Merge pull request #2249 from abarth/shader_mask_layer
...
ShaderLayer should actually be ShaderMaskLayer
2016-01-11 16:49:33 -08:00
Adam Barth
b63aac40f1
ShaderLayer should actually be ShaderMaskLayer
...
The shader is supposed to be drawn on top of the children as a mask. The
previous drawing code was incorrect.
2016-01-11 16:45:35 -08:00
Adam Barth
93cfbc8abd
Merge pull request #2248 from abarth/shader_layer
...
Add ShaderLayer to Flutter compositor
2016-01-11 15:14:04 -08:00
Adam Barth
9949c8aaf6
Add ShaderLayer to Flutter compositor
...
We need this to implement RenderShaderMask properly. See #1155 .
2016-01-11 15:03:25 -08:00
Chinmay Garde
ca0941bfd0
Merge pull request #2247 from chinmaygarde/master
...
Update Dart revision to pull in iOS fixes
2016-01-11 13:31:14 -08:00
Chinmay Garde
767399ddf5
Update Dart revision to pull in iOS fixes
...
https://codereview.chromium.org/1571343003
2016-01-11 13:25:45 -08:00
Ian Hickson
c24aea8b3b
Merge pull request #2245 from Hixie/rev
...
revving engine
2016-01-11 11:19:54 -08:00
Hixie
243ca8e9ac
revving engine
...
sky_engine and sky_services were somehow not aligned, so I pulled them
both up to the next highest number.
2016-01-11 11:18:35 -08:00
Adam Barth
1cb2e9a21a
Merge pull request #2244 from abarth/fix_draw_atlas
...
Fix bindings for drawAtlas
2016-01-11 11:18:05 -08:00
Adam Barth
47040aafbb
Fix bindings for drawAtlas
...
In changing the binding systems, I broke the colors parameter to drawAtlas. It
was looking for an array of ints rather than an array of Colors. Now we use
CanvasImage, which has the proper converter.
Fixes #1137
2016-01-11 11:17:34 -08:00
Ian Hickson
6bd3fb4dcc
Merge pull request #2241 from Hixie/performance-overlay
...
Rename StatisticsOverlay to PerformanceOverlay.
2016-01-11 11:15:49 -08:00
Adam Barth
ca629db532
Use a slightly faster path for drawImage
...
We don't need the strict mode for legacy compatibility because we don't have
any legacy yet. At some point, we might want to expose the strict mode for
people who want to pack their sprite sheets very tightly, but the sprites
library uses drawAtlas instead already.
2016-01-11 11:11:38 -08:00
Adam Barth
100a38e0e7
Merge pull request #2242 from abarth/simplify_picture_layer
...
Simplify painting PictureLayer
2016-01-11 01:22:53 -08:00
Adam Barth
32f62deeab
Simplify painting PictureLayer
...
This patch uses some fancier Skia APIs to simplify how PictureLayer
paints.
2016-01-11 01:22:42 -08:00
Ian Hickson
f77acf0e80
Rename StatisticsOverlay to PerformanceOverlay.
...
Also, remove compositor_options in favour of four int constants, four
bitwise ands, and a few zero-equality comparisons, since it doesn't
seem we'll need this to scale much after all.
2016-01-10 23:39:13 -08:00
Ian Hickson
4e3108bc42
Merge pull request #2240 from Hixie/stats-offset
...
StatisticsLayer was shifting subsequent paints.
2016-01-10 20:13:38 -08:00
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