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

Allow using 8bit alpha textures in CGImage #275

Open
ephemer opened this issue Dec 13, 2018 · 0 comments
Open

Allow using 8bit alpha textures in CGImage #275

ephemer opened this issue Dec 13, 2018 · 0 comments

Comments

@ephemer
Copy link
Member

ephemer commented Dec 13, 2018

Motivation

We want to be able to support 8bit textures in order to reduce the occurrence of OutOfMemoryErrors in certain situations. SDL_gpu uses 32bit textures by default, so this change would reduce memory usage by at least 75% in many situations.

Proposed solution

We'd need to use bgfx or another renderer, because SDL_gpu doesn't seem to support anything but its default setting.

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