21625 Commits

Author SHA1 Message Date
Harry Terkelsen
e8d9ea46c2 Revert "Revert "Reland "Default the CanvasKit base URL to local artifacts. (#40293)" (#40470)" (#40700)" (flutter/engine#40717)
This reverts commit aee0a1a6db53cfdada6d00fe50a94c3216950bb6.
2023-03-28 17:21:10 -07:00
Jonah Williams
7f5d6b4697 [Impeller] support half precision uniforms and half precision samplers (flutter/engine#40590)
[Impeller] support half precision uniforms and half precision samplers
2023-03-28 23:08:05 +00:00
Jonah Williams
1455e7f03d [Impeller] Allow metal shaders to compile through SPIR-V with openGL semantics. (flutter/engine#40616)
[Impeller] Allow metal shaders to compile through SPIR-V with openGL semantics.
2023-03-28 23:08:03 +00:00
David Iglesias
4fe214f62a Reland "[web] Accepts assetBase through JS config. (#40615)" (flutter/engine#40677)
Reland "[web] Accepts assetBase through JS config. (#40615)"
2023-03-28 20:21:56 +00:00
Loïc Sharma
2686501928 [macOS] Use the new update semantics embedder API (flutter/engine#40584)
[macOS] Use the new update semantics embedder API
2023-03-28 20:18:50 +00:00
Chinmay Garde
ca081b4928 [Impeller] Enable CanRenderInstance and CanCreateCPUBackedTexture on Vulkan. (flutter/engine#40722)
[Impeller] Enable CanRenderInstance and CanCreateCPUBackedTexture on Vulkan.
2023-03-28 20:17:52 +00:00
skia-flutter-autoroll
a26cf7356b Roll Skia from 20e334d13467 to a3f3c11dfd50 (3 revisions) (flutter/engine#40721)
Roll Skia from 20e334d13467 to a3f3c11dfd50 (3 revisions)
2023-03-28 20:04:23 +00:00
joshualitt
bf360f6176 Reland "[web] Migrate canvaskit_api to JS types." (flutter/engine#40613) 2023-03-28 13:03:34 -07:00
Zachary Anderson
f0c70c7619 Handle removed shaders more gracefully in malioc_diff.py (flutter/engine#40720)
Handle removed shaders more gracefully in malioc_diff.py
2023-03-28 19:42:05 +00:00
Brandon DeRosier
155e6ccbf2 [Impeller] Absorb DrawPaints at the beginning of EntityPasses (flutter/engine#40675) 2023-03-28 12:33:21 -07:00
skia-flutter-autoroll
77ccb6fc1e Roll Skia from c55605969a59 to 20e334d13467 (22 revisions) (flutter/engine#40716)
Roll Skia from c55605969a59 to 20e334d13467 (22 revisions)
2023-03-28 17:45:33 +00:00
Mouad Debbar
13a74dcec7 [web] Print screenshot paths at the right spot (flutter/engine#40714)
[web] Print screenshot paths at the right spot
2023-03-28 16:47:05 +00:00
Jason Simmons
504f891d91 Reland "Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule (#40582)" (flutter/engine#40698)
Reland "Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule (#40582)"
2023-03-28 14:30:17 +00:00
joshualitt
26a9aed7bb Reland "[web] Add js_types sources to build." (flutter/engine#40692) 2023-03-28 07:01:22 -07:00
skia-flutter-autoroll
1e1dfec24e Roll Fuchsia Linux SDK from jlj9dbwYl_4cILVwQ... to JH1CUJ3kBRCcQn2AI... (flutter/engine#40708)
Roll Fuchsia Linux SDK from jlj9dbwYl_4cILVwQ... to JH1CUJ3kBRCcQn2AI...
2023-03-28 09:34:59 +00:00
Chinmay Garde
0e25057ef6 [Impeller] Cleanup unusued Vulkan APIs and enable more tests. (flutter/engine#40696)
[Impeller] Cleanup unusued Vulkan APIs and enable more tests.
2023-03-28 08:18:05 +00:00
Brandon DeRosier
cc18a4da6f [Impeller] Fix EntityPass target flip (flutter/engine#40701) 2023-03-28 01:09:50 -07:00
Harry Terkelsen
158cf5c52a Revert "[canvaskit] Use FontCollection API from CanvasKit to mitigate caching issues (#40673)" (flutter/engine#40705)
Revert "[canvaskit] Use FontCollection API from CanvasKit to mitigate caching issues"
2023-03-28 07:52:21 +00:00
Harry Terkelsen
7f23c4f85f [canvaskit] Use FontCollection API from CanvasKit to mitigate caching issues (flutter/engine#40673)
[canvaskit] Use FontCollection API from CanvasKit to mitigate caching issues
2023-03-28 06:02:09 +00:00
Kevin Chisholm
aee0a1a6db Revert "Reland "Default the CanvasKit base URL to local artifacts. (#40293)" (#40470)" (flutter/engine#40700)
Revert "Reland "Default the CanvasKit base URL to local artifacts.""
2023-03-28 04:49:13 +00:00
Michael Goderbauer
a508065bbc Reland "Post 3.0 lint sync (#40394)" (flutter/engine#40688)
Reland "Post 3.0 lint sync (#40394)"
2023-03-28 03:25:02 +00:00
Chris Bracken
787ed3f63c [macOS] Eliminate explicit main window init() (flutter/engine#40695)
[macOS] Eliminate explicit main window init()
2023-03-28 01:31:20 +00:00
Jackson Gardner
82886d52b3 Web test reorganization (flutter/engine#39984)
Web test reorganization
2023-03-28 00:08:48 +00:00
gaaclarke
b9fe5d10f1 Improved readme for golden tests. (flutter/engine#40679)
Improved readme for impeller golden tests.
2023-03-27 23:24:53 +00:00
Brandon DeRosier
9e9590a68f Revert "Post 3.0 lint sync (#40394)" (flutter/engine#40687)
This reverts commit 8ba209121d2671b0d202d9731fe67ec5eb1529b4.
2023-03-27 15:45:59 -07:00
Brandon DeRosier
2af281a806 Revert "Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule (#40582)" (flutter/engine#40686)
This reverts commit 33dd135fc0034f0fc4dcb8803721d9a77d35852a.
2023-03-27 15:40:29 -07:00
joshualitt
92ca1327a6 Revert "[web] Add js_types sources to build. (#40597)" (flutter/engine#40685)
This reverts commit c14d10c2b110fc04b45e487bb07b38a8acea5026.
2023-03-27 15:37:58 -07:00
Brandon DeRosier
5b4b920911 [Impeller] Fix Impeller Metal wide gamut (flutter/engine#40671) 2023-03-27 13:26:34 -07:00
bungeman
13b279990a Simplify SkFontMgr classes for sk_sp (flutter/engine#40627)
These subclasses were previously made very generic to work with both the
pre-sk_sp version of SkFontMgr and the using-sk_sp version of SkFontMgr.
Now that SkFontMgr uses sk_sp for return types, simplify the subclasses.
2023-03-27 16:06:07 -04:00
Jason Simmons
33dd135fc0 Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule (flutter/engine#40582)
Return an empty JavaScript object as a replacement for exports/module in patchCanvasKitModule
2023-03-27 20:04:28 +00:00
joshualitt
c14d10c2b1 [web] Add js_types sources to build. (flutter/engine#40597) 2023-03-27 13:03:57 -07:00
skia-flutter-autoroll
286aed32aa Roll Skia from 4ca827754bc1 to c55605969a59 (5 revisions) (flutter/engine#40668)
Roll Skia from 4ca827754bc1 to c55605969a59 (5 revisions)
2023-03-27 19:50:33 +00:00
Jonah Williams
fffe7e4cb9 [Impeller] initialize text alpha to 1.0 (flutter/engine#40667)
[Impeller] initialize text alpha to 1.0
2023-03-27 19:46:32 +00:00
David Iglesias
34a936b07e Revert "[web] Accepts assetBase through JS config. (#40615)" (flutter/engine#40670)
This reverts commit e0be0c5676f56ef918eb806e1173346dcbadbe5b.

This commit is causing problems with new lint rules:

```
   info - test/engine/assets_test.dart:5:1 - This annotation must be attached to a library directive. Try attaching library annotations to library directives. - library_annotations
```
2023-03-27 12:07:01 -07:00
David Iglesias
e0be0c5676 [web] Accepts assetBase through JS config. (flutter/engine#40615)
[web] Accepts assetBase through JS config.
2023-03-27 17:43:47 +00:00
Brandon DeRosier
d9140ba50c [Impeller] Document EntityPass, make positioning less confusing (flutter/engine#40636) 2023-03-27 10:39:20 -07:00
Michael Goderbauer
8ba209121d Post 3.0 lint sync (flutter/engine#40394)
Post 3.0 lint sync
2023-03-27 17:15:08 +00:00
Filip Filmar
c68289bb76 Remove timezone from flutter (flutter/engine#40588)
Remove timezone from flutter
2023-03-27 17:08:05 +00:00
dependabot[bot]
8ca44c985b Bump actions/checkout from 3.4.0 to 3.5.0 (flutter/engine#40662)
Bump actions/checkout from 3.4.0 to 3.5.0
2023-03-27 09:47:23 +00:00
skia-flutter-autoroll
1d2f54a1d6 Roll Skia from 4d02e783654f to 4ca827754bc1 (2 revisions) (flutter/engine#40659)
Roll Skia from 4d02e783654f to 4ca827754bc1 (2 revisions)
2023-03-27 07:58:38 +00:00
Chinmay Garde
3ec046f92c [Impeller] Remove verbose validation logs in the Vulkan pipeline cache. (flutter/engine#40651)
[Impeller] Remove verbose logs in the Vulkan pipeline cache.
2023-03-26 22:59:21 +00:00
Brandon DeRosier
74ad3dd70f [Impeller] Fix stroke cap disconnection (flutter/engine#40643) 2023-03-26 12:34:20 -07:00
Brandon DeRosier
7340201478 [Impeller] Fix accumulating translucency opacity peephole bug (flutter/engine#40639) 2023-03-26 12:33:11 -07:00
Brandon DeRosier
fba3461d8c [Impeller] Fix AtlasContents crash (flutter/engine#40637) 2023-03-26 12:32:49 -07:00
Brandon DeRosier
7cfb268a9a [Impeller] Keep impeller scene build working (flutter/engine#40635) 2023-03-26 12:32:13 -07:00
Chinmay Garde
96948d3d5a [Impeller] Enable RendererTest::TheImpeller for Vulkan. (flutter/engine#40634)
[Impeller] Enable RendererTest::TheImpeller for Vulkan.
2023-03-26 19:09:18 +00:00
skia-flutter-autoroll
1401f27256 Roll Fuchsia Linux SDK from smNcvjxC6Ja3FkteX... to y4h2rtyt6Mx8xHEte... (flutter/engine#40647)
Roll Fuchsia Linux SDK from smNcvjxC6Ja3FkteX... to y4h2rtyt6Mx8xHEte...
2023-03-26 15:16:09 +00:00
Chinmay Garde
753e03413a [Impeller] More sundry fixes to the Vulkan backend. (flutter/engine#40603)
* Fix mip-map generation in unit-tests where the command buffer was not
  submitted.
* Cleanup descriptor counts being always 1 in Vulkan code-gen.
* Reworked capabilities. Platforms can add to the base capability set.
* Vulkan backend picks between more available color and stencil formats.
* Descriptor pools are dynamically sized.
* Layout transitions are more explicit. Both allocated and swapchain images
  track their own layouts and redundant transitions are avoided.
* Objects active in a pending command buffer are collected but the waits happen
  on a separate fence waiter. Thread is named
  "io.flutter.impeller.fence_waiter".
* Added queue and command buffer instant markers for better traces.
* Command pools and their buffers are now thread local. Fixes sync validation
  failure.
* Debug reports are now more readable and command buffer and queue breadcrumbs
  will be displayed on a validation report.
* Staging buffers are back.
* Pipeline caches have been wired up. After 50 frames, the current Vulkan
  pipeline cache will be written out to disk for subsequent launches. Writes
  will happen on a background worker.
* Runtime stages have been wired up. But the build rules to provide the right
  stages are still remaining.

Fixes https://github.com/flutter/flutter/issues/121536
Fixes https://github.com/flutter/flutter/issues/121627
Fixes https://github.com/flutter/flutter/issues/121632
Fixes https://github.com/flutter/flutter/issues/120499
2023-03-25 13:40:19 -07:00
skia-flutter-autoroll
a474b1809f Roll Skia from 497dc2e1f01f to 17bce5f4f78f (2 revisions) (flutter/engine#40629)
Roll Skia from 497dc2e1f01f to 17bce5f4f78f (2 revisions)
2023-03-25 18:08:24 +00:00
skia-flutter-autoroll
cab301a5fe Roll Fuchsia Linux SDK from jdkyVHuAgQFiwEVQj... to 6JDOgmv1GqjN0MccU... (flutter/engine#40622)
Roll Fuchsia Linux SDK from jdkyVHuAgQFiwEVQj... to 6JDOgmv1GqjN0MccU...
2023-03-25 09:11:25 +00:00