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

Optimize memory use #2

Open
jansol opened this issue Aug 30, 2021 · 0 comments
Open

Optimize memory use #2

jansol opened this issue Aug 30, 2021 · 0 comments

Comments

@jansol
Copy link
Owner

jansol commented Aug 30, 2021

The current implementation works purely on RGBA buffers, and also creates an extra copy of each 4x4 chunk as it is being processed. This is not very ideal and it would be nice to refactor things to allow passing in buffers that don't have extra channels as padding, especially now that one- and two-channel formats are supported.

@jansol jansol transferred this issue from jansol/squish-rs Jul 28, 2022
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

No branches or pull requests

1 participant