Use RGBA instead of BGRA in WebRender
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
People
(Reporter: jgilbert, Unassigned)
References
Details
GL generally really doesn't like BGRA, and it's not as important as it was in the D3D9 days.
As I understand it, our main blocker here is mostly getting RGBA out of the decoders instead of BGRA, which seems actionable.
Using RGBA instead of BGRA cure a lot of ongoing pains in handling GL and GLES's spotty and poor BGRA support.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
WebRender still have to support both, it's more of a question which one to prefer.
The work has been going in 1548339 to address this.
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to Dzmitry Malyshau [:kvark] from comment #1)
WebRender still have to support both, it's more of a question which one to prefer.
The work has been going in 1548339 to address this.*** This bug has been marked as a duplicate of bug 1548339 ***
Can you elaborate on why both need to be supported?
For example, WebGL uses only RGBA.
Comment 3•6 years ago
|
||
Consulted with :jrmuizel once more, we have currently two sources of BGRA data: Skia and ImageLib. The latter can be fixed, at least :aosmond have a plan to do so. It's not entirely clear if the former is easy to fix.
Description
•