Ryan Macnak
f03daa15b9
Roll Dart to 1ed4c27c01de6680766593b88a531ef86883a117. ( flutter/engine#3431 )
2017-02-16 13:26:31 -08:00
Jason Simmons
ed07f34bce
Transfer ownership of the buffer in the image decoder bitmap fallback path ( flutter/engine#3426 )
...
Previously we had passed a local generator to flow::BitmapImageCreate /
SkImage::MakeFromGenerator, which takes ownership of the generator.
That generator in turn referenced an SkData backed by a local vector.
The result was an SkImage backed by a deleted buffer.
2017-02-15 15:37:39 -08:00
mattsarett
f8f53719d6
Use SkImage::makeShader() in place of bitmap workaround ( flutter/engine#3419 )
2017-02-14 14:35:12 -08:00
Chinmay Garde
42d77d6159
Revert ShadowMaskFilter use and roll Skia to 246a3c269d8dc91a47ff27f7b71508bf9e74edf5. ( flutter/engine#3409 )
2017-02-10 16:01:36 -08:00
Jason Simmons
f3d22aaf83
Export the Skia ShadowMaskFilter API ( flutter/engine#3401 )
...
See https://github.com/flutter/flutter/issues/6807
2017-02-09 10:25:33 -08:00
Hans Muller
cea17ccb97
Added a point about Point&Size to the Rect dartdoc ( flutter/engine#3405 )
2017-02-09 09:27:27 -08:00
Jason Simmons
c963fee632
Remove ParagraphStyle.lineCount, which has been superseded by maxLines ( flutter/engine#3390 )
...
Fixes https://github.com/flutter/flutter/issues/7723
2017-02-03 13:49:10 -08:00
Chris Bracken
7db0cd44c3
Roll Dart SDK to ed00447138f95ea4ba612509a244ca8205735372 ( flutter/engine#3364 )
...
* Roll Dart SDK to ed00447138f95ea4ba612509a244ca8205735372
Make the VM happy with a spurious instruction snapshot.
* Revert "Snapshots: Don't use an empty array where a NULL array is expected. (#3361 )"
This reverts commit c3c478ec699bba863bd422292277bb984f506d1a.
Broke iOS simulator builds; should no longer be necessary after rolling
the Dart SDK to ed00447138f95ea4ba612509a244ca8205735372.
On iOS simulator builds, we were seeing DartLookupSymbolInLibrary return
a pointer to a address of the snapshot data rather than the address of
the snapshot buffer itself. On simulator builds we don't build the
snapshot data into a buffer in app.dylib (kDartVmSnapshotData) but link
it statically into the engine itself.
2017-01-25 19:08:33 -08:00
Ryan Macnak
c3c478ec69
Snapshots: Don't use an empty array where a NULL array is expected. ( flutter/engine#3361 )
...
Fixes dart-lang/sdk#28504
2017-01-24 18:26:21 -08:00
Ian Hickson
09fc14cd43
Improve documentation for the winding rule API and rename 'winding' to 'nonZero'. ( flutter/engine#3359 )
2017-01-24 17:01:58 -08:00
Ryan Macnak
023ebac36d
Adapt to refactoring of snapshot APIs in the Dart VM. ( flutter/engine#3354 )
...
Adapt to refactoring of snapshot APIs in the Dart VM.
2017-01-23 12:09:59 -08:00
Chinmay Garde
26fe5e1b12
Add a Vulkan backend for Fuchsia and Android. ( flutter/engine#3282 )
2017-01-20 14:37:10 -08:00
Michael Goderbauer
4a6fe23300
Expose justify TextAlign option ( flutter/engine#3348 )
...
fixes flutter/flutter#6865
2017-01-19 15:07:42 -08:00
Matt Perry
97184fe85d
Stop processing multiline text after maxLines. ( flutter/engine#3342 )
...
Added a Paragraph.didExceedMaxLines property to query when this occurs.
Needed for https://github.com/flutter/flutter/issues/7271
2017-01-18 10:53:24 -05:00
Matt Perry
bdc3efa0cc
Add support for a maxLines property on Paragraph. ( flutter/engine#3338 )
...
Also fix 'ellipsis' overflow handling to work for multiline text.
Fixes https://github.com/flutter/flutter/issues/7271
2017-01-17 13:55:43 -05:00
Jason Simmons
c42a2edc20
Check if the canvas bounds rect contains infinite or NaN values ( flutter/engine#3339 )
...
See https://github.com/flutter/flutter/issues/7431
2017-01-13 17:08:24 -08:00
Jason Simmons
633c3e25db
An API for setting the tag for Flutter log messages on Android ( flutter/engine#3335 )
...
Fixes https://github.com/flutter/flutter/issues/7226
2017-01-12 15:47:18 -08:00
Adam Barth
882919971d
Add Size.flipped ( flutter/engine#3328 )
2017-01-10 10:45:38 -08:00
Adam Barth
8591ef59c8
Rename TransferMode to BlendMode ( flutter/engine#3323 )
...
Fixes https://github.com/flutter/flutter/issues/7200
2017-01-05 23:44:47 -08:00
Adam Barth
2ba424edb7
Remove Canvas.setMatrix and MaskFilter flags ( flutter/engine#3321 )
...
The Skia team says these APIs are outdated and should be removed. They
do not appear to have any clients.
Fixes https://github.com/flutter/flutter/issues/7202
Fixes https://github.com/flutter/flutter/issues/7204
2017-01-05 11:08:59 -08:00
Chinmay Garde
d14c8ac6f5
Re-format all GN files using gn format. ( flutter/engine#3319 )
2017-01-03 15:59:48 -08:00
Ian Hickson
a326126b87
Color docs ( flutter/engine#3310 )
2016-12-12 23:40:04 -08:00
Jason Simmons
5045f38837
Null check before queueing deletion of Skia objects ( flutter/engine#3298 )
...
Fixes https://github.com/flutter/flutter/issues/7182
2016-12-08 12:43:50 -08:00
Adam Barth
def8451d70
Remove trailing comma
2016-11-28 21:02:42 -08:00
YoungSeok Yoon
e007ff8794
Fix the assertion in RadialGradient ( flutter/engine#3278 )
2016-11-28 17:16:36 -08:00
Adam Barth
323a082f5d
Rename hittable to hitTestable ( flutter/engine#3275 )
...
Apparently hittable is not politically correct.
2016-11-28 16:09:56 -08:00
Adam Barth
670329e1bf
Add prune to child scene layers ( flutter/engine#3272 )
...
Also, change the hit testing geometry so that we get our hits at the root.
2016-11-28 12:28:18 -08:00
Adam Barth
ee18bf8eae
Cull offscreen child views ( flutter/engine#3267 )
...
There's no reason to present offscreen child views to Mozart.
2016-11-23 13:36:12 -08:00
Chinmay Garde
5730cf9d82
Update Skia and get using its BUILD.gn instead of maintaining own own copy. ( flutter/engine#3233 )
2016-11-17 12:36:16 -08:00
Sigurd Meldgaard
762d1367b3
Faster hash codes. ( flutter/engine#3214 )
...
* Faster hash codes.
Mask the intermediate values when computing composite
hash codes.
* WIP
* WIP
* WIP
2016-11-16 12:28:25 -08:00
Adam Barth
bd95aafbe5
Add support for hover pointer events ( flutter/engine#3227 )
...
These are implemented on macOS and Fuchsia.
2016-11-15 20:18:22 -08:00
Adam Barth
8ed446e1d0
Add support for child view on Fuchsia ( flutter/engine#3217 )
2016-11-10 18:03:00 -08:00
Adam Barth
ab894d55d5
Add support for Fuchsia IDL on Fuchsia ( flutter/engine#3211 )
2016-11-10 13:12:32 -08:00
Chinmay Garde
e1cdf9ef48
Add SceneBuilder.setCheckerboardRasterCacheImages with documentation. ( flutter/engine#3202 )
2016-11-03 17:28:11 -07:00
Chinmay Garde
20ad790b7f
Allow checkerboarding raster cache entries for debugging purposes (can be toggled from Dart). ( flutter/engine#3200 )
2016-11-03 13:59:57 -07:00
Jason Simmons
12af865808
Move SkPicture destruction to the IO thread to fix a GL memory leak ( flutter/engine#3192 )
...
An SkPicture may hold a reference to an SkImage backed by a GL texture.
The GL texture is associated with the resource context bound to the IO
thread and must be deleted through that context.
2016-11-01 14:31:20 -07:00
Jason Simmons
2db913d253
Fix a leak of RenderObjects in Paragraph/ParagraphBuilder ( flutter/engine#3189 )
...
The RenderView destructor does not delete its descendants.
RenderObject::destroy must be called to delete the object tree along with
other cleanup tasks.
Also associate a CustomFontData with dynamically loaded fonts in order to get
the desired FontDataCache behavior at RenderObject::destroy time.
2016-10-31 11:16:04 -07:00
Adam Barth
f04d8c0314
Unlink from mojo ( flutter/engine#3187 )
...
After this patch, we no longer link with Mojo. We still use some gn definitions
from //mojo to create Dart packages.
2016-10-28 15:01:07 -07:00
Adam Barth
d8092db223
Fix Fuchsia build ( flutter/engine#3186 )
2016-10-28 13:54:53 -07:00
Adam Barth
414e5bcd60
Remove last mojom interface ( flutter/engine#3184 )
...
We no longer use mojom to transport messages. We still use the Mojo EDK
to spin the event loop, however.
2016-10-28 11:46:57 -07:00
Adam Barth
b5219d5dcf
Migrate ViewportMetrics away from Mojo ( flutter/engine#3180 )
...
Now we just pass the data directly.
2016-10-27 13:12:55 -07:00
Adam Barth
44ec9e55c9
Move lifecycle, navigation, and localization to platform messages ( flutter/engine#3172 )
...
Previously, these signals were sent over Mojo. Now we send them through
platform messages.
2016-10-25 15:51:27 -07:00
Jason Simmons
192bf80d39
Provide the paragraph style at ParagraphBuilder construction time ( flutter/engine#3171 )
...
This enables text span styles to inherit attributes from the paragraph style
2016-10-25 10:58:05 -07:00
Ryan Macnak
562000be9a
Roll Dart VM. ( flutter/engine#3167 )
2016-10-24 12:32:10 -07:00
Adam Barth
bb90af8f4a
Path.transform doesn't work ( flutter/engine#3164 )
...
We need to release the typed array so that we can allocate the result value.
Fixes https://github.com/flutter/flutter/issues/6456
2016-10-21 13:04:34 -07:00
Adam Barth
6a513ae913
Remove MojoServices from dart:ui ( flutter/engine#3161 )
...
We no longer offer mojo handles via this mechanism.
2016-10-20 20:27:07 -07:00
Chinmay Garde
bdcf84a5be
Remove DartConverter specializations for enums. Tonic provides a partial specialization for all enums. ( flutter/engine#3160 )
2016-10-20 16:47:42 -07:00
Adam Barth
a4f6c12e73
Update Skia ( flutter/engine#3157 )
2016-10-20 13:23:09 -07:00
Adam Barth
be5997bd3f
Switch engine over to platform messages ( flutter/engine#3153 )
...
This patch removes the use of the host messages mojom and switch all
message routing over to platform messages.
2016-10-19 22:36:00 -07:00
Adam Barth
8ff061dc92
Switch from char to uint8_t to represent memory ( flutter/engine#3147 )
...
Previously we had a mix of the two.
2016-10-19 16:49:36 -07:00