Dart_DebugName should be used just to make debug outputs more readable.
We remove the dependency from this API and form the UIDartState debug
name in the engine using the predefined format:
<script_uri>$main-<main_port>
This will allow the engine to change the format of the isolate name
without breaking the engine.
Related https://codereview.chromium.org/3004563003/
Without this, the cull rect calculated by an SkPicture may be truncated
to integer pixel coordinates. The raster cache relies on a precise cull
rect in logical coordinates.
See https://bugs.chromium.org/p/skia/issues/detail?id=6954
Both dart:core and dart:_internal export Symbol.
This is silently ignored by the VM but some tools (e.g. fasta) report a warning when processing dart:ui sources.
See https://github.com/dart-lang/sdk/issues/30127 for more details.
Compute the necessary texture resolution using more accurate scaling
information provided by Mozart scene node metrics events instead of the
device pixel ratio provided by the Mozart view properties (which we
might remove in the future).
This allows us to allocate smaller textures when a Flutter view is
being scaled down.
* Fix Flutter loading from dill files.
* Remove disable of causal async stacks.
* Include mirrors patch files as they are needed for release/profile gen_snapshot
* Free the bytes
* Add FTL_DCHECK
This action is triggered when the user swipes (in accessibility mode) to the last visible item of a scrollable list to bring that item fully on screen.
iOS implementation to follow.
* Revert "Revert "Reland "Run Flutter on iOS and Android with color correct Skia" (#3818)" (#3823)"
This reverts commit fdaab5c38fa82de669347508817b377285733946.
* Fix test code to match internal API change
* Build Flutter patched-sdk with kernel artifacts
* Switch to new dart_host_toolchain argument mechanism to let dart patch_sdk know of host_toolchain.
* Update dart dependency
* Updated licenses
* Rename dart dependencies tag so they have just 'dart_'-prefixed dart's names.
* Fix indentation and line breaks for newly added deps.
* Add toolchain for windows host
* Update dart revision
* Licenses
* Update licenses
* Revert changes to licenses_third_party
* preserve Window callback zones
Run Window callbacks in the zone they are registered in. This is consistent with how other native API work, such as `scheduleMicrotask`, `Timer`, and `dart:io`. This also enables the developers to use the `Zone` API to capture and log unhandled Dart errors.
* refactor wrapping
* new line
* fewer if checks; group getters/setters/fields
* inline _invokeOnPointerDataPacket
* Revert "Revert "Run Flutter on iOS and Android with color correct Skia (#3743)" (#3775)"
This reverts commit c49f348d7c4238d653e7f3bbb8ce7cfab0996ad1.
* Enable sRGB on IO thread, too
* Add 4444 as a fallback rendering mode
* Use bare ptr to SkColorSpace (not sk_sp) in PrerollContext
This attempts to make the Canvas API and some related features more
likely to throw a Dart exception than crash when exposed to bad input.
Depends on rolling tonic to
https://fuchsia-review.googlesource.com/c/35742/ which this patch does
not yet do, but I wanted to put it up for review to see if it was even
a reasonable approach.
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.
* 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.
* 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.
* 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