Closed Bug 2018860 Opened 8 months ago Closed 7 months ago

WebGL with WebRender layer compositor on Wayland does not use overlay

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox148 --- unaffected
firefox149 --- unaffected
firefox150 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files, 4 obsolete files)

Tested with the following with pref gfx.webrender.layer-compositor = true and pref gfx.webrender.compositor.force-enabled = true.

https://webglsamples.org/aquarium/aquarium.html

Depends on: 2018097
Attached patch temporal patch - Add log (obsolete) — — Splinter Review

From Attachment 9547452 [details] [diff], the WebGL image was not on picture surface.

Severity: -- → S3
Assignee: nobody → sotaro.ikeda.g
Attached patch temporal patch - Add log (obsolete) — — Splinter Review
Attachment #9547452 - Attachment is obsolete: true
Attached patch temporal patch - Add log (obsolete) — — Splinter Review
Attachment #9547786 - Attachment is obsolete: true
Attached patch temporal patch - Add log (obsolete) — — Splinter Review
Attachment #9547788 - Attachment is obsolete: true
Attachment #9547790 - Attachment is obsolete: true

WebGL was rendered to offscreen surface since stacking context had a complex clip. It was decided in push_stacking_context().

With Attachment 9548096 [details] [diff], the problem was addressed. Then rounded clip rect was added by ApplyOverflowClipping(). And the rounded clip rect was set to stacking context.

Checked regression range with the following

./mach mozregression --good 2025-11-01 --pref gfx.webrender.debug.picture-borders:true -a https://webglsamples.org/aquarium/aquarium.html

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=c652bb4f7aa58ff9a36d67390a64f0495381c66d&tochange=8d54cc2c66e9d90b6f297c017c6294c3c6b30edd

Keywords: regression
Regressed by: 2005854
Assignee: sotaro.ikeda.g → nobody

:emilio, can you look into this bug? Bug 2005854 fix seemed to cause this bug.

Flags: needinfo?(emilio)

Seems like the same root cause as bug 2013682, right? If that could be looked into from the graphics team it'd be awesome. I can try but I'm a bit swamped with other things.

Depends on: 2013682
Flags: needinfo?(emilio)

OK, graphics team is going to look into this bug.

Assignee: nobody → sotaro.ikeda.g
See Also: → 2016331
See Also: → 2013682

Confirmed that the patches in Bug 2013682 addressed the problem for me.

Addressed by Bug 2013682 fix.

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → WORKSFORME
See Also: 2013682 →

Think this was supposed to be marked fixed same as bug 2013682

See Also: → 2030880
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: