24353 Commits

Author SHA1 Message Date
skia-flutter-autoroll
c987dbc6ae Roll Skia from 41cb8f2f9d12 to 85412c2ca484 (1 revision) (flutter/engine#35339) 2022-08-11 13:41:43 +00:00
ColdPaleLight
104accebb1 [Impeller] Implement tiled texture contents for image color source (flutter/engine#35264) 2022-08-11 13:18:16 +00:00
ColdPaleLight
9900922ec2 [impeller] Add 'ColorSourceProc' for creating color source contents (flutter/engine#35299) 2022-08-11 10:14:17 +00:00
JsouLiang
35e4972207 optimize out unnecessary save restore pairs (flutter/engine#34967)
* drafting the solution to optimize out unnecessary save restore pairs

* remove unnecessary save/restore pairs

* delete the calculator change;

* fix some logic; Add some testcases

* Add test for set DlPaint

* update test cases

* Prune TranslateTriggersDeferredSave unittest
2022-08-11 15:48:40 +08:00
JsouLiang
073693e034 Create DlLocalMatrixImageFilter (flutter/engine#34878) 2022-08-11 07:44:51 +00:00
skia-flutter-autoroll
7835d14864 Roll Skia from 8caa45760bb7 to 41cb8f2f9d12 (2 revisions) (flutter/engine#35337) 2022-08-11 07:14:12 +00:00
skia-flutter-autoroll
cdd91033e7 Roll Skia from 2db645fcdde2 to 8caa45760bb7 (1 revision) (flutter/engine#35335) 2022-08-11 06:04:36 +00:00
godofredoc
dc08f08e52 Reland Add support for relative paths in mac os gen_snapshot. (flutter/engine#35332) 2022-08-11 05:40:07 +00:00
skia-flutter-autoroll
822869587d Roll Fuchsia Mac SDK from tdJUKQ0dM... to VVKF4KTZT... (flutter/engine#35333) 2022-08-11 04:36:34 +00:00
Jim Graham
d085114802 Revert "Add support for relative paths in mac os gen_snapshot." (flutter/engine#35331) 2022-08-11 02:59:28 +00:00
godofredoc
84911a25eb Add support for relative paths in mac os gen_snapshot. (flutter/engine#35324) 2022-08-11 00:30:26 +00:00
godofredoc
7990971133 Add global generator processing for mac_ios builds. (flutter/engine#35328) 2022-08-11 00:30:06 +00:00
skia-flutter-autoroll
5f5f16c6da Roll Skia from 4b3a5cc3181c to 2db645fcdde2 (2 revisions) (flutter/engine#35326) 2022-08-11 00:12:04 +00:00
Kaushik Iska
fe037aac1d [Impeller] [vulkan] Setup surface producer, and wireup swapchain sync objects (flutter/engine#35322) 2022-08-10 23:25:10 +00:00
skia-flutter-autoroll
30f729309c Roll Skia from 44a17e13fc9b to 4b3a5cc3181c (1 revision) (flutter/engine#35321) 2022-08-10 23:03:05 +00:00
godofredoc
589a66b3d4 "Reland" "Updates objectc script to accept relative paths."" (flutter/engine#35314) 2022-08-10 23:00:22 +00:00
skia-flutter-autoroll
cc4e8d2efe Roll Skia from 36f230673448 to 44a17e13fc9b (1 revision) (flutter/engine#35319) 2022-08-10 21:41:22 +00:00
Javon Thomas
ab6376ac20 Pushing BackdropFilter Mutator (flutter/engine#34355) 2022-08-10 21:36:39 +00:00
Shivesh Ganju
0f4214ccfd [fuchsia][scenic] Reset the state of a PointerInjectorEndpoint on (flutter/engine#35241)
channel closure.

This CL resets the state including cleaning up the buffers whenever
a fuchsia.ui.pointerinjector.Device channel closes due to some error.

Test: flutter_runner_tests
2022-08-10 16:43:59 -04:00
skia-flutter-autoroll
5e1ab4fdac Roll Skia from 0f1018456d33 to 36f230673448 (1 revision) (flutter/engine#35316) 2022-08-10 19:44:11 +00:00
Chris Bracken
93f9caca1f [Windows] Replace memset with C++ alternatives (flutter/engine#35312)
Eliminate a few uses of memset in the code, replacing them with C++
alternatives, like using initialiser list syntax and std::array + fill.
This avoids some double-hardcoding of array length in the code.
2022-08-10 19:40:11 +01:00
skia-flutter-autoroll
4a8e16a763 Roll Skia from 0490292655c4 to 0f1018456d33 (4 revisions) (flutter/engine#35311) 2022-08-10 18:11:34 +00:00
Chris Bracken
2712ac0d4b Support custom entrypoints in public Windows API (flutter/engine#35285)
This adds a dart_entrypoint field to FlutterDesktopEngineProperties in
the public C Windows API, which mirrors that in the embedder API.

When a null or empty entrypoint is specified, a default entrypoint of
'main' is assumed. Otherwise, the app is launched at the top-level
function specified, which must be annotated with
@pragma('vm:entry-point') in the Dart source.

This change is backward-compatible for existing users of the Windows C API
and the C++ client wrapper API. To avoid breaking backward compatibility,
this patch preserves the entry_point parameter to FlutterDesktopEngineRun
in the public Windows C API as well as in the FlutterEngine::Run method
in the C++ client wrapper API. The entrypoint can be specified in either
the engine properties struct or via the parameter, but if conflicting
non-empty values are specified, the engine launch will intentionally fail
with an error message.

This change has no effect on existing Flutter Windows desktop apps and no
migration is required, because our app templates never specify a custom
entrypoint, nor was the option to specify one via the old method particularly
feasible, because the FlutterViewController class constructor immediately
invokes FlutterViewControllerCreate which immediately launches the engine
passed to it with a null entrypoint argument, so long as the engine is not
already running. However, running the engine without a view controller
previously resulted in errors due to failure to create a rendering surface.

This is a followup patch to https://github.com/flutter/engine/pull/35273
which added support for running Dart fixture tests with a live Windows
embedder engine.

Fixes: https://github.com/flutter/flutter/issues/93537
Related: https://github.com/flutter/flutter/issues/87299
2022-08-10 18:31:03 +01:00
Casey Hillers
3cd175fdd4 Revert "Roll Dart SDK from f06ac8474569 to c0767c028f74 (1 revision) … (flutter/engine#35309) 2022-08-10 17:26:12 +00:00
skia-flutter-autoroll
3ae328c325 Roll Skia from e83282daf351 to 0490292655c4 (2 revisions) (flutter/engine#35308) 2022-08-10 17:00:45 +00:00
Bernardo Eilert Trevisan
c4baaae085 [Impeller] Color matrix color filter implementation. (flutter/engine#35284) 2022-08-10 16:47:17 +00:00
skia-flutter-autoroll
b726529cfe Roll Fuchsia Linux SDK from bmiwbb8nY... to OkIFye3iR... (flutter/engine#35307) 2022-08-10 16:25:31 +00:00
Chris Bracken
9215e15d91 Add FLUTTER_DEPRECATED macro and flutter_macros.h (flutter/engine#35293)
Adds a new header, flutter_macros.h which includes a FLUTTER_DEPRECATED
macro that can be used to mark deprecated API as such, with a
hopefully-informative message, ideally describing the expected removal
version and any migration tips.

This will need to be #included in flutter_windows.h and flutter_linux.h,
but prior to doing so, we'll need to update the engine recipe to bundle
the new header, here:
https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/engine/engine.py#1457

No tests since this adds a compiler macro that will be used for future
C/C++ API deprecation once the above recipe change has landed;
specifically: FlutterDesktopEngineProcessMessages.

Related: https://github.com/flutter/flutter/issues/93537
2022-08-10 17:23:09 +01:00
Chris Bracken
41609b4521 Formatting: Correct whitespace in flutter_export.h (flutter/engine#35292)
Fixes a minor whitespace inconsistency on the documentation for
FLUTTER_EXPORT.

No test change since there is no change to code semantics.

Related: https://github.com/flutter/flutter/issues/93537
2022-08-10 17:22:01 +01:00
Kaushik Iska
2c560b5e74 [Impeller] [vulkan] Implement command pool and sampler library (flutter/engine#35282) 2022-08-10 08:49:44 -07:00
skia-flutter-autoroll
23153dcdeb Roll Skia from 497fdaa6f647 to e83282daf351 (5 revisions) (flutter/engine#35305) 2022-08-10 15:47:08 +00:00
skia-flutter-autoroll
c43498dffa Roll Fuchsia Mac SDK from 72lnik6ZJ... to tdJUKQ0dM... (flutter/engine#35306) 2022-08-10 15:42:12 +00:00
skia-flutter-autoroll
7f04b72091 Roll Skia from 63059a86098e to 497fdaa6f647 (2 revisions) (flutter/engine#35304) 2022-08-10 14:34:04 +00:00
skia-flutter-autoroll
36a7ff2067 Roll Skia from 77790f1d931e to 63059a86098e (1 revision) (flutter/engine#35303) 2022-08-10 13:18:09 +00:00
skia-flutter-autoroll
d7b9c0c9ad Roll Dart SDK from c0767c028f74 to 8a0afacdbf9a (1 revision) (flutter/engine#35300) 2022-08-10 10:46:19 +00:00
skia-flutter-autoroll
5ff607742c Roll Skia from 6d371c8f05a8 to 77790f1d931e (1 revision) (flutter/engine#35301) 2022-08-10 10:43:05 +00:00
skia-flutter-autoroll
c893a3b33d Roll Skia from bfbc0c9abd67 to 6d371c8f05a8 (1 revision) (flutter/engine#35297) 2022-08-10 07:02:04 +00:00
skia-flutter-autoroll
ae5acaf4c5 Roll Dart SDK from f06ac8474569 to c0767c028f74 (1 revision) (flutter/engine#35296) 2022-08-10 06:48:04 +00:00
skia-flutter-autoroll
31e36efa97 Roll Skia from 0cc4b51ab9d5 to bfbc0c9abd67 (1 revision) (flutter/engine#35295) 2022-08-10 05:50:04 +00:00
ColdPaleLight
2077ba5ed2 Make 'DlImageColorSource' work with 'DlImage's (flutter/engine#35258) 2022-08-10 05:47:06 +00:00
skia-flutter-autoroll
8b12671825 Roll Dart SDK from 7f93725357f4 to f06ac8474569 (1 revision) (flutter/engine#35294) 2022-08-10 02:28:05 +00:00
skia-flutter-autoroll
9b3c9ec3c4 Roll Fuchsia Linux SDK from n-AJfzUMF... to bmiwbb8nY... (flutter/engine#35290) 2022-08-10 02:18:05 +00:00
skia-flutter-autoroll
aab17a4492 Roll Fuchsia Mac SDK from eJH_BpC8V... to 72lnik6ZJ... (flutter/engine#35289) 2022-08-10 01:41:05 +00:00
Chinmay Garde
8f1be066e5 [Impeller] Enable support for Apple Silicon Macs and tvOS devices. (flutter/engine#35287) 2022-08-10 01:31:05 +00:00
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
skia-flutter-autoroll
2d81697fe4 Roll Dart SDK from ac425a3ae2b1 to 7f93725357f4 (1 revision) (flutter/engine#35277) 2022-08-09 22:13:04 +00:00