10766 Commits

Author SHA1 Message Date
Jason Simmons
1945052c8e Remove image sizes from Picture::GetAllocationSize (flutter/engine#20673) 2020-08-21 16:26:02 -07:00
David Worsham
e335891caf fuchsia: Rollback broken SDK and re-enable test (flutter/engine#20699)
https://github.com/flutter/flutter/issues/64343
2020-08-21 16:05:36 -07:00
David Worsham
ee6a9a8755 fuchsia: Disable flaky test (flutter/engine#20697) 2020-08-21 12:26:15 -07:00
David Worsham
618e8bae25 fuchsia: Fix elevation issues (flutter/engine#20681) 2020-08-21 11:57:09 -07:00
skia-flutter-autoroll
c535ccba11 Roll Fuchsia Linux SDK from LhYt1i9FP... to veVL2IxV1... (flutter/engine#20695) 2020-08-21 09:16:01 -07:00
skia-flutter-autoroll
878d5eedb4 Roll Skia from 141ec1a151a9 to d7389b003ab9 (1 revision) (flutter/engine#20693) 2020-08-21 08:56:04 -07:00
skia-flutter-autoroll
663aa50834 Roll Skia from 6f0d302d331f to 0c9a6e702d99 (3 revisions) (flutter/engine#20685) 2020-08-21 00:16:01 -07:00
skia-flutter-autoroll
f51ad7fedb Roll Skia from b9af723001b7 to 6f0d302d331f (1 revision) (flutter/engine#20683) 2020-08-20 22:51:02 -07:00
Greg Spencer
a0f5e6c7aa Fix the format script so that it works with deleted files. (flutter/engine#20679)
When I rewrote the format script, I forgot to filter out deleted files from the list of files that it looks at. This filters the file list to exclude deleted files
2020-08-20 19:03:12 -07:00
Chris Yang
23e891ddc8 Enable ios platform view by default (flutter/engine#20671) 2020-08-20 17:46:01 -07:00
stuartmorgan
ab823bd15e [windows] Mostly eliminate the state structs (flutter/engine#20662)
The Windows embedding was based on the GLFW embedding, which grew
organically from a singe-file implementation that used structs to manage
all of the important state. It is in the process of being converted to a
cleaner object-based architecture, but currently it is a hybrid of
objects and structs that have redundant data, making it very prone to
errors of forgetting to update pointers in multiple locations.

This reduces the remaining structs to only a single pointer to the
larger object that manages the responsibilities that handle is
associated with, so that there is no need to wire things together in
multiple places.

For now they continue to exist as projections of the larger objects, but
that will be eliminated over time by having an object structure that
better reflects the API structure.

Fixes https://github.com/flutter/flutter/issues/64250
2020-08-20 16:50:06 -07:00
skia-flutter-autoroll
cee423eb73 Roll Skia from 3dc0da6c6d7e to b9af723001b7 (17 revisions) (flutter/engine#20675) 2020-08-20 16:41:02 -07:00
Srujan Gaddam
d9c5ff0499 Add null checks for CanvasElement attributes (flutter/engine#20580)
Changes in processing compatibility info in dart:html requires
these getters to be null-checked.
2020-08-20 15:50:01 -07:00
Kaushik Iska
2021143b42 All shape related structs are together (flutter/engine#20665) 2020-08-20 15:21:02 -07:00
skia-flutter-autoroll
c398892725 Roll Skia from e1e240804211 to 3dc0da6c6d7e (4 revisions) (flutter/engine#20661) 2020-08-20 15:16:02 -07:00
skia-flutter-autoroll
3bccc5dcb7 Roll Fuchsia Linux SDK from 57GPNeoZ7... to LhYt1i9FP... (flutter/engine#20658) 2020-08-20 15:11:01 -07:00
stuartmorgan
f6ff52c644 Use references for C++ MethodResult and EventSink (flutter/engine#20651)
The response APIs for method channels and event channels used pointers
for optional parameters; this kept the API surface simple, but meant
that they couldn't take rvalues. As a result, returning success values
or error details often took an extra line, declaring a variable for the
result just to have something to pass the address of.

This converts them to using references, with function overloading to
allow for optional parameters, so that values can be inlined.

For now the pointer versions are still present, so that conversion can
be done before it becomes a breaking change; they will be removed soon.

Part of https://github.com/flutter/flutter/issues/63975
2020-08-20 15:10:28 -07:00
Zachary Anderson
e9fcab4436 Revert "account for inline placeholders in longest line calculation (#20370)" (flutter/engine#20669)
This reverts commit fd97c2487f24ef5f82fe240b6bb19f9a48939922.

Landing on red to fix the build.
2020-08-20 12:35:48 -07:00
skia-flutter-autoroll
055944e768 Roll Skia from 17c5b7024297 to e1e240804211 (20 revisions) (flutter/engine#20656)
Manual land of roll - two bots on luci-engine are red due to flakes.

https://skia.googlesource.com/skia.git/+log/17c5b7024297..e1e240804211

2020-08-20 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from ff3c275665f9 to e45f0c4dce5a (503 revisions)
2020-08-20 skia-autoroll@skia-public.iam.gserviceaccount.com Roll dawn from b54c82ed3948 to eff9ef0f2212 (2 revisions)
2020-08-20 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 699bcde0b729 to 5dff6075d29f (19 revisions)
2020-08-20 mtklein@google.com Revert "Add utilities to SkGeometry for quad and cubic rotation angles"
2020-08-20 mtklein@google.com Revert "remove sksl interpreter guards"
2020-08-20 ethannicholas@google.com Revert "Added support for the 'inline' hint on SkSL functions"
2020-08-20 ethannicholas@google.com Revert "SkSL CPP and H backends no longer emitted in non-dev builds"
2020-08-20 ethannicholas@google.com Revert "SkSL now supports uniform array types"
2020-08-19 csmartdalton@google.com Move GrWangsFormula::nextlog2 to sk_float_nextlog2
2020-08-19 johnstiles@google.com Remove final vestiges of sk_InColor.
2020-08-19 ethannicholas@google.com SkSL now supports uniform array types
2020-08-19 csmartdalton@google.com Add utilities to SkGeometry for quad and cubic rotation angles
2020-08-19 mtklein@google.com update placeholder approx op count
2020-08-19 johnstiles@google.com Remove sk_InColor from unit tests.
2020-08-19 adlai@google.com Remove GrContext variant of SkImageGenerator::isValid
2020-08-19 johnstiles@google.com Fix simplification of switch statements with casts.
2020-08-19 reed@google.com pass 'nested' bool to approximateOpCount
2020-08-19 mtklein@google.com clean up SK_LATE_DITHER
2020-08-19 ethannicholas@google.com Added support for the 'inline' hint on SkSL functions
2020-08-19 mtklein@google.com remove sksl interpreter guards

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC stani@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2020-08-20 10:12:21 -04:00
Greg Spencer
a38b72119b Clean up scenario app scripts (flutter/engine#20641)
I just made a pass on the scenario scripts so that they can be more easily run from the scenario directory, set the ANDROID_HOME correctly, and generally fixed lint errors.

Also compile_android_aot.sh didn't appear to work, and I think I fixed it (it builds now).
2020-08-19 19:14:38 -07:00
David Worsham
3a6e0d47c6 fuchsia: Convert legacy permutations to build flag (flutter/engine#20647) 2020-08-19 19:09:51 -07:00
godofredoc
b731070351 Adds all the engine builders to the file used to validate tree status. (flutter/engine#20642)
Builders are read from a json file to get their last builds using
buildbucket and calculate the tree status. Some builders were not being
used for the tree status validation allowing rollers to land changes
even though some builders were failing.

Bug:
  https://github.com/flutter/flutter/issues/64061
2020-08-19 18:39:38 -07:00
Emmanuel Garcia
9192bb89fd Reland: Add android scenarios presubmit task. 2020-08-19 17:36:03 -07:00
James Clarke
a1d268a61b Fix flutter#40068 Redraw issues on resize/minimize/maximize on Windows and startup in release (flutter/engine#20357)
* Fix redraw issues

* Address CR feedback.

* Fix build

* CR feedback
2020-08-19 16:19:09 -07:00
skia-flutter-autoroll
10d08a4860 Roll Fuchsia Linux SDK from zbH5QA8Qz... to 57GPNeoZ7... (flutter/engine#20639) 2020-08-19 16:11:01 -07:00
Kaushik Iska
a8c392e6b8 [embedder] Add FBO callback that takes frame info (flutter/engine#20617) 2020-08-19 16:06:02 -07:00
Dan Field
5e03f90cdd fix build (flutter/engine#20644) 2020-08-19 14:35:45 -07:00
skia-flutter-autoroll
48c6da7f6d Roll Skia from 4a56f4c29ec5 to 17c5b7024297 (2 revisions) (flutter/engine#20631) 2020-08-19 14:16:01 -07:00
Jason Simmons
72dabb020d Release the AccessibilityBridge when destroying a legacy FlutterView (flutter/engine#20610) 2020-08-19 14:11:02 -07:00
chunhtai
df10c2b3b4 Missing default focus when navigating to a page with no SemanticsNode that sets namesRoute:true (flutter/engine#20516) 2020-08-19 14:06:03 -07:00
Dan Field
73490a2ca4 Hint freed (flutter/engine#19842)
* Hint the VM when a layer or picture goes out of scope
2020-08-19 14:04:31 -07:00
nturgut
2919c3bbef updating editing state after location change. focusing on the element (flutter/engine#20620) 2020-08-19 14:03:30 -07:00
nturgut
7d3b44dd47 [web] update chrome version (flutter/engine#20470)
* update chrome version, should be merged after recipe changes

* changing directory to use chrome driver in LUCI

* changing directory path's order

* add cipd packages's chrome version for mac

* addressing reviewer comments

* more documentation. update readme

* remove late since it didn't build. remove distinction in paths for local and LUCI.

* addressing reviewer comments. (non-null fields needs rechanging)

* addressing reviewer comments. adding 2.6 on files missing the notation
2020-08-19 12:28:44 -07:00
egdaniel
0ee7007d63 Remove use of ctors on Skia Vulkan struct (flutter/engine#20630)
Skia is removing the ctors on these structs so removing them.
2020-08-19 13:18:25 -04:00
Stas Parshin
fa3e19be27 Fix NPE in PlatformViewsController.checkInputConnectionProxy (flutter/engine#20622) 2020-08-19 08:34:04 -07:00
Chris Yang
72162b7a66 Ensure threads are merged when tearing down the Rasterizer (flutter/engine#19919) 2020-08-19 08:31:01 -07:00
stuartmorgan
bb04632eeb [windows] Allow delegation of top-level WindowProc (flutter/engine#20613)
Adds APIs for runners to delegate WindowProc handlers into the Flutter
engine, and for plugins to register as possible delegates.

This allows for plugins to alter top-level window behavior in ways that
can only be done from the WindowProc, such as resize control. This
functionality remains entirely on the native side, so is synchronous.

Part of https://github.com/flutter/flutter/issues/53168
2020-08-19 06:49:39 -07:00
skia-flutter-autoroll
8e45d2ed9e Roll Skia from 81eabce6a3af to 356838b9f8c0 (4 revisions) (flutter/engine#20623) 2020-08-19 00:46:02 -07:00
skia-flutter-autoroll
6912fd88bb Roll Fuchsia Linux SDK from Hx7fWXONL... to zbH5QA8Qz... (flutter/engine#20621) 2020-08-18 23:26:02 -07:00
skia-flutter-autoroll
eaa29167ff Roll Skia from 59a3c3be94f0 to 81eabce6a3af (1 revision) (flutter/engine#20618) 2020-08-18 23:21:01 -07:00
Dan Field
431323d512 Make const_finder work with implemented and extended classes (flutter/engine#20614) 2020-08-18 23:16:03 -07:00
Mouad Debbar
8f6c340c7b [web] Prepare for read-only input fields (flutter/engine#20520) 2020-08-18 23:11:02 -07:00
Greg Spencer
0764e7cf1a Remove doc comments in copied web interfaces (flutter/engine#20494)
* Remove doc comments in copied web interfaces

* Whitespace changes to improve readability
2020-08-18 17:15:16 -07:00
David Worsham
8b4e07c198 fuchsia: Increase timeout for flaky test (flutter/engine#20606) 2020-08-18 17:14:30 -07:00
Yegor
a18f17805c rename "compositor"/"surface" to "canvaskit"/"html"; document conventions (flutter/engine#20579)
* rename "compositor"/"surface" to "canvaskit"/"html"; document conventions
2020-08-18 13:30:58 -07:00
Greg Spencer
c001ea6f4a Convert format script to Dart (flutter/engine#20572)
This converts the ci/format.sh script to a Dart script that uses process_runner and isolates to multi-process the clang-format, diffs, and grepping needed to do the formatting changes.

It also will (by default) only check the formatting of changed files.

The user can optionally check all files (--all-files) or do only some types of checks with --check. --verbose prints the versions of the tools used for Clang format and Java format.

Specifying --fix will cause any formatting errors that would have been detected to be fixed.
2020-08-18 13:25:30 -07:00
Chase Latta
5f7105f763 convert zircon and fuchsia to null-safety (flutter/engine#20577) 2020-08-18 13:15:00 -07:00
skia-flutter-autoroll
ff3065a957 Roll Skia from a5a97b4858fb to 59a3c3be94f0 (3 revisions) (flutter/engine#20603) 2020-08-18 13:06:03 -07:00
skia-flutter-autoroll
f244d02e0b Roll Skia from afbf899cf1e2 to a5a97b4858fb (1 revision) (flutter/engine#20600) 2020-08-18 11:36:02 -07:00
skia-flutter-autoroll
beb63da9ac Roll Skia from a8b16365f92a to afbf899cf1e2 (7 revisions) (flutter/engine#20595) 2020-08-18 10:01:03 -07:00