VOOZH about

URL: https://www.phoronix.com/news/SDL3-Batch-Rendering

⇱ SDL3 Now Implements Render Batching For Direct3D, Metal & Vulkan - Phoronix


👁 Phoronix

SDL3 Now Implements Render Batching For Direct3D, Metal & Vulkan

Written by Michael Larabel in Free Software on 11 November 2025 at 05:45 AM EST. 14 Comments
The SDL3 library that is popular with cross-platform games for abstracting various software/hardware features has implemented render batching for its built-in rendering API. This render batching is successfully wired up now for Direct3D 11/12, Apple Metal, and Vulkan APIs for more efficient graphics rendering.

Render batching is important for lowering CPU overhead and increasing overall efficiency by allowing multiple calls to be combined into a single draw call on the GPU. When dealing with the same material this can lead to a significant performance improvement -- for those using SDL's render interface.

For over two years has been a bug report noting SDL's lack of batch rendering support for the SDL_Render interface. Sam Lantinga with Valve implemented the batch rendering and noted in that bug report this week that "it turns out this was pretty easy to do" and so he went ahead and implemented it.

👁 SDL logo


This merge on Monday landed the render batching for the D3D11, D3D12. Metal, and Vulkan back-ends.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.