WebRender should log why it failed to promote a surface
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: bradwerth, Assigned: bradwerth)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
As we rely on surface promotion to support wide color content, it is increasingly important that we can understand why a promotable surface was rejected for promotion. At minimum, we need this to go to gfxDebug
, possibly gfxWarning
. Eventually we should consider exposing this to web authors through the Developer Console or similar mechanism.
Assignee | ||
Comment 2•6 months ago
|
||
This uses the warn macro for promotion errors. It's not clear this will
be useful for web authors, but hopefully it's useful for Firefox
developers.
Currently this spams warnings for unpromoted Image prims, which is not
great. It also doesn't have a great way of identifying which prim is
responsible for the error. I'll try to fix this up before marking this
as ready for review.
Updated•6 months ago
|
Comment 4•6 months ago
|
||
Backed out changeset d4b3fe2e03c6 (bug 1898621) for wrench failures
Backout: https://hg.mozilla.org/integration/autoland/rev/3c7dfdb94c52ad8804b1e40c67bb5cee5b3f5218
Failure log: https://treeherder.mozilla.org/logviewer?job_id=461237047&repo=autoland
Comment 7•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/032081e46073
https://hg.mozilla.org/mozilla-central/rev/c7f221a9e1db
Comment 8•5 months ago
|
||
I asked in #sheriffs for this to be backed out since merge day is monday.
Updated•5 months ago
|
Comment 10•5 months ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/19b15cf93c3a
Assignee | ||
Comment 11•5 months ago
|
||
Sorry for the trouble. I'll figure out the regression issues and re-land this after the merge date.
Comment 12•5 months ago
|
||
Comment 13•5 months ago
|
||
bugherder |
Description
•