Skip to content
Marc Flerackers edited this page Sep 1, 2024 · 5 revisions

The group component will mark a subtree as static content whose render data needs to be stored on the GPU and reused every frame.

This needs support from:

  • Render redirection. Render redirection or the Picture API allows for render commands to be captured and replayed. It will probably be an API similar to Framebuffer/Canvas, but instead of rendering, the drawing commands are send as vertex/index buffer data to a Picture which stores it on the GPU. Drawing the Picture just renders the data already prepared in the GPU.
  • Group component. Marking a node and everything under it as a group. Also holds the prepared picture.
  • Internal treewalk draw function. This function currently redirects drawing to Framebuffer and Mask. It needs to be adapted to redirect to a Picture.

Clone this wiki locally