Adam Barth
52247beb87
Make microtask queue be per thread ( flutter/engine#3644 )
...
Previously, it was a static. Doesn't have much effect in practice because we
only use this microtask queue for main isolates, which exist on a single
thread.
2017-05-04 15:06:43 -07:00
Jason Simmons
15e0d127bd
Change the shadow elevation parameter to floating point ( flutter/engine#3637 )
2017-04-27 10:52:13 -07:00
Jason Simmons
11b6cb10f7
Add a second per-frame callback that is invoked after the microtask queue is drained ( flutter/engine#3632 )
...
See https://github.com/flutter/flutter/issues/7626
2017-04-27 10:23:46 -07:00
Mikkel Nygaard Ravn
39b70c07cd
Revert "Remove unused import ( #3620 )" ( flutter/engine#3621 )
...
This reverts commit f99f9f749acc3dde33ac3cefdbae09ecb19f2204.
2017-04-22 14:26:08 +02:00
Mikkel Nygaard Ravn
f99f9f749a
Remove unused import ( flutter/engine#3620 )
2017-04-22 14:16:13 +02:00
Adam Barth
6debd47af2
Rename library to dart.ui ( flutter/engine#3608 )
...
This name is consistent with how the other `dart:` libraries are named now.
2017-04-19 09:56:22 -07:00
Ian Hickson
74b56314ea
Remove the Point class. ( flutter/engine#3567 )
...
* Remove the Point class.
* Add Size.contains and Rect.translate for consistency
* Make Offset and Size compare == with subclasses.
Without this we would break the _DebugSize hack.
* Fix copy/pasta
* Fix the examples in the engine repo
2017-04-12 13:45:46 -07:00
Ryan Macnak
32cd986649
AOT for Fuchsia. ( flutter/engine#3570 )
2017-04-11 14:53:14 -07:00
Ryan Macnak
ec2be075b2
Adjust GN for removal of libdart, take two. ( flutter/engine#3584 )
...
Update targets only included in host_debug_unopt.
2017-04-11 09:52:54 -07:00
Ryan Macnak
e869784502
Revert "Adjust GN for removal of libdart. ( #3583 )"
...
This reverts commit bb091fd4558c3807e86fe518d036504ebc37bb72.
2017-04-10 17:07:28 -07:00
Ryan Macnak
bb091fd455
Adjust GN for removal of libdart. ( flutter/engine#3583 )
2017-04-10 16:42:27 -07:00
Mikkel Nygaard Ravn
12745a7b02
Distinguish between null platform message and one with zero-byte payload ( flutter/engine#3577 )
2017-04-09 00:07:28 +02:00
Seth Ladd
a01fe0728c
link to image in github ( flutter/engine#3572 )
2017-04-07 11:14:57 -07:00
Chinmay Garde
e09b1a579c
Roll Skia to 45a00cee88c0ea8ea175694cb94b26748713fe36 and update licenses. ( flutter/engine#3569 )
2017-04-06 11:49:36 -07:00
Jason Simmons
170e33000f
Use the SkVertices::Builder API ( flutter/engine#3549 )
2017-03-31 15:16:45 -07:00
Jason Simmons
fc666c4b62
Remove dart:jni ( flutter/engine#3546 )
...
Fixes https://github.com/flutter/flutter/issues/9129
2017-03-31 13:07:52 -07:00
Jason Simmons
829c6e4283
Include build_config (for OS_ANDROID) in image_decoding.cc ( flutter/engine#3537 )
2017-03-28 18:25:28 -07:00
Florin Malita
ce2f9c15b7
Roll Skia revision to 342977ced701d06df2b3d2eedd8b64aeae1eb5c5 ( flutter/engine#3523 )
...
* Roll Skia revision to 342977ced701d06df2b3d2eedd8b64aeae1eb5c5
* Updated license files
2017-03-28 10:25:02 -07:00
Jason Simmons
b7bbd71f79
Update Canvas.drawVertices to match Skia's latest interface ( flutter/engine#3505 )
...
Fixes https://github.com/flutter/flutter/issues/8809
2017-03-24 10:40:19 -07:00
Chinmay Garde
6ff5a41327
Remove uses of //base from all //flutter projects and replace them with //fml variants. ( flutter/engine#3492 )
2017-03-22 15:42:51 -07:00
Seth Ladd
502a1ed9ca
link from Color to Colors ( flutter/engine#3494 )
...
* link from Color to Colors
* from review
2017-03-22 11:17:16 -07:00
Hans Muller
6a452f9ebd
Color operator== should compare runtimeTypes ( flutter/engine#3495 )
2017-03-22 10:58:03 -07:00
Jason Simmons
6daf9aeefd
Canvas.drawShadow API based on SkShadowUtils::drawShadow ( flutter/engine#3486 )
2017-03-20 14:17:47 -07:00
Chris Bracken
c7a35cdc80
dart_runtime_hooks: revert to syslog() call ( flutter/engine#3484 )
...
Fixes buildbot error use of undeclared identifier 'asl_log_message',
which I'm unable to repro locally.
2017-03-16 19:09:39 -07:00
Chris Bracken
b4f50b27ce
Perform all iOS logging through ASL ( flutter/engine#3481 )
...
* Perform all iOS logging through ASL
As of iOS 10, ASL is deprecated and replaced with os_log. ASL calls
continue to result in logging but as of iOS 10.3, only ASL_LOG_NOTICE
level and above are logged.
This change partially reverts d67972d649157582358876f90a99577cb3708e82,
adding back stdout and stderr redirection, which resulted in loss of
some direct writes to stdout that were necessary for debugging.
This change replaces the direct use of syslog with ASL on iOS, which
Apple has stated will continue to log on iOS >= 10. This eliminates the
need for the previous fwd-declaration of syslog.
2017-03-16 18:50:33 -07:00
Brian Osman
45b19efda8
Do legacy image decoding for now ( flutter/engine#3480 )
2017-03-15 14:31:05 -07:00
Adam Barth
51af4a7f08
Introduce OffsetBase.isFinite ( flutter/engine#3472 )
...
This property will eventually replace OffsetBase.isInfinite.
See https://github.com/flutter/flutter/issues/4301
2017-03-14 10:26:31 -07:00
Jason Simmons
5976337c94
Do a glFlush after creating textures on the IO thread before they are used by the GPU thread ( flutter/engine#3456 )
...
Fixes https://github.com/flutter/flutter/issues/8431
2017-02-28 15:50:02 -08:00
Jason Simmons
3e7ecdc1e7
Physical model layer that can draw shadows for a Material widget ( flutter/engine#3424 )
2017-02-16 17:30:57 -08:00
Chinmay Garde
7e31feadc0
Remove texture image. ( flutter/engine#3434 )
2017-02-16 16:26:02 -08:00
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