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

Port Texture to C code #3330

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

MightyJosip
Copy link
Member

@MightyJosip MightyJosip commented Feb 7, 2025

This PR converts pygame._sdl2.video.Texture to C code. It has the implementation of all the Texture methods and attributes. It doesn't have docs/type hints/tests or stuff like that.

Leaving this as the draft atm, because it depends on #3317 and #3327, pushing just for the internal testing purposes

TODO: Check Rect values for draw/update

commit 813f384
Author: Josip Komljenović <[email protected]>
Date:   Wed Jan 29 15:43:45 2025 +0100

    Add interface for _sdl2.video classes

commit 702958c
Author: Josip Komljenović <[email protected]>
Date:   Wed Jan 29 15:38:01 2025 +0100

    Add interface for _sdl2.video classes

commit 081b032
Author: Josip Komljenović <[email protected]>
Date:   Wed Jan 29 15:33:20 2025 +0100

    Add interface for _sdl2.video classes

commit c9ffd1c
Author: Josip Komljenović <[email protected]>
Date:   Wed Jan 29 15:25:10 2025 +0100

    Add interface for _sdl2.video classes
commit 813f384
Author: Josip Komljenović <[email protected]>
Date:   Wed Jan 29 15:43:45 2025 +0100

    Add interface for _sdl2.video classes

commit 702958c
Author: Josip Komljenović <[email protected]>
Date:   Wed Jan 29 15:38:01 2025 +0100

    Add interface for _sdl2.video classes

commit 081b032
Author: Josip Komljenović <[email protected]>
Date:   Wed Jan 29 15:33:20 2025 +0100

    Add interface for _sdl2.video classes

commit c9ffd1c
Author: Josip Komljenović <[email protected]>
Date:   Wed Jan 29 15:25:10 2025 +0100

    Add interface for _sdl2.video classes
@MightyJosip MightyJosip changed the title New texture Port Texture to C code Feb 7, 2025
This was referenced Feb 7, 2025
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.

1 participant