Commit b383bdfd authored by creativecreatorormaybenot's avatar creativecreatorormaybenot Committed by Michael Goderbauer

Initial (#47831)

parent 9195f81f
...@@ -32,8 +32,9 @@ import 'package:flutter/foundation.dart'; ...@@ -32,8 +32,9 @@ import 'package:flutter/foundation.dart';
/// `CircularRRectOp`) would suggest Xyz draw operations are causing the /// `CircularRRectOp`) would suggest Xyz draw operations are causing the
/// shaders to be compiled. A useful shader warm-up draw operation would /// shaders to be compiled. A useful shader warm-up draw operation would
/// eliminate such long compilation calls in the animation. To double-check /// eliminate such long compilation calls in the animation. To double-check
/// the warm-up, trace with `flutter run --profile --trace-skia --start- /// the warm-up, trace with
/// paused`. The `GrGLProgramBuilder` with the associated `XyzOp` should /// `flutter run --profile --trace-skia --start-paused`.
/// The `GrGLProgramBuilder` with the associated `XyzOp` should
/// appear during startup rather than in the middle of a later animation. /// appear during startup rather than in the middle of a later animation.
/// ///
...@@ -67,8 +68,9 @@ abstract class ShaderWarmUp { ...@@ -67,8 +68,9 @@ abstract class ShaderWarmUp {
/// compilation cache. /// compilation cache.
/// ///
/// To decide which draw operations to be added to your custom warm up /// To decide which draw operations to be added to your custom warm up
/// process, try capture an skp using `flutter screenshot --observatory- /// process, try capture an skp using
/// port=<port> --type=skia` and analyze it with https://debugger.skia.org. /// `flutter screenshot --observatory-uri=<uri> --type=skia`
/// and analyze it with https://debugger.skia.org.
/// Alternatively, one may run the app with `flutter run --trace-skia` and /// Alternatively, one may run the app with `flutter run --trace-skia` and
/// then examine the GPU thread in the observatory timeline to see which /// then examine the GPU thread in the observatory timeline to see which
/// Skia draw operations are commonly used, and which shader compilations /// Skia draw operations are commonly used, and which shader compilations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment