-
Notifications
You must be signed in to change notification settings - Fork 68
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
Screen mode cleanup and extended API #730
Commits on Nov 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1d4e9c8 - Browse repository at this point
Copy the full SHA 1d4e9c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for eade9af - Browse repository at this point
Copy the full SHA eade9afView commit details -
Avoid using a full Surface for each screen mode
Adds a struct containing only the data/size/format, which is all that was used from those Surfaces. Reduces the size per mode from 84 to 20 bytes and gets them out of RAM
Configuration menu - View commit details
-
Copy full SHA for 7075748 - Browse repository at this point
Copy the full SHA 7075748View commit details -
Don't bother recreating SDL textures on resize
They're based on sys_width/height, which doesn't change on resize
Configuration menu - View commit details
-
Copy full SHA for f7a3b0f - Browse repository at this point
Copy the full SHA f7a3b0fView commit details -
More generic SDL update_texture
Merge the two simple cases, handle lores palette (not a thing yet)
Configuration menu - View commit details
-
Copy full SHA for b1bf1c0 - Browse repository at this point
Copy the full SHA b1bf1c0View commit details -
Add a new set_screen_mode that takes a format
Uses a new API that takes a template struct and fills it. Also adds lores palette support.
Configuration menu - View commit details
-
Copy full SHA for 0e4ce3f - Browse repository at this point
Copy the full SHA 0e4ce3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c07781c - Browse repository at this point
Copy the full SHA c07781cView commit details -
Loosely based on the PR Co-Authored-By: Alistair Buxton <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b4881c - Browse repository at this point
Copy the full SHA 6b4881cView commit details -
Basically just changing the source format to the DMA2D copies
Configuration menu - View commit details
-
Copy full SHA for d5986dc - Browse repository at this point
Copy the full SHA d5986dcView commit details
Commits on Nov 26, 2021
-
Call the "engine" set_screen_mode in SDL init
Unbreaks everything that uses the default mode
Configuration menu - View commit details
-
Copy full SHA for d21aa9d - Browse repository at this point
Copy the full SHA d21aa9dView commit details