Skip to content

Significantly speed up headless mode by rendering at 1x1#187

Merged
MrPowerGamerBR merged 1 commit into
ButterscotchRunner:mainfrom
Un1q32:sdl1-tweaks
Jun 4, 2026
Merged

Significantly speed up headless mode by rendering at 1x1#187
MrPowerGamerBR merged 1 commit into
ButterscotchRunner:mainfrom
Un1q32:sdl1-tweaks

Conversation

@Un1q32
Copy link
Copy Markdown
Contributor

@Un1q32 Un1q32 commented Jun 4, 2026

On my machine under WSL2 with GLFW3 and the modern-gl renderer this increases the speed of headless mode by about 20%. With the software renderer, performance goes up by like 10x or something insane.

Also fixes headless mode with the software renderer in SDL 1.2 segfaulting.

@Un1q32 Un1q32 changed the title Significantly speed up headless mode by rendering in 1x1 Significantly speed up headless mode by rendering at 1x1 Jun 4, 2026
@MrPowerGamerBR MrPowerGamerBR merged commit 9172a28 into ButterscotchRunner:main Jun 4, 2026
11 checks passed
@Un1q32 Un1q32 deleted the sdl1-tweaks branch June 4, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants