10233 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
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
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
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
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
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
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
skia-flutter-autoroll
4626591b72 Roll Skia from 16ee98ddeda3 to e381036051eb (2 revisions) (flutter/engine#19448) 2020-07-01 09:28:02 -07:00
skia-flutter-autoroll
409efb94f8 Roll Fuchsia Linux SDK from TbmMK... to Pcug7... (flutter/engine#19443) 2020-07-01 03:38:01 -07:00
skia-flutter-autoroll
698a62812a Roll Skia from 400ba22f4564 to 16ee98ddeda3 (4 revisions) (flutter/engine#19440) 2020-06-30 23:43:01 -07:00
skia-flutter-autoroll
1efe2b44ad Roll Skia from 492558a10db6 to 400ba22f4564 (3 revisions) (flutter/engine#19437) 2020-06-30 22:18:02 -07:00
skia-flutter-autoroll
533c7f7ffb Roll Skia from 1e6460d552f7 to 492558a10db6 (2 revisions) (flutter/engine#19434) 2020-06-30 20:03:02 -07:00
Emmanuel Garcia
af66026f31 Revert unintended change (flutter/engine#19435) 2020-06-30 19:48:01 -07:00
Emmanuel Garcia
59e05c0376 Update scenario UI screenshoots (flutter/engine#19421) 2020-06-30 18:38:06 -07:00
skia-flutter-autoroll
4103b57c66 Roll Skia from 746460e25a1e to 1e6460d552f7 (8 revisions) (flutter/engine#19429) 2020-06-30 18:28:03 -07:00
Yegor
a9d7e7129b Rename Sk* classes to Ck* in preparation for @JS migration (flutter/engine#19423) 2020-06-30 18:01:44 -07:00
Jonah Williams
c18e45dca7 generate package config during runhooks (flutter/engine#19428)
The dart SDK needs to ship several packages which have opted into null safety for the tech preview. This requires the use of a package_config.json for compilation as this file contains the language versions. Use a dart script to generate the package_config file from the .packages file, and include that in the DEPS hooks section.

Fixes flutter/flutter#60628
2020-06-30 17:48:36 -07:00
Alexandre Ardhuin
2c2e5f362c Operator equals (flutter/engine#19303)
* use Object for operator==

* apply style guide for operator==
2020-06-30 23:16:31 +02:00
Jason Simmons
8a0511cd25 Basic support for resizing overlay surfaces in hybrid composition (flutter/engine#19402) 2020-06-30 14:08:04 -07:00
skia-flutter-autoroll
1d93353d80 Roll Skia from 2d7cf46c815b to 746460e25a1e (7 revisions) (flutter/engine#19420) 2020-06-30 13:18:02 -07:00