What problem does it solve?
Makepad 2.0 apps suffer from invisible text, hover glitches, scroll stuttering, and GC pauses caused by its batched GPU draw pipeline and Splash VM memory model. This Skill explains the root causes and provides concrete fixes for each performance and rendering issue.
Core Features & Use Cases
- Draw Batching Fixes: Explains when
new_batch: true is required to prevent text rendering behind backgrounds, including the common hover-disappearing-text bug.
- GC Tuning: Covers
mod.gc.set_static(), run(), and run_status() for controlling the mark-sweep collector and reducing GC pause times in long-running apps.
- Render Optimization: Details the
on_render / .render() pull-based model, texture caching with ViewOptimize, and PortalList virtualization for large lists.
- Use Case: Your Makepad app's list items lose their text on hover and scrolling stutters with 1000 rows. Apply
new_batch: true to item templates and migrate the list to PortalList for constant-time scrolling.
Quick Start
Ask the AI to diagnose why Label text is invisible inside a RoundedView with a background color in your Makepad 2.0 app.