170 Commits

Author SHA1 Message Date
Chris Bracken
1fd2bd9850 Revert libtxt integration (flutter/engine#3802)
* Revert "Fix licenses_lib golden file (#3798)"

This reverts commit d8ac43c3c9123fead15af3004d1e445834115bbd.

* Revert "Remove ParagraphConstriants (#3796)"

This reverts commit 2358613f9b6e3f3eee70f1cbfd2af92d3c049475.

* Revert "Reland "Initial integration of libtxt with Flutter alongside Blink." (#3793)"

This reverts commit d9bc2f5604e5cfef7deef2f813751e0cd46a515d.
2017-06-20 09:59:56 -07:00
Chris Bracken
22674ba9e6 Eliminate ASL stdout forwarding on iOS (flutter/engine#3797)
ASL was deprecated in iOS 10 and started causing SIGPIPE issues in iOS
10.3. Under the iOS 8 SDK, syslog() stopped working as of iOS 10.3
devices, with the result that ASL stdout/stderr forwarding was the only
means of logging. The engine now builds against the iOS 10 SDK, with
deployment target of iOS 8. Under this SDK, syslog() works correctly
across all supported OS versions.

NOTE: This is a temporary fix to get developers unblocked. While this
does fix the SIGPIPE issue and put iOS logging on par with the Android
solution, the intent is to move to a dedicated communication channel
with flutter_tools that isn't log-based.
2017-06-19 18:10:30 -07:00
Gary Qian
2358613f9b Remove ParagraphConstriants (flutter/engine#3796) 2017-06-19 17:12:54 -07:00
Gary Qian
d9bc2f5604 Reland "Initial integration of libtxt with Flutter alongside Blink." (flutter/engine#3793)
* Transition to Hybrid lib/txt and blink text system.
2017-06-19 15:21:41 -07:00
Ryan Macnak
bbc94b95a5 [fuchsia] core-jit (flutter/engine#3753) 2017-06-19 12:12:18 -07:00
Ian Hickson
aefd77ae94 Allow infinite cull rects. (flutter/engine#3787) 2017-06-16 23:43:12 -07:00
Ian McKellar
756341be6e Revert "Initial integration of libtxt with Flutter alongside Blink." (flutter/engine#3785)
* Revert "Enable line join styles and miter limit. (#3777)"

This reverts commit cafd4b93a06b6d327f1bc59e296bf2c618eb34e4.

* Revert "Revert "Update switches to use StringView." (#3784)"

This reverts commit 5ffa5ef3a6b2c8689c7d12cd67b6823ba25783a5.

* Revert "Initial integration of libtxt with Flutter alongside Blink. (#3771)"

This reverts commit b4a9f9c6d5008f677400826dfa3a0ab30de3db23.
2017-06-16 15:15:48 -07:00
gspencergoog
cafd4b93a0 Enable line join styles and miter limit. (flutter/engine#3777)
* Add support for join types and miter limits.

* Fix miter limit data type.

* Adding some clearer documentation to painting.dart

* Clarifying more documentation.

* Code review changes

* Fixed debug printing of stroke width and miter limit

* Adding missing periods at the ends of sentences.
2017-06-16 14:48:16 -07:00
Gary Qian
b4a9f9c6d5 Initial integration of libtxt with Flutter alongside Blink. (flutter/engine#3771) 2017-06-16 14:15:53 -07:00
Michael Goderbauer
c49f348d7c Revert "Run Flutter on iOS and Android with color correct Skia (#3743)" (flutter/engine#3775)
This reverts commit bac6502d62a3ab3157147b3d53776c3f16000a31.
2017-06-14 16:26:20 -07:00
Michael Goderbauer
89ab65beea Adding SemanticsFlag.isSelected (flutter/engine#3764)
* Adding SemanticsFlag.isSelected

* typo
2017-06-09 15:58:30 -07:00
mattsarett
bac6502d62 Run Flutter on iOS and Android with color correct Skia (flutter/engine#3743)
* Run Flutter on iOS and Android with color correct Skia (#3716)

***Turns on color correct rendering for Android and iOS
***Communicates dst color space to raster cache
***Turns on color space aware image decoding

Test:
***color_testing_demo on Pixel XL
***flutter_gallery on iPad Mini and iPad Pro (haven't figured out how to run manual_tests on iOS)

TODO:
I needed to split up this CL somewhere. These are follow-up tasks.
***Make desktop backends color correct
***Make debugging tools (ex: encoding frames to png) preserve color space
***Investigate using UIKit API to allow iOS to fine tune color space of rendered content
2017-06-09 08:39:21 -04:00
Ryan Macnak
aa1c5cb32f Plumbing for a core snapshot with code (currently empty). (flutter/engine#3749) 2017-06-07 09:57:24 -07:00
Sarah Zakarias
0dd69f7b07 Add setInitialRoute on FlutterView. (flutter/engine#3727) 2017-06-06 10:59:41 +02:00
Ian Hickson
d4248e2e6c Add breadcrumbs from dart:ui to other docs. (flutter/engine#3741) 2017-06-05 20:06:40 -07:00
Chris Bracken
72b41db25f Log to stdout on all platforms except Android (flutter/engine#3739)
Fixes a Fuchsia breakage introduced in
710df81249922f6270a9ef078348d2492480794c.
2017-06-05 14:27:41 -07:00
Chinmay Garde
e61bff016b Revert "Run Flutter on iOS and Android with color correct Skia" (flutter/engine#3738) 2017-06-05 14:08:22 -07:00
mattsarett
73f8e1988e Run Flutter on iOS and Android with color correct Skia (flutter/engine#3716)
***Turns on color correct rendering for Android and iOS
***Communicates dst color space to raster cache
***Turns on color space aware image decoding

Test:
***color_testing_demo on Pixel XL
***flutter_gallery on iPad Mini and iPad Pro (haven't figured out how to run manual_tests on iOS)

TODO:
I needed to split up this CL somewhere. These are follow-up tasks.
***Make desktop backends color correct
***Make debugging tools (ex: encoding frames to png) preserve color space
***Investigate using UIKit API to allow iOS to fine tune color space of rendered content
2017-06-05 14:59:04 -04:00
Chris Bracken
3d69c9e24a Log to stdout in flutter_tester (flutter/engine#3728)
Fixes a regression introduced in
710df81249922f6270a9ef078348d2492480794c in flutter_tester on Linux.
2017-06-02 10:25:15 -07:00
Chris Bracken
710df81249 Simplify log forwarding on iOS, Android (flutter/engine#3726)
Eliminates logging to stdout on Android -- now using __android_log_print
only.

Eliminates logging to syslog on iOS -- now writing to stdout with the
existing ASL redirection (from platform_mac.mm) only. syslog() wasn't
ever picked up in logs.

This patch is a pre-factoring change before swapping out iOS engine
logging to a flutter-specific mechanism.
2017-06-02 09:32:08 -07:00
Chinmay Garde
8844a2f33b Ensure that gradient tile mode enum values in Dart match SkShader::TileMode. (flutter/engine#3721) 2017-06-01 12:18:13 -07:00
Zachary Anderson
a978b57e9e Stop passing ignored argument to snapshot script (flutter/engine#3723) 2017-06-01 12:09:14 -07:00
Chris Bracken
120a624660 Add inactive, suspending ApplicationLifecycleState values (flutter/engine#3713)
**This is a breaking change on iOS**

Previously, the `paused` state was entered when the application resigned
active status. `inactive` now maps to this status. `paused` now maps to
an app that has been backgrounded.

`inactive` is currently emitted on iOS only and corresponds to iOS's
foreground inactive state.

Current state transitions are:
`resumed` <--> `inactive` <--> `paused`

suspending is currently emitted on Android only and corresponds to the
transition to Android's stopped state.

Current state transitions are:
`resumed` <--> `paused` --> `suspending` --> `resumed`

These transitions may change in future.
2017-05-24 16:34:34 -07:00
Adam Barth
3d6a9d022a Add faster entry points for drawPoints and friends (flutter/engine#3712)
Fixes https://github.com/flutter/flutter/issues/10087
Fixes https://github.com/flutter/flutter/issues/10233
2017-05-24 13:19:44 -07:00
Jason Simmons
24d5ede97c Use a new Skia API for safe passing of images across threads and GrContexts (flutter/engine#3705)
Fixes https://github.com/flutter/flutter/issues/9439
2017-05-22 17:26:56 -07:00
Ian Hickson
767feb8735 Better onDrawFrame docs (flutter/engine#3704) 2017-05-22 12:30:54 -07:00
mattsarett
c2e3ef609a Add appropriate include file to canvas.cc (flutter/engine#3697)
This will ensure that the engine is not broken by a future
skia roll.
2017-05-17 15:19:51 -04:00
Ian Hickson
7ac614e395 Trivial fixes to dart:ui docs. (flutter/engine#3689) 2017-05-15 13:30:24 -07:00
Adam Barth
9b69c5db0a Solicit input about Canvas.drawPoints API break (flutter/engine#3693) 2017-05-15 10:07:10 -07:00
Adam Barth
5366eb0eb7 Add SkColorSpace to Picture.toImage() (flutter/engine#3691)
Skia doesn't actually create the image if we don't supply a color space.
2017-05-13 10:33:04 -07:00
Jason Simmons
1cc1f25bbf Add a flag that checkerboards offscreen render targets created by SkCanvas.saveLayer (flutter/engine#3685)
Fixes https://github.com/flutter/flutter/issues/9473
2017-05-11 15:00:16 -07:00
Ian Hickson
498a9da159 Add documentation to TileMode. (flutter/engine#3668) 2017-05-10 12:22:08 -07:00
Adam Barth
2f17f94b1d Add Picture.toImage (flutter/engine#3657)
Fixes https://github.com/flutter/flutter/issues/6774
2017-05-08 09:10:34 -07:00
Ian Hickson
fa260ad401 Correct the docs for Size.lerp. (flutter/engine#3653) 2017-05-06 21:07:13 -07:00
Ian Hickson
dbcef4b099 Some doc typos (flutter/engine#3647) 2017-05-04 22:42:04 -07:00
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