Re:Dramatically reduced power usage in Firefox 70 on macOS w...
by eyegor on Tuesday October 22, 2019 @03:00PM
(#21327330)
I hope that 'bgra' was at least a typo of 'rgba'
Re:Dramatically reduced power usage in Firefox 70 on macOS w...
by kornholi on Tuesday October 22, 2019 @03:34PM
(#21327677)
BGRA is a "weird" convention in the graphics world that goes back to at least OS/2 bitmaps, when there was no wrong answer, and has stuck since then. Since early GPUs targeted Windows (where BGRA is the native format for GDI/D2D), it makes sense that it made it this far :)
One thing that is not documented is that the IOSurface must have been created with the 'BGRA' pixel format, or it will silently render as black instead.