-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDL1 version too old #88
Comments
The plan is to replace with sdl12-compat |
We've seen actual SDL-1.2 perform much better than SDL2 for software-rendered games on other platforms. |
I would prefer to fix the performance issue rather than attempt to do stuff that may not be relevant to issue. The performance will depend on the system interface exposed by SDL, not the SDL library version. At least try to use sdl12-compat to ensure the issue is not with the API usage difference. |
On these other platforms, I think the main difference is that SDL-1.2 allows drawing directly to the framebuffer, whereas SDL2 always requires GPU support, so there is an additional copy on every frame. So for old school software-rendered games, SDL2 is always slower than SDL1. |
You can avoid using the GPU pipeline in SDL2 by using |
Is that something specifically of PS2? Or is it a general assumption? |
We'd like to try out a game (DevilutionX) with SDL1 instead of SDL2 to see how it affects performance but the SDL1 version here is too old (1.2.8). Would it possible to update SDL1 to at least 1.2.10, or, ideally, the current upstream https://github.com/libsdl-org/SDL-1.2?
The text was updated successfully, but these errors were encountered: