Swizzle support in WebRender
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: kvark, Assigned: kvark)
References
Details
(Whiteboard: [wr-q2][wr-may])
Attachments
(3 files)
glTextureStorage doesn't play well with BGRA8 textures on some platforms (MacOS and some Androids). We can work around it by having some of the textures swizzled by WebRender, at the cost of potentially breaking more batches.
Assignee | ||
Comment 1•5 years ago
|
||
allow the swizzle to be configurable with a texture binding
Updated•5 years ago
|
Updated•5 years ago
|
Comment 2•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:kvark, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 3•5 years ago
|
||
No activity on the code side is expected - it's been in discussion.
We need to rework the code a bit to be less principled and catering to GL driver assumptions (accept BGRA inputs for RGBA internal format as a norm, but no windows/linux GL only)
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Getting close to finishing this. One of the missing pieces is handling the blits correctly, in particular ones that are caused by tiled images.
Assignee | ||
Comment 6•5 years ago
|
||
this makes the shader simpler at no cost
Pushed by dmalyshau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/72904ab48c45 WR: Remove the color/alpha feature in cs_scale shader r=jrmuizel
Comment 8•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
looks like a typo that got unnoticed? I wonder how our alpha saved tasks work today :)
Comment 10•5 years ago
|
||
Pushed by dmalyshau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4af33fd2da39 Fix WR saved alpha task sampling r=gw
Comment 11•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Pushed by dmalyshau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bc58681d2407 WR swizzle configuration of texture units r=gw
Comment 13•5 years ago
|
||
bugherder |
Description
•