We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4229 - Add support for ABGR format in DirectFB renderer
Summary: Add support for ABGR format in DirectFB renderer
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.8
Hardware: All Windows 10
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-15 02:42 UTC by Alexandre
Modified: 2018-08-28 20:37 UTC (History)
0 users

See Also:


Attachments
Patch that adds support for DirectFB ABGR format (1.25 KB, patch)
2018-08-15 02:42 UTC, Alexandre
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre 2018-08-15 02:42:15 UTC
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.
Comment 1 Alexandre 2018-08-19 19:49:41 UTC
It was tested on a Moto X (ghost) via postmarketOS. Link to the issue: https://gitlab.com/postmarketOS/osk-sdl/issues/85
Comment 2 Sam Lantinga 2018-08-28 20:37:35 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/ee7f3955c9fb