13002 Commits

Author SHA1 Message Date
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
2550e3fb7c Roll Dart SDK from 4301899ed5b3 to 69aba23371ff (14 revisions) (flutter/engine#19507) 2020-07-05 11:13:03 -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
97451eadb5 Roll Fuchsia Mac SDK from s4lA_... to _Na1L... (flutter/engine#19505) 2020-07-05 02:23: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
a860a3a055 Roll Fuchsia Mac SDK from 9Xk9p... to s4lA_... (flutter/engine#19492) 2020-07-04 13:18:02 -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
skia-flutter-autoroll
0ec900f9e6 Roll Dart SDK from cffeac78f98c to 4301899ed5b3 (1 revision) (flutter/engine#19486) 2020-07-04 13:08:02 -07:00
Chris Yang
cf4d2e25d9 Implement mutator stack on Android hybrid composition platform view (flutter/engine#19426) 2020-07-04 13:03:04 -07:00
renyou
5419a5279c Revert "Add tests & --unopt to build_fuchsia_artifacts (#18625)" (flutter/engine#19494)
This reverts commit 6fd117d1ae77c04d7f7a035d9b3da7b7f7170088.
2020-07-03 13:26:19 -07:00
renyou
244cd97aa1 Revert "fuchsia: Fix profile build (#19399)" (flutter/engine#19493)
This reverts commit 6050fa29e3ac93fbf2f0368685ac7a1abae69838.
2020-07-03 13:26:00 -07:00
skia-flutter-autoroll
8d79611175 Roll Fuchsia Mac SDK from bigQ3... to 9Xk9p... (flutter/engine#19485) 2020-07-02 17:08:03 -07:00
skia-flutter-autoroll
1e206a120e Roll Dart SDK from c190fc3a31e7 to cffeac78f98c (3 revisions) (flutter/engine#19483) 2020-07-02 14:43:02 -07:00
Robert Ancell
6d6143c30f Use the X visual from the EGL configuration when making an FlView. (flutter/engine#19438) 2020-07-03 09:37:51 +12:00
Kaushik Iska
0c152b8320 Synthesize touch events for hybrid views (flutter/engine#19427)
Co-authored-by: Kaushik Iska <kaushikiska@google.com>
2020-07-02 12:31:30 -07:00
Kaushik Iska
8b90d16e3c FlutterView will hadle dispatching all touch events to sub-views (flutter/engine#19482) 2020-07-02 12:31:10 -07:00
skia-flutter-autoroll
2d0346d45a Roll Dart SDK from 28a3cd203923 to c190fc3a31e7 (5 revisions) (flutter/engine#19481) 2020-07-02 10:33:03 -07:00
Sanjay Chouksey
0e08bbd4fd Set child_layer_exists_below flag for Fuchsia PlatformViewLayer (flutter/engine#19462)
This enables proper compositing of surfaces with elevation over
a PlatformViewLayer.

Co-authored-by: Sanjay Chouksey <sanjayc@google.com>
2020-07-02 10:27:36 -07:00
skia-flutter-autoroll
14c734575c Roll Fuchsia Linux SDK from 34sZm... to kibil... (flutter/engine#19479) 2020-07-02 09:13:03 -07:00
skia-flutter-autoroll
5712f06e81 Roll Dart SDK from 8afe9875a6d7 to 28a3cd203923 (2 revisions) (flutter/engine#19476) 2020-07-02 06:08:03 -07:00
skia-flutter-autoroll
69e15f97fd Roll Fuchsia Mac SDK from 4MMwM... to bigQ3... (flutter/engine#19475) 2020-07-02 03:18:01 -07:00
skia-flutter-autoroll
4071b5946b Roll Dart SDK from f8ff12008e84 to 8afe9875a6d7 (1 revision) (flutter/engine#19472) 2020-07-02 01:43:02 -07:00
skia-flutter-autoroll
7ae5deb915 Roll Dart SDK from 6b4fe2fb78f6 to f8ff12008e84 (17 revisions) (flutter/engine#19469) 2020-07-01 20:03:03 -07:00
Yegor
078629ad1e First batch of CanvasKit bindings using @JS (flutter/engine#19450)
* first batch of @JS bindings
2020-07-01 18:30:58 -07:00
skia-flutter-autoroll
b83e178fc7 Roll Skia from b5f7a07b77b4 to 0106fcc8a733 (1 revision) (flutter/engine#19463) 2020-07-01 17:43:04 -07:00
skia-flutter-autoroll
f1497c4ee5 Roll Fuchsia Linux SDK from Pcug7... to 34sZm... (flutter/engine#19461) 2020-07-01 16:58:03 -07:00
skia-flutter-autoroll
3bf5bf702d Roll Skia from b7bfbc299aae to b5f7a07b77b4 (11 revisions) (flutter/engine#19460) 2020-07-01 16:23:02 -07:00
skia-flutter-autoroll
901d13f986 Roll Dart SDK from 63feed82e1b1 to 6b4fe2fb78f6 (12 revisions) (flutter/engine#19457) 2020-07-01 16:18:03 -07:00
Guruji Panda
cf740767d5 Fix paths in source and yaml files to minimize changes in google3 (flutter/engine#19414) 2020-07-01 16:13:03 -07:00
Robert Ancell
4ffa68b795 Show EGL configuration debugging when fail to create surface/context (flutter/engine#19397) 2020-07-02 09:35:00 +12:00
Jacob MacDonald
ebed95fb81 add collection rev variable to DEPS so it gets rolled by the auto roller (flutter/engine#19452) 2020-07-01 13:50:03 -07:00
skia-flutter-autoroll
412cc96eb7 Roll Fuchsia Mac SDK from avEUl... to 4MMwM... (flutter/engine#19453) 2020-07-01 13:08:02 -07:00
Mehmet Fidanboylu
d65d633421 Fix wrong licensing in engine (flutter/engine#19439) 2020-07-01 12:23:03 -07:00
skia-flutter-autoroll
27bc6b32fb Roll Skia from d2f870c91102 to b7bfbc299aae (4 revisions) (flutter/engine#19451) 2020-07-01 12:08:03 -07:00
skia-flutter-autoroll
f4ae72ccc2 Roll Skia from e381036051eb to d2f870c91102 (1 revision) (flutter/engine#19449) 2020-07-01 10:48:02 -07:00