You copied the Doc URL to your clipboard.

2.3. Use direct rendering if possible

Typically graphics are drawn to an off-screen buffer and then blitted into the frame buffer for display.

Blitting is an expensive operation that takes time and consumes a lot of memory bandwidth. You can improve performance significantly by avoiding it.

The process of drawing graphics directly into the framebuffer is called direct rendering. If possible, use direct rendering to avoid blitting and increase the performance of your application. Using direct rendering is OS-specific, so see the documentation for your OS to check if it is available and how to use it.

Was this page helpful? Yes No