The Impeller Rendering Pipeline
To achieve 120 FPS, you must understand how a frame is born.
- Animate: Update logic based on time.
- Build: Build the widget tree (which we will minimize).
- Layout: Determine sizes.
- Paint: This is where Impeller shines. It records commands into a Display List.
- Rasterize: The GPU takes the commands and turns them into pixels.
Unlike Skia, Impeller pre-compiles shaders during build-time, not run-time. This eliminates "first-run jank."