-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.perf: speedPerformance issues related to (mostly rendering) speedPerformance issues related to (mostly rendering) speed
Milestone
Description
This issue is now fixed. Please see how to use it on https://flutter.dev/docs/perf/rendering/shader.
=====
This tracks our short-term solution of #32170 that's based on SkSL (Skia shader language).
- Automatic shader-compile jank removal using SkSL precompile for customer: dream Automatic shader-compile jank removal using SkSL precompile for customer: dream #40686
- Create service protocols to read back generated SkSLs Create service protocols to read back generated SkSLs #53114
- Connect flutter tools to VM service callback to pull sksl files from device Connect flutter tools to VM service callback to pull sksl files from device #53116
- Add support for --sksl-shader-warmup to package sksl files into flutter_assets Add support for --sksl-shader-warmup to package sksl files into flutter_assets #53115
- Allow reading SkSLs artifacts from a special asset subdirectory Allow reading SkSLs artifacts from a special asset subdirectory #53117
- Update SkSL bundle format Update SkSL bundle format #55219
- Automatically write SkSLs with --cache-sksl flag Automatically write SkSLs with --cache-sksl flag #54484
- Document how to use SkSL-based shader warmup Document how to use SkSL-based shader warmup #60313
Everything above would allow developers to use SkSL shader warm-up from command lines. We will also add support for IDE plugins #54287 in the future.
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.perf: speedPerformance issues related to (mostly rendering) speedPerformance issues related to (mostly rendering) speed