| Summary: | Add support for ABGR format in DirectFB renderer | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Alexandre <rockytvbr+libsdl> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.8 | ||
| Hardware: | All | ||
| OS: | Windows 10 | ||
| Attachments: | Patch that adds support for DirectFB ABGR format | ||
It was tested on a Moto X (ghost) via postmarketOS. Link to the issue: https://gitlab.com/postmarketOS/osk-sdl/issues/85 Patch added, thanks! https://hg.libsdl.org/SDL/rev/ee7f3955c9fb |
Created attachment 3283 [details] Patch that adds support for DirectFB ABGR format DirectFB supports 32-bit ABGR pixel format via DSPF_ABGR, but SDL doesn't map SDL_PIXELFORMAT_ABGR8888 to DSPF_ABGR. A patch is attached and should add support for ABGR pixel format devices.