mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-22 12:45:15 +00:00
This moves all the rendering to a command list that is flushed to the GL as necessary, making most common activities upload a single vertex buffer per frame and dramatically reducing state changes. In pathological cases, like Emscripten running on iOS's Safari, performance can go from a dozen draw calls killing your performance to 1000 draw calls running smoothly. This is work in progress, and not ready to ship. Among other things, it has a hardcoded array that isn't checked for overflow. But the basic idea is sound! |
||
---|---|---|
.. | ||
direct3d | ||
direct3d11 | ||
metal | ||
opengl | ||
opengles | ||
opengles2 | ||
psp | ||
software | ||
SDL_d3dmath.c | ||
SDL_d3dmath.h | ||
SDL_render.c | ||
SDL_sysrender.h | ||
SDL_yuv_sw.c | ||
SDL_yuv_sw_c.h |