18875 Commits

Author SHA1 Message Date
J-P Nurmi
5ced18fed0 [Linux] use top-level GTK IM client window (flutter/engine#35272)
This PR takes a step back and changes the GTK IM client window back from FlView to GtkApplicationWindow as it was before #33111. The window was originally changed to FlView to make the code testable by cutting a dependency to gtk_widget_translate_coordinates(). The change was hard to revert because there were several conflicting changes on top. Therefore, this PR introduces an FlTextInputViewDelegate to be able to provide coordinate mapping in a testable way.

Fixes: flutter/flutter#108832
2022-08-09 16:55:41 -07:00
skia-flutter-autoroll
6f415b64c5 Roll Skia from 93297d54df57 to 0cc4b51ab9d5 (4 revisions) (flutter/engine#35286) 2022-08-09 23:30:04 +00:00
Dan Field
132ab1a321 Reland toImageSync (flutter/engine#35283) 2022-08-09 22:32:04 +00:00
Chinmay Garde
b926297049 [Impeller] Cleanup Context API. (flutter/engine#35279) 2022-08-09 22:26:04 +00:00
skia-flutter-autoroll
aa3f90e83e Roll Skia from b2b39a9cbdd6 to 93297d54df57 (2 revisions) (flutter/engine#35278) 2022-08-09 22:17:05 +00:00
Dan Field
abbca7b5e4 Revert "Collect textures from toImageSync safely (#35073)" (flutter/engine#35281)
This reverts commit 1f9bb2c26554f53995e7d02afc54a5566ad3310c.
2022-08-09 14:32:32 -07:00
Brandon DeRosier
6e84d3f741 [Impeller] Account for the backend-dependent space of rendered textures in gaussian blur (flutter/engine#35257)
* Add single pass variation to gaussian blur test

* Account for the backend-dependent space of rendered textures in gaussian blur
2022-08-09 13:26:18 -07:00
Dan Field
1f9bb2c265 Collect textures from toImageSync safely (flutter/engine#35073) 2022-08-09 13:21:59 -07:00
Dan Field
71fb6bf64b Migrate gen_locale.dart to null-safety (flutter/engine#35236) 2022-08-09 13:08:54 -07:00
Jonah Williams
b7472ec189 Automatically URI encode asset keys (flutter/engine#35270) 2022-08-09 19:49:04 +00:00
skia-flutter-autoroll
ee81d0baac Roll Skia from b2d197d7c22a to b2b39a9cbdd6 (1 revision) (flutter/engine#35275) 2022-08-09 19:46:05 +00:00
Chris Bracken
4a1f6e5569 Support fixture tests for Windows embedder (flutter/engine#35273)
This adds support for running end-to-end tests that use a live engine to
run Dart test fixtures. This enables testing the public Windows C API in
//flutter/shell/platform/windows/public/flutter_windows.h

This only adds support for a single test entrypoint (main). A followup
patch will add support for this. See:
https://github.com/flutter/flutter/issues/93537

Issue: https://github.com/flutter/flutter/issues/87299
2022-08-09 19:35:32 +01:00
skia-flutter-autoroll
630a77f4c5 Roll Skia from 3c9ce6c56a00 to b2d197d7c22a (2 revisions) (flutter/engine#35271) 2022-08-09 18:07:20 +00:00
Chris Bracken
105625bb77 [Windows] Shut down VM on shutdown of last engine (flutter/engine#35251)
All Flutter engines in the same process share a common Dart VM, which is
launched with the start of the first engine in the process and should be
terminated when the last engine in the process has been deallocated.

Formerly, it was not possible to cleanly shut down and restart the VM in
a process, but this was resolved in the Dart SDK and a flag exposed in
flutter/engine#10652. Since some embedders take advantage of the fact
that the VM remains running after engine shutdown, this flag is not
enabled by default, however it should be enabled for the Windows
embedder, which we control.

No tests added since this is not testable via any API to which the
Windows embedder has access. The behaviour of this flag is tested in the
embedder API tests in `EmbedderTest.VMShutsDownWhenNoEnginesInProcess`
in shell/platform/embedder/tests/embedder_unittests.cc.

Issue: https://github.com/flutter/flutter/issues/109191
2022-08-09 17:44:40 +01:00
skia-flutter-autoroll
c7a1e67109 Roll Skia from faf97e5d2c2b to 3c9ce6c56a00 (2 revisions) (flutter/engine#35268) 2022-08-09 16:36:06 +00:00
skia-flutter-autoroll
c9c0fd7e89 Roll Skia from fd3efc2b83b4 to faf97e5d2c2b (1 revision) (flutter/engine#35266) 2022-08-09 15:27:04 +00:00
Zachary Anderson
630fcc6ccf Revert "Updates objectc script to accept relative paths. (#35190)" (flutter/engine#35265)
This reverts commit 0d334c8f830199bfdf70e08b174bb5570ec8efa9.
2022-08-09 07:16:24 -07:00
skia-flutter-autoroll
216ab76135 Roll Skia from 9e6074e0922c to fd3efc2b83b4 (1 revision) (flutter/engine#35263) 2022-08-09 13:30:16 +00:00
skia-flutter-autoroll
93180c0def Roll Fuchsia Linux SDK from 7q0yjaQTj... to n-AJfzUMF... (flutter/engine#35262) 2022-08-09 11:50:05 +00:00
skia-flutter-autoroll
95e3f61710 Roll Skia from a2a6b3cb1ba9 to 9e6074e0922c (1 revision) (flutter/engine#35260) 2022-08-09 09:39:04 +00:00
skia-flutter-autoroll
260c5df2ab Roll Skia from 6df5d5f92381 to a2a6b3cb1ba9 (1 revision) (flutter/engine#35255) 2022-08-09 05:54:05 +00:00
godofredoc
0d334c8f83 Updates objectc script to accept relative paths. (flutter/engine#35190) 2022-08-09 05:46:04 +00:00
Brandon DeRosier
6eb9d06887 Account for the backend-dependent space of rendered textures in advanced blends (flutter/engine#35250) 2022-08-08 21:16:12 -07:00
skia-flutter-autoroll
8063fbb2c8 Roll Skia from 82b9930b1312 to 6df5d5f92381 (2 revisions) (flutter/engine#35252) 2022-08-09 03:31:05 +00:00
skia-flutter-autoroll
1c39b6f8f0 Roll Skia from 4722605332ef to 82b9930b1312 (9 revisions) (flutter/engine#35242)
https://skia.googlesource.com/skia.git/+log/4722605332ef..82b9930b1312

2022-08-08 brianosman@google.com Simplify some RP data layout and logic
2022-08-08 herb@google.com Drawable: Use the Read/WriteBuffer bulk API for points
2022-08-08 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4b211a6a98e6 to 5e532d83424e (2 revisions)
2022-08-08 cmumford@google.com Rename getRuleCMakeName() to getRuleSimpleName().
2022-08-08 cmumford@google.com Move findRule() into bazel_util.go.
2022-08-08 cmumford@google.com Move isFileTarget() to bazel_util.go
2022-08-08 robertphillips@google.com [graphite] Add system to support client caching of images
2022-08-08 cmumford@google.com Exporting Bazel with more build flags.
2022-08-08 robertphillips@google.com Remove BaseDevice class

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 erikrose@google.com,kaushikiska@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/main/autoroll/README.md
2022-08-08 19:23:38 -07:00
Brandon DeRosier
9b06497323 [Impeller] Add tile modes to gaussian blur (flutter/engine#35249) 2022-08-09 01:30:05 +00:00
Chris Bracken
f935a6d1d9 [Windows] Fix dllimport issue in unit tests (flutter/engine#35246)
In flutter/engine#35106, I landed a parameter type fix for the
declaration of FlutterDesktopEngineGetTextureRegistrar in our public
Windows C API. I also added a unit test that called this function.

That function (and all others) in our public Windows API is marked
FLUTTER_EXPORT, which resolves to __declspec(dllexport) or
__declspec(dllimport) depending on whether FLUTTER_DESKTOP_LIBRARY is
defined. It can be defined by adding the following build config:
//flutter/shell/platform/common:desktop_library_implementation

If the function is marked as an import, we get linker warnings that
we're importing a function that's defined in the same executable image.
This patch resolves this by marking the functions as export.

An alternative fix would be to support a third macro resolution that
resolves to nothing in the presence of some definition like
FLUTTER_NO_EXPORT; however, since flutter_export.h is a public header,
I'd prefer not to complicate it further, and this is a unit test that
can't be linked against either way.

Issue: https://github.com/flutter/flutter/issues/109184
Original issue: https://github.com/flutter/flutter/issues/86617

See: https://github.com/flutter/engine/blob/main/shell/platform/common/public/flutter_export.h
See: 61c0051a63/shell/platform/common/BUILD.gn (L8-L10)

No new tests since this simply fixes a link warning message in unit tests.
2022-08-09 01:04:40 +01:00
Kaushik Iska
16de1bc82c [impeller] [vulkan] Add support for swapchain creation and swapchain (flutter/engine#35199)
images

Also wires up playground surface creation and swapchain setup.
2022-08-08 16:53:28 -07:00
Brandon DeRosier
0ac321bc81 Unify tiling functionality in shader lib (flutter/engine#35245) 2022-08-08 16:25:50 -07:00
Loïc Sharma
a015114478 [Embedder API] Add next frame callback (flutter/engine#35244) 2022-08-08 23:19:04 +00:00
skia-flutter-autoroll
21a0c89fd8 Roll Fuchsia Linux SDK from IfIhCrtMD... to 7q0yjaQTj... (flutter/engine#35243) 2022-08-08 22:37:04 +00:00
Brandon DeRosier
61c0051a63 [Impeller] Respect the current transform for backdrop filter effect params (flutter/engine#35240) 2022-08-08 21:12:04 +00:00
Ian Hickson
1bf885c590 Add an //ignore now that we are analyzing the sample code (flutter/engine#35235) 2022-08-08 21:09:04 +00:00
skia-flutter-autoroll
540433dee8 Roll Skia from 7525ca099719 to 4722605332ef (3 revisions) (flutter/engine#35238) 2022-08-08 20:08:04 +00:00
Zachary Anderson
f615fba929 Adds support for uniform arrays to FragmentPrograms (flutter/engine#35209) 2022-08-08 11:56:11 -07:00
Jonah Williams
1245043020 Support hot reload of asset fonts (flutter/engine#35213) 2022-08-08 18:06:05 +00:00
ColdPaleLight
0589683136 Change the time unit of 'DisplayListBuilderBenchmarks' to 'kMicrosecond' (flutter/engine#35228) 2022-08-08 17:32:05 +00:00
skia-flutter-autoroll
5e0b93afb1 Roll Skia from 00bc9be5e324 to 8a7dc12099c0 (4 revisions) (flutter/engine#35232) 2022-08-08 17:06:04 +00:00
Erik
0b38a3be43 Change behavior of BuildTarget parameter 'additional_targets' and renamed to 'build_targets', targets must now be passed in otherwise it will default to building all of flutter (flutter/engine#35195) 2022-08-08 12:28:38 -04:00
skia-flutter-autoroll
3b5eca8e0a Roll Skia from 505175112b9c to 00bc9be5e324 (1 revision) (flutter/engine#35230) 2022-08-08 13:49:05 +00:00
dependabot[bot]
d42b1487f2 Bump github/codeql-action from 2.1.16 to 2.1.18 (flutter/engine#35226) 2022-08-08 09:52:13 +00:00
dependabot[bot]
057884114c Bump actions/setup-python from 4.1.0 to 4.2.0 (flutter/engine#35227) 2022-08-08 09:22:13 +00:00
skia-flutter-autoroll
11dd9e7f5c Roll Fuchsia Linux SDK from 3P9_-_bI6... to IfIhCrtMD... (flutter/engine#35225) 2022-08-08 09:20:08 +00:00
ColdPaleLight
61110f934a [Impeller] Implement sweep gradient (flutter/engine#35124) 2022-08-08 06:58:04 +00:00
skia-flutter-autoroll
cade43b8bf Roll Skia from 9277962b84de to 505175112b9c (1 revision) (flutter/engine#35224) 2022-08-08 06:53:05 +00:00
Jim Graham
e41e8bd0c7 add check to prevent using DLCanvasRecorder after Build (flutter/engine#35172) 2022-08-08 06:09:04 +00:00
skia-flutter-autoroll
78f09216af Roll Skia from 11422e1da7ea to 9277962b84de (1 revision) (flutter/engine#35222) 2022-08-08 05:47:04 +00:00
magicianA
84a598832f [Impeller] EntityPass should cover the whole screen for some blend modes (flutter/engine#35157) 2022-08-08 02:37:21 +00:00
skia-flutter-autoroll
6c71f6341b Roll Fuchsia Linux SDK from Bt-IEfyRC... to 3P9_-_bI6... (flutter/engine#35221) 2022-08-07 20:12:05 +00:00
skia-flutter-autoroll
b013ecb371 Roll Skia from 5fa8e1b9695b to 11422e1da7ea (1 revision) (flutter/engine#35218) 2022-08-07 10:49:04 +00:00