-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While piet provides pixels in rgba order, the X11 server wants an u32 in its native endianness with order argb. I even called a variable argb32_format, but I still did not handle this difference. This commit premultiplies the color component with the alpha, handles the different component order and also converts to the server's endianness. Signed-off-by: Uli Schlachter <[email protected]>
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters