Skip to content
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

SDL screen mode/size improvements #826

Merged
merged 10 commits into from
Jul 5, 2023

Commits on Jul 1, 2023

  1. Configuration menu
    Copy the full SHA
    7dd867d View commit details
    Browse the repository at this point in the history
  2. sdl: merge setting window position with creation

    This removes some warnings about x/y not being initialised and simplifies the code a bit.
    Daft-Freak committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    aa69ca9 View commit details
    Browse the repository at this point in the history
  3. sdl: map set_screen_mode to set_screen_mode_format

    stm32 and pico are already doing this.
    Daft-Freak committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    8466eaa View commit details
    Browse the repository at this point in the history
  4. sdl: remove the surface templates

    WE only need the size now
    Daft-Freak committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    5eaa862 View commit details
    Browse the repository at this point in the history
  5. sdl: delay mode changes

    screen-mode test now looks as nice as it does on hardware. (+anything running in BlitSim)
    Daft-Freak committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    ac5b9e6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a34e1d6 View commit details
    Browse the repository at this point in the history
  7. Don't use a uint8_t counter for y in Surface::recatngle

    Would end up crashing with surface height > 255. Removing the cast is slightly less code on arm anyway
    Daft-Freak committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    dddd5ee View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0aaa5bb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7bdd9dc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f15cd38 View commit details
    Browse the repository at this point in the history