Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Optimized Skia C++ Whiteboard
·
Module 10
Advanced Rendering Optimizations
1
Optimizing Redraws with Dirty Rectangles
Track modified screen areas using 'dirty rectangles' to identify regions that need redrawing.
2
Optimizing Redraws: Clipping to Dirty Rectangles
Clip drawing operations to the union of all dirty rectangles for a frame to avoid full-screen redraws.
3
Intermediate Data Structures for Skia Commands
Design an intermediate data structure to represent a single Skia draw command (e.g., path, paint state).
4
GPU Batching for Render Passes
Implement a render pass that records, sorts by state, and executes draw commands to enable GPU batching.
Previous module
Spatial Indexing for Render Culling
Next module
Document Serialization