GPU acceleration moves suitable rendering work from the main CPU to the graphics processing unit. Browsers can promote an element into its own paint layer, send that layer to the GPU, and composite it into the final image. section 16.3.1
The practical trade-offs are:
- Opacity and transform changes can avoid repeatedly repainting the main layer during animation. section 16.3.1
- Layer promotion can speed rendering, but additional layers consume more memory. section 16.3.1
- The benefit matters most for animations that update many times per second, not usually for one-time changes. section 16.3.1
Figure 16.12 The three stages of the rendering pipeline
Trace how layout, painting, and compositing combine painted layers into the displayed image. section 16.3.1


