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

VideoCommon: move texture dump to a free function #12300

Merged
merged 1 commit into from Nov 26, 2023

Conversation

iwubcode
Copy link
Contributor

This PR moves the texture dump logic out of the texture cache to a free function so that it can be used elsewhere if desired. Some slight changes were made that could be considered a slight performance boost when using this capability (depending on configuration).

@iwubcode
Copy link
Contributor Author

I added this as a free function to a new file called TextureUtils. I am bad with names so if anyone has something else they'd prefer let me know :) . I moved it to a new file both to get it out of texture cache and because I hope to expand on texture operations (and/or move some logic there) in the future.

…wn free function so it can be used elsewhere. Doing this change may also slightly improve performance of this operation
@lioncash lioncash merged commit e8faad3 into dolphin-emu:master Nov 26, 2023
11 checks passed
@iwubcode iwubcode deleted the dump_texture_free_function branch November 26, 2023 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants