10264 Commits

Author SHA1 Message Date
skia-flutter-autoroll
baeec72b62 Roll Fuchsia Linux SDK from NC9pp... to 5R9a0... (flutter/engine#19639) 2020-07-10 00:36:01 -07:00
skia-flutter-autoroll
037381ecc7 Roll Skia from 4d48bb35972f to 9f821489c9f3 (4 revisions) (flutter/engine#19638) 2020-07-10 00:21:02 -07:00
skia-flutter-autoroll
69d7f17d68 Roll Skia from 16bf7d31c819 to 4d48bb35972f (32 revisions) (flutter/engine#19635) 2020-07-09 23:01:03 -07:00
nturgut
4815ac39ef using text capitalization value in web (flutter/engine#19564)
* using text capitalization value in web engine

* update editing state

* add capitalization support to autofill fields

* add autocapitalize attribute for mobile browsers which effects on screen keyboards

* removing changes on the input value. only keeping onscreen keyboard changes

* update unit tests. tests are added for ios-safari. android chrome is still not supported

* changing license files this time don't update LICENSES file

* Update licenses_flutter

* addresing reviewer comments
2020-07-09 20:25:51 -07:00
Kaushik Iska
a292cb8d21 [android] Pass synthesized eventType to VirtualDisplay platform views and fix memory leak (flutter/engine#19620) 2020-07-09 18:06:02 -07:00
Andre
402412982f Use identical in hashValues instead of operator== (flutter/engine#19615) 2020-07-09 20:29:33 -04:00
gaaclarke
26774fd70d Added the ability to set properties in interface builder for FlutterViewController. (flutter/engine#19458) 2020-07-09 17:23:32 -07:00
Robert Ancell
7dc1897fba Fix clipboard paste functionality not working (flutter/engine#19489) 2020-07-10 11:34:23 +12:00
Robert Ancell
2c9a7e1cd7 Fix documentation of unset platform view ID (flutter/engine#19320) 2020-07-10 11:17:14 +12:00
Robert Ancell
84ccba79fc Set locale in Linux shell (flutter/engine#19470) 2020-07-10 11:16:50 +12:00
Ferhat
13f0e9a583 [web] Update SurfacePath to use PathRef (flutter/engine#19557)
* Update SurfacePath to use PathRef
* Fix test analysis errors
* Switch DDRect to use path to reduce paint time processing
* Implement toString() for debug mode
* Fix contains (bounds inclusive) edge case, add test
* Update recording canvas test for drawDRRect change
* Update diffrate for arc/conic render change
* Add test for winding for beveled border. Fix checkOnCurve
* Fix mono quad winding on curve check
* fix _chopCubicAtYExtrema and add test case
* Address reviewer comments / setAll API usage
2020-07-09 13:55:39 -07:00
skia-flutter-autoroll
41990c5640 Roll Skia from 6669b0126705 to 16bf7d31c819 (6 revisions) (flutter/engine#19617) 2020-07-09 11:21:02 -07:00
stuartmorgan
f0c88b310c Implement cursor support for Windows (flutter/engine#19459)
Implements the basic engine support for Windows for
https://github.com/flutter/flutter/issues/31952
2020-07-09 11:18:39 -07:00
skia-flutter-autoroll
4b59548b6f Roll Fuchsia Linux SDK from 1oAHN... to NC9pp... (flutter/engine#19613) 2020-07-09 11:16:03 -07:00
Jason Simmons
9a39551dfb Clarify the relationship between PictureRecorder and Canvas (flutter/engine#19393) 2020-07-09 11:06:03 -07:00
Luigi Rosso
4185636e42 Add CanvasKit platform support for Skia.setResourceCacheMaxBytes. (flutter/engine#19254)
* Add CanvasKit platform support for Skia.setResourceCacheMaxBytes.
2020-07-09 10:12:24 -07:00
skia-flutter-autoroll
3f2befee63 Roll Skia from 473c9f4cd9b2 to 6669b0126705 (26 revisions) (flutter/engine#19614)
https://skia.googlesource.com/skia.git/+log/473c9f4cd9b2..6669b0126705

2020-07-08 bungeman@google.com Always check AutoFTAccess::face() for nullptr.
2020-07-08 johnstiles@google.com Update onMakeColorTypeAndColorSpace to consolidate color processors.
2020-07-08 johnstiles@google.com Update SkXfermodeImageFilter to consolidate color processors.
2020-07-08 herb@google.com Combine MakeOp and insertSubRunOpsIntoTarget
2020-07-08 jlavrova@google.com TextStyle::matchOneAttribute compares backgrounds even if they don’t exist
2020-07-08 zepenghu@google.com Use test font manager for SVG fuzzer
2020-07-08 herb@google.com don't produce empty SubRuns
2020-07-08 jlavrova@google.com Placeholders coming from flutter can have Inf sizes
2020-07-08 egdaniel@google.com Add option for client to own semaphores after telling to skia to wait.
2020-07-08 herb@google.com use clip as invariant instead of skipClip
2020-07-08 robertphillips@google.com Remove all internal uses of (and deprecate) SkSurface::getContext
2020-07-08 herb@google.com remove unused clipRect for distance field
2020-07-08 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update Go Deps
2020-07-08 robertphillips@google.com Remove SkCanvas::getGrContext calls from benches
2020-07-08 johnstiles@google.com Remove deprecated form of `asFragmentProcessor` method.
2020-07-08 johnstiles@google.com Add support for an inputFP in SkRuntimeColorFilter::asFragmentProcessor.
2020-07-08 nifong@google.com [canvaskit] Fix first frame measurement
2020-07-08 johnstiles@google.com Add support for an inputFP in SkHighContrast_Filter::asFragmentProcessor
2020-07-08 herb@google.com loop over SubRuns in GrRenderTargetContext
2020-07-08 fmalita@chromium.org [skottie] Auto-orient fixes
2020-07-08 jvanverth@google.com Replace remainder of HRESULT checks with macro
2020-07-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 8b80e852bd6c to 3688cb363ccd (9 revisions)
2020-07-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll dawn from 92554d75f354 to 7622be0544b0 (6 revisions)
2020-07-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from f6f11215cd93 to 28159ee9c8e3 (1 revision)
2020-07-08 robertphillips@google.com Update DDL test harness to use GrDirectContexts
2020-07-08 robertphillips@google.com Remove a Chrome staging flag

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 mtklein@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-07-09 08:51:12 -04:00
Justin McCandless
e52d9ab7fc Make DPAD movement consider grapheme clusters (flutter/engine#17420)
Moving the caret with the software Dpad now correctly considers complex characters.
2020-07-08 13:59:58 -07:00
gaaclarke
025b1cf4e9 Changed iOS channels to start cleaning up the accessibility handler when the bridge is deleted (flutter/engine#19556)
Started cleaning up the accessibility handler when the bridge is
deleted and made nilling out channels safer by making sure they don't
overwrite newly setup handlers.
2020-07-08 13:26:29 -07:00
Kaushik Iska
3239b704c3 Propoagate Tap events on Android hybrid views (flutter/engine#19608)
Translate the coordinate from global flutterview to the specific embedded sub-view.
2020-07-08 13:19:17 -07:00
Mouad Debbar
595c7b52d6 [web][1/3] Start first batch of auto-generated (already passing) tests for line break (flutter/engine#19586) 2020-07-08 12:06:00 -07:00
skia-flutter-autoroll
1133a7e8fa Roll Skia from b4d60f807dbd to 473c9f4cd9b2 (11 revisions) (flutter/engine#19594) 2020-07-08 04:49:02 -07:00
Dan Field
5abad59767 Call Dart_NotifyLowMemory more on iOS (flutter/engine#19289) 2020-07-08 04:44:03 -07:00
Chinmay Garde
91fc6696db Only attempt surface creation in viewDidLayoutSubviews if the application is active. (flutter/engine#19592)
UIKit does not guarantee that the application is in the active state when it
lays out it subviews. However, in `viewDidLayoutSubviews`, Flutter attempts to
create the render surface and wait for the first frame. These operations require
GPU access which is forbidden when in the background on iOS. This layout while
in the background only seems to happen under very specific circumstances as
described in the reproducible test case. Notably, this behavior cannot be
reproduced when the application is just launched with the "Background Fetch"
XCode run scheme. The other instance of invocations to create the rendering
surface have been audited and I can confirm that those are already in the
correct lifecycle callbacks. This was the only instance where the surface
creation was in a non-lifecycle callback.

Fixes https://github.com/flutter/flutter/issues/55969
(This issue has a clear reproducible test case and was used as the basis for
verification.)
Fixes https://github.com/flutter/flutter/issues/57676
(This is significantly harder to reproduce but the issue looks to be the same. I
tried this patch on multiple devices overnight and could not reproduce this.)

This underlying cause here was identified by the enhanced GPU error reporting
introduced in iOS 14. I am not able to submit those patches because the Beta
builders are not available on infra. I will submit those when available so that
issues like this have more actionable error messages in the future.
2020-07-07 17:14:01 -07:00
Harry Terkelsen
7a175320be [CanvasKit] Dispose the overlay surface when a platform view is disposed (flutter/engine#19546) 2020-07-07 14:32:20 -07:00
skia-flutter-autoroll
e211d6fbca Roll Skia from cf5e35f72130 to b4d60f807dbd (5 revisions) (flutter/engine#19587) 2020-07-07 13:09:03 -07:00
Chase Latta
cdf666d945 include list_libraries.dart as a snapshot for fuchsia (flutter/engine#19567) 2020-07-07 11:16:50 -07:00
Jonah Williams
1d7175d157 switch const finder to package_config (flutter/engine#19576)
Generate package config during gclient runhooks and update BUILD.gn to reference it
2020-07-07 10:31:01 -07:00
skia-flutter-autoroll
992c2aeac9 Roll Skia from 0c0d8dd6d637 to cf5e35f72130 (13 revisions) (flutter/engine#19573) 2020-07-07 09:24:02 -07:00
Kaushik Iska
e365786b0d kick build (flutter/engine#19575) 2020-07-07 09:05:29 -07:00
skia-flutter-autoroll
9215df42ac Roll Skia from 6130d5079d55 to 0c0d8dd6d637 (3 revisions) (flutter/engine#19570) 2020-07-07 08:04:02 -07:00
James Clarke
71dafa45b1 Refactor Win32FlutterWindow in preparation for UWP windowing implementation (flutter/engine#18878)
* Add flutter_windows_view and window_binding_handler

Switch input handling infra to FlutterWindowsView

win32_flutter_window implement WindowBindingHandler

Strip unneeded functionality from win32flutterwindow

Fulfill WindowBindingHandler interface in Win32FlutterWindow

Add implementations for missing input handling in Win32FlutterWindow

Cleanup dead code

Correctly hook up rendering again

Fix resizing

clang-format

Fix clipboard

Cleanup

Rename

Add comments

cleanup

* clang-format

* CR Feedback

* clang-format; gn format

* Fix licensing

* CR feedback

* CR feedback

* CR feedback

* Git rid of unnecessar :: prefixes

* Extract WindowBindingHandlerDelegate as an interface

* Missing file

* Extract physical window bounds as a struct

* CR Feedback

* CR feedback

* clang-format

Co-authored-by: Stuart Morgan <stuartmorgan@google.com>
2020-07-07 06:49:51 -07:00
Kaushik Iska
8818677dfd Track motion events for reuse post gesture disambiguation (flutter/engine#19484)
This change makes it so that we track all the motion events encountered by `FlutterView` and all of its subviews in the `MotionEventTracker` class, indexed by a unique `MotionEventId`. This identifier is then passed to the Flutter framework as seen in https://github.com/flutter/flutter/pull/60930. Once the gestures take part in gesture disambiguation and are sent back to the engine, we look-up the original motion event using the `MotionEventId` and dispatch it to the platform.

Bug: https://github.com/flutter/flutter/issues/58837
2020-07-06 22:22:37 -07:00
Emmanuel Garcia
f9ad019129 Resubmit frame when the surface is switched (flutter/engine#19555) 2020-07-06 21:55:52 -07:00
skia-flutter-autoroll
c688ca99bc Roll Fuchsia Linux SDK from TvWbh... to 1oAHN... (flutter/engine#19566) 2020-07-06 21:39:02 -07:00
skia-flutter-autoroll
3ec352390b Roll Skia from ac45f499af46 to 6130d5079d55 (1 revision) (flutter/engine#19559) 2020-07-06 19:24:02 -07:00
Emmanuel Garcia
ea1c94ff13 Add @Keep annotation to FlutterMutatorsStack (flutter/engine#19560) 2020-07-06 18:23:47 -07:00
Ferhat
d278b259b5 [web] Move surface path code (flutter/engine#19533)
* Move surface path code
* Update licenses_flutter
* dartfmt
2020-07-06 17:02:30 -07:00
skia-flutter-autoroll
a8ff619991 Roll Skia from b827e97d2bab to ac45f499af46 (26 revisions) (flutter/engine#19552) 2020-07-06 16:54:02 -07:00
Emmanuel Garcia
ecc2f07d06 Switch to FlutterSurfaceView if no Android view is in the frame (flutter/engine#19487) 2020-07-06 14:51:46 -07:00
Sanjay Chouksey
973753d800 Switch view_holder flags (flutter/engine#19538)
The view_holder SetProperties and UpdateScene had incorrectly
specified flags for focusable and hit_testable. This change
fixes the order, similar to how child_scene_layer specifies it.

Co-authored-by: Sanjay Chouksey <sanjayc@google.com>
2020-07-06 14:36:11 -07:00
Jason Simmons
510a29622a Pin the version of meta used by web_ui (flutter/engine#19544)
The latest version of meta now exports "unawaited", which conflicts with the
version of test_api currently used by web_ui.
2020-07-06 14:16:14 -07:00
Brian Osman
56b4fdf9e0 Add missing GrContext.h include (flutter/engine#19528)
This is an IWYU change that unblocks some Skia API shuffling.
2020-07-06 16:53:23 -04:00
David Worsham
cdcae6aa9c fuchsia: Remove dead flutter_frontend_server code (flutter/engine#19500) 2020-07-06 13:09:05 -07:00
skia-flutter-autoroll
5d162188b9 Roll Skia from 52a4379f03f7 to b827e97d2bab (3 revisions) (flutter/engine#19524) 2020-07-06 08:24:04 -07:00
skia-flutter-autoroll
b085f82a28 Roll Fuchsia Linux SDK from TizBd... to TvWbh... (flutter/engine#19509) 2020-07-06 08:19:02 -07:00
skia-flutter-autoroll
1810e83e8c Roll Fuchsia Linux SDK from tu9Py... to TizBd... (flutter/engine#19506) 2020-07-05 03:13:02 -07:00
skia-flutter-autoroll
07e178cede Roll Skia from 733666b3be3b to 52a4379f03f7 (1 revision) (flutter/engine#19502) 2020-07-04 14:43:03 -07:00
skia-flutter-autoroll
010579335e Roll Skia from 0106fcc8a733 to 733666b3be3b (11 revisions) (flutter/engine#19498) 2020-07-04 13:23:04 -07:00
skia-flutter-autoroll
fcce15f84c Roll Fuchsia Linux SDK from kibil... to tu9Py... (flutter/engine#19488) 2020-07-04 13:13:02 -07:00