Skip to content

Remove legacy smoothscale backends #3927

Description

@Starbuck5

In pygame-ce 2.4.0, we deprecated the legacy smoothscale backends: #2583.

https://pyga.me/docs/ref/transform.html#pygame.transform.smoothscale
https://pyga.me/docs/ref/transform.html#pygame.transform.set_smoothscale_backend
https://pyga.me/docs/ref/transform.html#pygame.transform.set_smoothscale_backend

Since we're in development on 3.0 right now, this is the perfect time to remove them, remove and simplify old code, and remove legacy obj files we don't know how to build.

  • Remove references to "scale_mmx", smoothscale MMX/SSE backends from the code and build system
  • Remove old obj files to support this in buildconfig/obj
  • Document change in docs/README-migration.md (create it if Andrew's PR creating it hasn't been merged yet)
  • Update tests/transform_test.py with these changes

After this is done, we will only be able to switch between generic and sse2 backends with these functions, and we do not have similar functions for any other SIMD accelerators, so maybe we should go back to the 2.0 branch, deprecate the functions entirely, and then remove them in SDL3. - This is a follow up idea not part of this issue scope.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions