Skip to content

Allow using 8bit alpha textures in CGImage #275

@ephemer

Description

@ephemer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions