4613 Commits

Author SHA1 Message Date
Ben Konyi
d4cedc97b4 Added delegate forwarding for didReceiveLocalNotification and willPresentNotification (flutter/engine#6858) 2018-11-14 11:39:47 -08:00
Dan Field
3ce4d16b63 Reset a11y bridge state on hot restart (flutter/engine#6857) 2018-11-14 11:13:39 -08:00
liyuqian
80483a4d58 Return EngineLayer for all SceneBuilder pushXXX (flutter/engine#6814)
Most changes are trivial except pushTransform. In pushTransform, matrix4 is an Dart object and it has to be released before we can return a new Dart object (EngineLayer).
2018-11-14 10:37:17 -08:00
Alexander Aprelev
4d4a493a97 Set up secondary isolates with all kernel buffers rather than just one buffer. (flutter/engine#6832)
* Set up secondary isolates with all kernel buffers rather than just one buffer.
* Capture copy of the list
* Make sure child_isolate_preparer_ is initialized only once
2018-11-14 09:50:42 -08:00
skia-flutter-autoroll
84f8c75f40 Roll src/third_party/skia 7f2b6fa66575..f152130ef910 (5 commits) (flutter/engine#6856)
https://skia.googlesource.com/skia.git/+log/7f2b6fa66575..f152130ef910


Created with:
  gclient setdep -r src/third_party/skia@f152130ef910

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-14 12:36:05 -05:00
skia-flutter-autoroll
b12f77fe27 Roll src/third_party/skia b45b53f01cf3..7f2b6fa66575 (1 commits) (flutter/engine#6855)
https://skia.googlesource.com/skia.git/+log/b45b53f01cf3..7f2b6fa66575


Created with:
  gclient setdep -r src/third_party/skia@7f2b6fa66575

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-14 09:17:06 -05:00
Dan Field
be56cd051e Set and unset accessibility flags even when re-entrant (flutter/engine#6853)
* Make sure to not unset a11y flags on reentrant calls to API
2018-11-13 23:54:45 -08:00
Dan Field
681e4c6427 Flush UserSettings to window (flutter/engine#6850) 2018-11-13 23:41:56 -08:00
Michael Goderbauer
43b1be3219 Remove unused import (flutter/engine#6854) 2018-11-13 23:31:56 -08:00
skia-flutter-autoroll
256e965c15 Roll src/third_party/skia 1e00aebd9a45..b45b53f01cf3 (3 commits) (flutter/engine#6852)
https://skia.googlesource.com/skia.git/+log/1e00aebd9a45..b45b53f01cf3


Created with:
  gclient setdep -r src/third_party/skia@b45b53f01cf3

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-14 02:06:15 -05:00
skia-flutter-autoroll
5b1ee800f5 Roll src/third_party/skia 14b9f537c5ee..1e00aebd9a45 (5 commits) (flutter/engine#6848)
https://skia.googlesource.com/skia.git/+log/14b9f537c5ee..1e00aebd9a45


Created with:
  gclient setdep -r src/third_party/skia@1e00aebd9a45

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-13 20:02:14 -05:00
Siva
48aba31a7b Add missing pragma directive. (flutter/engine#6847) 2018-11-13 16:18:17 -08:00
Dan Field
102f6ea1c9 Avoid a never-disappearing splash screen if the engine came from somewhere else on iOS (flutter/engine#6834)
* Ignore multiple attemps to set splash screen, print warning
2018-11-13 16:04:09 -08:00
skia-flutter-autoroll
d25a9d0367 Roll src/third_party/skia abde1adc5f0c..14b9f537c5ee (9 commits) (flutter/engine#6846)
https://skia.googlesource.com/skia.git/+log/abde1adc5f0c..14b9f537c5ee


Created with:
  gclient setdep -r src/third_party/skia@14b9f537c5ee

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-13 16:42:14 -05:00
skia-flutter-autoroll
18f4d1e756 Roll src/third_party/skia 60b6bc3c2950..abde1adc5f0c (6 commits) (flutter/engine#6845)
https://skia.googlesource.com/skia.git/+log/60b6bc3c2950..abde1adc5f0c


Created with:
  gclient setdep -r src/third_party/skia@abde1adc5f0c

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-13 13:22:17 -05:00
Michael Goderbauer
e9bfd56271 Fix Windows Engine Bot (flutter/engine#6844)
Follow-up to https://github.com/flutter/engine/pull/6833
2018-11-13 09:46:30 -08:00
Siva
a8f108d528 - Roll engine to version f9ebf2129732fd2b606286fdf58e500384b8a0bc (flutter/engine#6839)
* - Roll engine to version f9ebf2129732fd2b606286fdf58e500384b8a0bc
- Update @pragma directive for some classes in semantics.dart

* Update license file.
2018-11-13 09:03:58 -08:00
skia-flutter-autoroll
364d9a02be Roll src/third_party/skia 9e3109c99ea5..60b6bc3c2950 (1 commits) (flutter/engine#6843)
https://skia.googlesource.com/skia.git/+log/9e3109c99ea5..60b6bc3c2950


Created with:
  gclient setdep -r src/third_party/skia@60b6bc3c2950

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-13 10:02:15 -05:00
skia-flutter-autoroll
6a7b3636b7 Roll src/third_party/skia 1e1ba0e0176f..9e3109c99ea5 (1 commits) (flutter/engine#6840)
https://skia.googlesource.com/skia.git/+log/1e1ba0e0176f..9e3109c99ea5


Created with:
  gclient setdep -r src/third_party/skia@9e3109c99ea5

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-13 04:52:15 -05:00
skia-flutter-autoroll
da9236f223 Roll src/third_party/skia f04fb3cacbad..1e1ba0e0176f (2 commits) (flutter/engine#6838)
https://skia.googlesource.com/skia.git/+log/f04fb3cacbad..1e1ba0e0176f


Created with:
  gclient setdep -r src/third_party/skia@1e1ba0e0176f

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-13 01:22:14 -05:00
Michael Goderbauer
082336e7c2 Fix code smells reported by chrome's clang plugin (flutter/engine#6833) 2018-11-12 19:59:29 -08:00
skia-flutter-autoroll
2f1fcadb23 Roll src/third_party/skia 82cd7e80a98d..f04fb3cacbad (2 commits) (flutter/engine#6836)
https://skia.googlesource.com/skia.git/+log/82cd7e80a98d..f04fb3cacbad


Created with:
  gclient setdep -r src/third_party/skia@f04fb3cacbad

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-12 22:02:14 -05:00
Dan Field
877b3996d8 Avoid announcing text field when it lacks a11y focus (flutter/engine#6830)
* Avoid announcing text field when it lacks a11y focus
2018-11-12 16:08:59 -08:00
skia-flutter-autoroll
8d44bdef97 Roll src/third_party/skia 6b90dfed6742..82cd7e80a98d (4 commits) (flutter/engine#6831)
https://skia.googlesource.com/skia.git/+log/6b90dfed6742..82cd7e80a98d


Created with:
  gclient setdep -r src/third_party/skia@82cd7e80a98d

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-12 18:42:14 -05:00
Amir Hardon
3438348516 Release the surface texture entry when the platform view is disposed. (flutter/engine#6829)
We were leaking the texture after the view was disposed.
2018-11-12 14:23:25 -08:00
liyuqian
a8aa99c094 Respect offset in OpacityLayer's paint bounds (flutter/engine#6826)
This fixes https://github.com/flutter/flutter/issues/23890

I'll add unit tests to flutter/flutter shortly.
2018-11-12 12:52:18 -08:00
skia-flutter-autoroll
b81986255a Roll src/third_party/skia eb4d641d9437..6b90dfed6742 (5 commits) (flutter/engine#6828)
https://skia.googlesource.com/skia.git/+log/eb4d641d9437..6b90dfed6742


Created with:
  gclient setdep -r src/third_party/skia@6b90dfed6742

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-12 15:24:15 -05:00
KyleWong
159acc0b2b Fix a minikin crash (nullptr& EXC_BAD_ACCESS) on iOS8. (flutter/engine#6795)
* Fix a minikin crash (nullptr& EXC_BAD_ACCESS) on iOS8.

* Use find for vector to avoid side effect.
2018-11-12 11:21:20 -08:00
Jason Simmons
16a1ab8413 Fix MakeRenderContextCurrent to handle software rendering (flutter/engine#6827) 2018-11-12 11:20:49 -08:00
Rusino
01e57d1939 SkPaint::FontMetrics -> SkFontMetrics (flutter/engine#6824)
* SkPaint::FontMetrics -> SkFontMetrics

* fix file formatting

* another attempt to correct file formatting
2018-11-12 12:55:34 -05:00
skia-flutter-autoroll
35eabd5347 Roll src/third_party/skia 0243949545eb..eb4d641d9437 (10 commits) (flutter/engine#6825)
https://skia.googlesource.com/skia.git/+log/0243949545eb..eb4d641d9437


Created with:
  gclient setdep -r src/third_party/skia@eb4d641d9437

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-12 12:06:14 -05:00
skia-flutter-autoroll
8c4b501e55 Roll src/third_party/skia c7a34cae21d2..0243949545eb (11 commits) (flutter/engine#6823)
https://skia.googlesource.com/skia.git/+log/c7a34cae21d2..0243949545eb


Created with:
  gclient setdep -r src/third_party/skia@0243949545eb

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-12 08:47:14 -05:00
Gary Qian
06969c2491 Document not passing empty-strings into Locale (flutter/engine#6818) 2018-11-11 03:42:28 -08:00
skia-flutter-autoroll
da9ff853dd Roll src/third_party/skia 1c3f17fffa79..c7a34cae21d2 (2 commits) (flutter/engine#6821)
https://skia.googlesource.com/skia.git/+log/1c3f17fffa79..c7a34cae21d2


Created with:
  gclient setdep -r src/third_party/skia@c7a34cae21d2

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-10 02:13:42 -05:00
skia-flutter-autoroll
d3d4627a9d Roll src/third_party/skia 95af4726bf91..1c3f17fffa79 (1 commits) (flutter/engine#6819)
https://skia.googlesource.com/skia.git/+log/95af4726bf91..1c3f17fffa79


Created with:
  gclient setdep -r src/third_party/skia@1c3f17fffa79

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-09 22:52:42 -05:00
Jason Simmons
c1c5977c07 Ensure that the EGL rendering context is bound to the GPU thread in Rasterizer::MakeRasterSnapshot (flutter/engine#6816)
Fixes https://github.com/flutter/flutter/issues/24083
2018-11-09 17:05:05 -08:00
Dan Field
a03e311cb0 fix log (flutter/engine#6817) 2018-11-09 16:46:49 -08:00
skia-flutter-autoroll
ed0270a84f Roll src/third_party/skia ef4709b7850d..95af4726bf91 (22 commits) (flutter/engine#6815)
https://skia.googlesource.com/skia.git/+log/ef4709b7850d..95af4726bf91


Created with:
  gclient setdep -r src/third_party/skia@95af4726bf91

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-09 19:20:42 -05:00
skia-flutter-autoroll
d0d14dd31c Roll src/third_party/skia 06a477c3300d..ef4709b7850d (31 commits) (flutter/engine#6811)
https://skia.googlesource.com/skia.git/+log/06a477c3300d..ef4709b7850d

Created with:
  gclient setdep -r src/third_party/skia@ef4709b7850d

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-09 16:01:54 -05:00
Amir Hardon
3f3ce50597 Use the internal_nodes_canvas for all leaf node operations. (flutter/engine#6804)
This also renames the PaintContext's canvas to lead_nodes_canvas so that it
is more explicit on the call sites which canvas is being used.
2018-11-09 12:10:29 -08:00
Amir Hardon
e818420245 Synchronize Flutter's rendering with CA. (flutter/engine#6807)
Right now we do it whenever the platform views preview flag is on.
This is less efficient, filed
https://github.com/flutter/flutter/issues/24133 to only do this when
there's a platform view in the tree.
2018-11-09 12:10:09 -08:00
Jason Simmons
708c487c14 Update Vulkan headers to 1.1 (flutter/engine#6806) 2018-11-09 12:01:57 -08:00
Amir Hardon
18f0d35d05 Move the embedded view preview flag check to a common function. (flutter/engine#6813) 2018-11-09 11:24:14 -08:00
Amir Hardon
818cccfd47 Fix wrong flutter/platform_views protocol implementation on iOS. (flutter/engine#6803)
The `id` parameter of onDispose is passed as the method argument and not as
part of a map.
2018-11-09 10:21:44 -08:00
Amir Hardon
bfc1db2612 Support platform view overlays with GL rendering (flutter/engine#6769)
Moved the frame buffer specific logic from IOSGLContext to IOSGLRenderTarget.

use recording canvases for overlays

Support platform view overlays with gl rendering.

This also changes the overlay canvases (for both software and gl
rendering) be recording canvases, and only rasterize them after
finishing the paint traversal.
2018-11-08 19:52:43 -08:00
Jason Simmons
269879dc6e Revert "Roll src/third_party/skia 06a477c3300d..dd650c40d148 (11 commits) (#6801)" (flutter/engine#6809)
This reverts commit 061170fc32d676baf7d31c765ee002d698295ccc.
2018-11-08 17:07:02 -08:00
Rusino
cfd68e9189 Update paint hinting for upcoming Skia API changes. (flutter/engine#6802) 2018-11-08 16:53:24 -05:00
skia-flutter-autoroll
061170fc32 Roll src/third_party/skia 06a477c3300d..dd650c40d148 (11 commits) (flutter/engine#6801)
https://skia.googlesource.com/skia.git/+log/06a477c3300d..dd650c40d148


Created with:
  gclient setdep -r src/third_party/skia@dd650c40d148

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
2018-11-08 16:12:43 -05:00
Amir Hardon
271e82a7e4 Include vector in embedded_views.h (flutter/engine#6800) 2018-11-08 12:54:36 -08:00
Amir Hardon
df64376478 Make the FlutterPlatformViewFactory create FlutterPlatformViews. (flutter/engine#6782)
Handing a UIView refererence directly to the engine makes it challenging
for plugin authors to retain a controller for that UIView (e.g the
controller that talks over the platform channel) for as long as the
embedded view is needed.

We instead make the factory return a FlutterPlatformView which is a
wrapper around the UIView that the engine retains as long as the
platform view instance is needed. This allows plugin authors to keep
their control logic in the FlutterPlatformView and know that the engine
is responsible for retaining the reference.
2018-11-08 11:21:55 -08:00