Sam Lantinga
Sam Lantinga
> Seems to be working well on my end, thanks! RenderDoc shows the draw calls I'd expect to be batched together as batched. Performance on my app now seems comparable...
> The PR looks okay to me, is there a reason not to merge it at this point? Too large a change for 3.4.0 at this point? No, it's fine,...
Fixed, thanks!
> Looks like D3D9 is still missing batching. Good point, this is fixed in https://github.com/libsdl-org/SDL/commit/5bed8ec60396117e95589128ef8909486112cd84
I can repro with Vulkan as well as D3D. I'll have to check whether the software renderer or the 3D renderer is correct.
9b454a762c188abb4a191ded6f95e6afc7411d74 fixes metal and the D3D renderers, and a036aeda3b27ce7e115ebf25e717adf0bdabe91e does the final step to fix this for Vulkan.
Yes, we don't build in color name support by default because of the size of the table, but you can define EXTENDED_XPM_COLORS when compiling IMG_xpm.c to get the full list.
Can you retarget this PR for SDL3?
Yeah, we'll need official permission from @berarma to relicense code based on their work under the Zlib license for SDL.
Hi @Kethen, it sounds like you have permission from the authors to use this code. Great job! Can you please note that on the SDL3 PR and link to the...