10869 Commits

Author SHA1 Message Date
skia-flutter-autoroll
3b4be82d07 Roll fuchsia/sdk/core/mac-amd64 from 5fMtM... to c3sk5... (flutter/engine#16181)
Roll fuchsia/sdk/core/mac-amd64 from 5fMtM... to c3sk5...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC  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/+/master/autoroll/README.md
2020-01-29 03:39:13 -05:00
skia-flutter-autoroll
60673b8a19 Roll src/third_party/skia 9ae06637d069..dcc8c5431bcb (16 commits) (flutter/engine#16173)
https://skia.googlesource.com/skia.git/+log/9ae06637d069..dcc8c5431bcb

git log 9ae06637d069..dcc8c5431bcb --date=short --first-parent --format='%ad %ae %s'
2020-01-29 csmartdalton@google.com Convert the "bool antialias" param in GrTessellator to an enum
2020-01-29 egdaniel@google.com Store GrSurfaceProxyViews on SkSpecial*_Gpu.
2020-01-29 fmalita@chromium.org [skottie] Separate text resize options
2020-01-28 mtklein@google.com partial strength reduction for bit ops
2020-01-28 egdaniel@google.com Remove create function in proxyProvider that takes a raster SkImage.
2020-01-28 mtklein@google.com tweak grading in gm/skbug_9819 for G8
2020-01-28 mtklein@google.com skvm sweep gradients
2020-01-28 reed@google.com improvements to shaper_ct
2020-01-28 bsalomon@google.com Fix asyncRescaleAndReadPixelsYUV420 fallback w/out GL_EXT_texture_rg.
2020-01-28 mtklein@google.com radial gradients in skvm
2020-01-28 herb@google.com Use a monotonic counter for atlas and plot generations
2020-01-28 mtklein@google.com incorporate r,g,b,a into shaderHash
2020-01-28 robertphillips@google.com Expand the compressed_textures GM
2020-01-28 kjlubick@google.com [debugger] Use correct archiver
2020-01-28 herb@google.com Atlas generation numbers is not tracking plot changes -- disable it
2020-01-28 mtklein@google.com prune unused SkPostConfig

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

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 reed@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/+/master/autoroll/README.md

Bug: None
Tbr: reed@google.com
2020-01-28 23:34:02 -05:00
Mouad Debbar
17ee584750 [web] Text width should never exceed constraint width (flutter/engine#16152) 2020-01-28 16:23:04 -08:00
skia-flutter-autoroll
dc6af01b1a Roll src/third_party/skia 9c1d30dd163e..9ae06637d069 (24 commits) (flutter/engine#16158)
https://skia.googlesource.com/skia.git/+log/9c1d30dd163e..9ae06637d069

git log 9c1d30dd163e..9ae06637d069 --date=short --first-parent --format='%ad %ae %s'
2020-01-28 mtklein@google.com add --skvm to DM
2020-01-28 kjlubick@google.com Fix wasm builds
2020-01-28 senorblanco@chromium.org Roll dawn and adjust for new SwapChain API.
2020-01-28 bsalomon@google.com Add fallback for asyncRescaleAndReadPixelsYUV420 without PBOs.
2020-01-28 reed@google.com Experimental coretext backend for SkShaper
2020-01-28 jlavrova@google.com Skip vertical clipping in unclear case of font height=font size
2020-01-28 kjlubick@google.com [canvaskit] Update build script to support latest Emscripten
2020-01-28 robertphillips@google.com Add SkImage::MakeRasterFromCompressed and make MakeFromCompressed fall back to decompression for unsupported compression types (take 2)
2020-01-28 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update Go Deps
2020-01-28 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src 82459860eaf4..77c4d4c42f40 (425 commits)
2020-01-28 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 748ad200897b..34e16df059f8 (6 commits)
2020-01-28 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 fcef6dcb6ab2..086aded3cb74 (9 commits)
2020-01-28 bsalomon@google.com Fix bug in NPOT shader wrap mode impl
2020-01-28 brianosman@google.com Revert "In GrSkSLFP, always use a coord transform"
2020-01-27 jlavrova@google.com Dealing with SkScalar values in cache
2020-01-27 fmalita@chromium.org [skottie] Switch SkMatrix44 -> SkM44
2020-01-27 reed@google.com don't need to include deprecated Sk3D.h
2020-01-27 herb@google.com Rename AtlasID to PlotLocator
2020-01-27 bsalomon@google.com Fix case of asyncRescaleAndReadPixelsYUV420 for case where SkSurface is backed by non-textureable FBO and no scaling/color space conversions is performed.
2020-01-27 robertphillips@google.com Revert "Add SkImage::MakeRasterFromCompressed and make MakeFromCompressed fall back to decompression for unsupported compression types"
2020-01-27 brianosman@google.com In GrSkSLFP, always use a coord transform
2020-01-27 robertphillips@google.com Add SkImage::MakeRasterFromCompressed and make MakeFromCompressed fall back to decompression for unsupported compression types
2020-01-27 herb@google.com Swap dtor order of SkSTArenaAlloc and SkArenaAlloc v.2
2020-01-27 borenet@google.com [infra] Update infra dep

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

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 reed@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/+/master/autoroll/README.md

Bug: None
Tbr: reed@google.com
2020-01-28 19:21:32 -05:00
Chris Yang
56929f0ee2 Revert "Always make gpu thread different from platform thread regardless of platform view (#16068)" (flutter/engine#16161)
This reverts commit f979af16ec379f268468015c7cb555849783ec21.
2020-01-28 15:12:25 -08:00
skia-flutter-autoroll
5e2f68131d Roll fuchsia/sdk/core/mac-amd64 from gNitp... to 5fMtM... (flutter/engine#16153)
Roll fuchsia/sdk/core/mac-amd64 from gNitp... to 5fMtM...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC  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/+/master/autoroll/README.md
2020-01-28 14:54:37 -05:00
Chinmay Garde
32e271a2ad Revert "Disable setting a library tag handler." (flutter/engine#16157)
This reverts commit a801e2264fc2f48646d3a3bc2f15a3416e6dc87b. This address the use case of an internal customer. In a subsequent patch, I will add a test for this functionality. Instead of removing support for the same from tonic (along with the stuff surrounding filesystem access and package map handling), I’ll rework the same to use FML to avoid code duplication and maintainability.
2020-01-28 11:44:27 -08:00
Chris Yang
f979af16ec Always make gpu thread different from platform thread regardless of platform view (flutter/engine#16068) 2020-01-28 11:36:43 -08:00
Chinmay Garde
f5ae64f523 Add test to ensure that concurrent message loops have at least one workers. (flutter/engine#16074)
The current count is determined from std:🧵:hardware_concurrency which can
return zero. Even in such cases, the implementation may not return a loop with
no workers. There are numerous components that depend on having non-zero workers
in the queue.
2020-01-28 11:29:42 -08:00
Dan Field
b392f1e3bd Revert breaking PRs (flutter/engine#16148)
* Revert "Web PargraphStyle TextHeightBehavior integration (#16075)"

This reverts commit a152c9df009f74b3f52c46845e618b8ddcf3eaa7.

* Revert "Engine/LibTxt/dart:ui impl of TextHeightBehavior (#15087)"

This reverts commit e6f6d2a3c2fe333a85c8997d755ca91594e80544.
2020-01-28 10:40:05 -08:00
skia-flutter-autoroll
3431a1797b Roll fuchsia/sdk/core/linux-amd64 from 8Ns10... to 2rLoq... (flutter/engine#15971) 2020-01-27 18:53:02 -08:00
Francisco Magdaleno
a4fe86b745 Gets the DPI for all awareness mode and older Windows versions (flutter/engine#15951) 2020-01-27 18:48:03 -08:00
Chinmay Garde
87beaf3a9b Hold a mutex when updating all CanPostTaskToAllNativeThreads::Captures members. (flutter/engine#16085)
This is in the same vein as https://github.com/flutter/engine/pull/16081 but
includes holding the mutex when updating all members in the Captures struct
instead of just when tracking thread IDs.
2020-01-27 18:37:20 -08:00
Chinmay Garde
a801e2264f Disable setting a library tag handler. (flutter/engine#16086)
This is only used in the command line VM. The only conceivable use of this would
be with IsolateMirror.loadURI which is not supported in Flutter or used in known
embedder API implementations (even ones that use mirrors).
2020-01-27 18:31:00 -08:00
Gary Qian
a152c9df00 Web PargraphStyle TextHeightBehavior integration (flutter/engine#16075) 2020-01-27 17:35:40 -08:00
Chinmay Garde
ec873f14d7 Fix flake by making thread ID tracking in CanPostTaskToAllNativeThreads thread safe. (flutter/engine#16081) 2020-01-27 17:34:56 -08:00
Chinmay Garde
80367b5298 Remove buggy assertion in EmbedderTest::CanPostTaskToAllNativeThreads. (flutter/engine#16071)
This was introduced in
ef31000576.

The assertion was originally written to check that more than 4 threads were
managed by the engine (UI, Platform, GPU, IO + ConcurrentWQWorkers). However,
the assertion actually only checked the count of workers in the ConcurrentWQ. As
written, this assertion would fail on all hosts with a hardware concurrency of
less than 4. Remove the assertion. The engine threads count and its assertions
already check callbacks on workers. So this check was incorrect and redundant.
2020-01-27 16:00:34 -08:00
Chinmay Garde
5defd058a9 Remove tonic/platform. (flutter/engine#16062)
This is unused.
2020-01-27 14:41:15 -08:00
Chinmay Garde
ef31000576 Allow embedders to schedule a callback on all engine managed threads. (flutter/engine#15980)
`FlutterEnginePostCallbackOnAllNativeThreads` schedule a callback to be run on
all engine managed threads. The engine will attempt to service this callback the
next time the message loops for each managed thread is idle. Since the engine
manages the entire lifecycle of multiple threads, there is no opportunity for
the embedders to finely tune the priorities of threads directly, or, perform
other thread specific configuration (for example, setting thread names for
tracing). This callback gives embedders a chance to affect such tuning.

Fixes flutter/flutter#49551
Fixes b/143774406
Fixes b/148278215
Fixes b/148278931
2020-01-27 13:49:39 -08:00
Gary Qian
e6f6d2a3c2 Engine/LibTxt/dart:ui impl of TextHeightBehavior (flutter/engine#15087) 2020-01-27 13:37:11 -08:00
skia-flutter-autoroll
e1060960cd Roll src/third_party/skia f1b2b42613cb..9c1d30dd163e (8 commits) (flutter/engine#16060)
https://skia.googlesource.com/skia.git/+log/f1b2b42613cb..9c1d30dd163e

git log f1b2b42613cb..9c1d30dd163e --date=short --first-parent --format='%ad %ae %s'
2020-01-27 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2020-01-27 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2020-01-27 mtklein@google.com draw whole grid
2020-01-27 fmalita@chromium.org [skottie] Cleanup: convert transform adapters to new pattern
2020-01-27 mtklein@google.com rm mtklein@chromium
2020-01-27 bsalomon@google.com Revert "Switch runtime SkSL to always sample at explicit coords"
2020-01-27 jvanverth@google.com Revert "Wrap page index packing in helper methods."
2020-01-27 brianosman@google.com Switch runtime SkSL to always sample at explicit coords

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

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 reed@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/+/master/autoroll/README.md

Bug: None
Tbr: reed@google.com
2020-01-27 15:44:10 -05:00
Chinmay Garde
b7e32f823d Remove stale recipe changelog. (flutter/engine#15985)
We tried updating this for a while but we seem to have given up. This is now
stale. Removing the same.
2020-01-27 12:24:42 -08:00
skia-flutter-autoroll
48f5325cc2 Roll src/third_party/skia 0fb0a21bd999..f1b2b42613cb (4 commits) (flutter/engine#16053)
https://skia.googlesource.com/skia.git/+log/0fb0a21bd999..f1b2b42613cb

git log 0fb0a21bd999..f1b2b42613cb --date=short --first-parent --format='%ad %ae %s'
2020-01-27 sergeyu@google.com Fix GrSmallPathRenderer to respect max texture size.
2020-01-27 kjlubick@google.com [canvaskit] Fix test for drawOnce
2020-01-27 bryct@amazon.com Add drawOnce() API to SkSurface.
2020-01-27 nifong@google.com Use html tags instead of markdown for images in debugger user guide

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

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 reed@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/+/master/autoroll/README.md

Bug: None
Tbr: reed@google.com
2020-01-27 11:29:41 -05:00
skia-flutter-autoroll
89cf124902 Roll fuchsia/sdk/core/mac-amd64 from 35pbn... to gNitp... (flutter/engine#16040)
Roll fuchsia/sdk/core/mac-amd64 from 35pbn... to gNitp...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC  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/+/master/autoroll/README.md
2020-01-27 04:20:40 -05:00
skia-flutter-autoroll
731af83a38 Roll src/third_party/skia f93a8436cea5..0fb0a21bd999 (3 commits) (flutter/engine#16036)
https://skia.googlesource.com/skia.git/+log/f93a8436cea5..0fb0a21bd999

git log f93a8436cea5..0fb0a21bd999 --date=short --first-parent --format='%ad %ae %s'
2020-01-27 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src 2ae619822948..82459860eaf4 (508 commits)
2020-01-27 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 f3b4e6c3030f..fcef6dcb6ab2 (15 commits)
2020-01-27 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 5ef91b82cbed..748ad200897b (6 commits)

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

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 reed@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/+/master/autoroll/README.md

Bug: None
Tbr: reed@google.com
2020-01-27 01:49:09 -05:00
skia-flutter-autoroll
c44a692dbf Roll src/third_party/skia d92e4e9de7f1..f93a8436cea5 (1 commits) (flutter/engine#16029)
https://skia.googlesource.com/skia.git/+log/d92e4e9de7f1..f93a8436cea5

git log d92e4e9de7f1..f93a8436cea5 --date=short --first-parent --format='%ad %ae %s'
2020-01-26 mtklein@google.com support dither in skvm

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

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 reed@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/+/master/autoroll/README.md

Bug: None
Tbr: reed@google.com
2020-01-26 21:23:19 -05:00
skia-flutter-autoroll
7adf11f203 Roll src/third_party/skia 45add166fdb9..d92e4e9de7f1 (32 commits) (flutter/engine#16022)
https://skia.googlesource.com/skia.git/+log/45add166fdb9..d92e4e9de7f1

git log 45add166fdb9..d92e4e9de7f1 --date=short --first-parent --format='%ad %ae %s'
2020-01-26 mtklein@google.com cache only when SkVM has a JIT
2020-01-26 reed@google.com offer raw-array variant of remaining 44 methods
2020-01-26 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update SKP version
2020-01-26 reed@google.com use vsphere to control light
2020-01-26 reed@google.com virtual sphere
2020-01-26 reed@google.com restore til I understand what changed
2020-01-26 reed@google.com consolidate examples to 1 matrix type
2020-01-25 bsalomon@google.com Revert "Revert "Use bitmap subset for comparison in texture_domain_effect GMs.""
2020-01-25 reed@google.com Revert "convert sample completely to SkM4"
2020-01-25 reed@google.com convert sample completely to SkM4
2020-01-25 bsalomon@google.com Revert "Use bitmap subset for comparison in texture_domain_effect GMs."
2020-01-25 bsalomon@google.com Use bitmap subset for comparison in texture_domain_effect GMs.
2020-01-25 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2020-01-24 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2020-01-24 ethannicholas@google.com add SkSLInterpreter vector instructions
2020-01-24 reed@google.com Revert "Revert "add rotate to SkM44""
2020-01-24 brianosman@google.com Make invokeChild just return a string containing the child function call
2020-01-24 reed@google.com Revert "add rotate to SkM44"
2020-01-24 bsalomon@google.com Detect implementation read formats on ES.
2020-01-24 reed@google.com add rotate to SkM44
2020-01-24 bungeman@google.com Preserve FcConfig in SkFontConfigInterface_direct methods.
2020-01-24 jvanverth@google.com Wrap page index packing in helper methods.
2020-01-24 bsalomon@google.com Revert "Revert "Move GrDomainEffect functionality into GrTextureEffect and delete""
2020-01-24 robertphillips@google.com Make GrGpu::createBackendTexture match createCompressedBackendTexture
2020-01-24 jvanverth@google.com Revert "Reland "Reland "Add new method for storing DrawOpAtlas texture index."""
2020-01-24 mtklein@google.com add skvm msan bot, move asan back to linux
2020-01-24 brianosman@google.com Remove invokeChild variants that write to output color
2020-01-24 mtklein@google.com clean up caches at thread exit
2020-01-24 mtklein@google.com link clang bots against our prepackaged libc++
2020-01-24 bsalomon@google.com Revert "Move GrDomainEffect functionality into GrTextureEffect and delete"
2020-01-24 ethannicholas@google.com Revert "Revert "Complete rewrite of the SkSL interpreter""
2020-01-24 bsalomon@google.com Move GrDomainEffect functionality into GrTextureEffect and delete the former.

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

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 reed@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/+/master/autoroll/README.md

Bug: None
Tbr: reed@google.com
2020-01-26 17:12:00 -05:00
skia-flutter-autoroll
f55dbc2b4b Roll src/third_party/skia 3ea4d5bb857d..45add166fdb9 (1 commits) (flutter/engine#15967)
https://skia.googlesource.com/skia.git/+log/3ea4d5bb857d..45add166fdb9

git log 3ea4d5bb857d..45add166fdb9 --date=short --first-parent --format='%ad %ae %s'
2020-01-24 mtklein@google.com silly hack -- move SkVM/ASAN bot to Mac

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

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 benjaminwagner@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/+/master/autoroll/README.md

Bug: None
Tbr: benjaminwagner@google.com
2020-01-26 08:00:17 -05:00
Chinmay Garde
93d67baf2b Move tonic into //flutter/third_party. (flutter/engine#15895)
Tonic used to be used by multiple consumers outside of Flutter Engine. Due to
this, it has an unnecessary abstraction layer as well as utilities duplicated in
FML and other engine subsystems. The sole user of Tonic is now the Flutter
Engine. It is intended that the Flutter Engine team now owns this subsystem,
remove unnecessary utilities and document the headers. This is the first step in
the transition. No history is being imported as the initial history was already
lost in the transition of this component to fuchsia.googlesource. As this
component was unmaintained there, I could see no additional value in importing
the history of the patches there.

No functional change. Just moved the repo from //third_party to
//flutter/third_party and updates GN refs.
2020-01-25 17:01:56 -08:00
Michael Klimushyn
f3ec835234 Register plugins at the right time, once (flutter/engine#15979)
Currently we're automatically registering plugins both when the
FlutterEngine is constructed and in the `flutter create` template, when
FlutterActivity#configureFlutterEngine is called. The initial
registration is too early to contain a reference to the activity and the
second registration can cause problems in some plugins.

This alters the flow so automatic registration happens in two discrete
places, and contains the `activity` in its first and only call for most
apps.

1. We're no longer automatically registering plugins on `FlutterEngine`
in any of our activities/fragments at construction time. But since the
FlutterEngine default constructor still automatically registers plugins,
anyone constructing the engine themselves (for example, in a service) is
still going to get automatic registration at `FlutterEngine`
instantiation time.
2. We now automatically register plugins in the base `FlutterActivity`'s
`configureFlutterEngine` hook. Anyone using `FlutterActivity` (or
`FlutterFragment`) should be automatically registered once that hook is
called. Right now the `flutter create` template overrides the base class
method with a subclass that registers everything manually in the same
spot. But with this in place we can safely recommend to remove the
subclass and rely on this hook to automatically register going forward.
Registering at this time means `activity` is set correctly.
2020-01-25 00:34:52 -08:00
Ferhat
7a94b6e104 Use 2d matrix for transform to work around Safari clipping bug (flutter/engine#15976) 2020-01-24 20:40:12 -08:00
George Wright
86f501cbd8 Disable flakey CountDownLatchTest.CanWait unit test on Fuchsia (flutter/engine#15982) 2020-01-24 19:21:20 -08:00
skia-flutter-autoroll
08b9dbacf8 Roll fuchsia/sdk/core/mac-amd64 from 7fqYj... to 35pbn... (flutter/engine#15984)
Roll fuchsia/sdk/core/mac-amd64 from 7fqYj... to 35pbn...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC  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/+/master/autoroll/README.md
2020-01-24 22:17:53 -05:00
Nurhan Turgut
9fe323f5e0 updating the versions of the browsers for flutter web engine unit tests (flutter/engine#15977) 2020-01-24 16:28:21 -08:00
Chris Bracken
d96d9de930 Eliminate unused import in Android embedding (flutter/engine#15975)
Eliminates an unused dependency on android.os.build. The last remaining
use of this was eliminated in 0ad44285bd91d5e0a17facbac0d16eab7e60a110
with the removal of an unused method that contained an android version
check.
2020-01-24 16:19:00 -08:00
Matt Carroll
10e5d6d7b5 Prevent duplicate plugin registration in FlutterEnginePluginRegistry. (#49365) (flutter/engine#15956) 2020-01-24 15:57:51 -08:00
Dan Field
7200c3f459 retry logic for another cipd upload (flutter/engine#15974) 2020-01-24 15:51:41 -08:00
George Wright
274356d3ab Ensure GetFixturesPath works on Fuchsia (flutter/engine#15978) 2020-01-24 15:47:29 -08:00
Nurhan Turgut
076cf25e37 [web] Calling platform message callback after copy (flutter/engine#15950)
* Calling platform message callback after copy

* addressing pr comments

* adding unit tests to clipbpard.dart
2020-01-24 15:35:03 -08:00
Kaushik Iska
024a753078 [fuchsia] Expose view_ref as part of dart:fuchsia initialization (flutter/engine#15958)
fixes https://github.com/flutter/flutter/issues/47178
2020-01-24 13:42:19 -08:00
George Wright
2d2da1dd64 Refactor ShellTest to allow for different ShellTestPlatformViews (flutter/engine#15972)
This paves the way for us to have shell_unittests backed by different rendering APIs (e.g. OpenGL, Vulkan, Metal).
2020-01-24 13:29:12 -08:00
Yegor
3f4a2380cd Cache computed window.physicalSize in a FrameReference (flutter/engine#15955) 2020-01-24 13:21:16 -08:00
Dan Field
62a99c60c5 the the fix (flutter/engine#15973) 2020-01-24 12:43:32 -08:00
Ferhat
74e67d3c35 Optimize drawRRect to use dom_canvas (flutter/engine#15970) 2020-01-24 11:03:19 -08:00
Ferhat
4fcba4abfd Remove paint apply in draw image (flutter/engine#15969)
https://github.com/flutter/flutter/issues/49132
2020-01-24 10:39:54 -08:00
skia-flutter-autoroll
5919a607b2 Roll fuchsia/sdk/core/mac-amd64 from 6_pZp... to 7fqYj... (flutter/engine#15966)
Roll fuchsia/sdk/core/mac-amd64 from 6_pZp... to 7fqYj...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC  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/+/master/autoroll/README.md
2020-01-24 08:47:37 -05:00
skia-flutter-autoroll
8dd03d19ab Roll src/third_party/dart bc9348829ef8..fc3af737c759 (2 commits) (flutter/engine#15965)
https://dart.googlesource.com/sdk.git/+log/bc9348829ef8..fc3af737c759

git log bc9348829ef8..fc3af737c759 --date=short --first-parent --format='%ad %ae %s'
2020-01-24 lrn@google.com Update typed-data constructor documentation.
2020-01-24 cskau@google.com [SDK] Fixes async* stack unwinding.

Created with:
  gclient setdep -r src/third_party/dart@fc3af737c759

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@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/+/master/autoroll/README.md

Bug: None
Tbr: dart-vm-team@google.com
2020-01-24 06:25:28 -05:00
skia-flutter-autoroll
8d2d8c7123 Roll fuchsia/sdk/core/linux-amd64 from Wc7e4... to 8Ns10... (flutter/engine#15964) 2020-01-24 02:13:02 -08:00
skia-flutter-autoroll
6765b84dad Roll src/third_party/skia a7e557f3e353..3ea4d5bb857d (4 commits) (flutter/engine#15963)
https://skia.googlesource.com/skia.git/+log/a7e557f3e353..3ea4d5bb857d

git log a7e557f3e353..3ea4d5bb857d --date=short --first-parent --format='%ad %ae %s'
2020-01-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src 7afe38da7578..2ae619822948 (463 commits)
2020-01-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 135f8fcba837..f3b4e6c3030f (8 commits)
2020-01-24 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader f324fe10ca65..5ef91b82cbed (6 commits)
2020-01-24 bsalomon@google.com Add support for GL_NV_fence.

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

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 benjaminwagner@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/+/master/autoroll/README.md

Bug: None
Tbr: benjaminwagner@google.com
2020-01-24 02:29:05 -05:00
skia-flutter-autoroll
3a47151b65 Roll src/third_party/dart c359b5943a52..bc9348829ef8 (1 commits) (flutter/engine#15962)
https://dart.googlesource.com/sdk.git/+log/c359b5943a52..bc9348829ef8

git log c359b5943a52..bc9348829ef8 --date=short --first-parent --format='%ad %ae %s'
2020-01-24 srawlins@google.com NNBD preview: change the Edit Details response to be JSON

Created with:
  gclient setdep -r src/third_party/dart@bc9348829ef8

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@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/+/master/autoroll/README.md

Bug: None
Tbr: dart-vm-team@google.com
2020-01-24 02:08:21 -05:00