Closed Bug 1979298 Opened 1 year ago Closed 1 year ago

[HDR] Delay publishing new layers untill we have all surfaces painted after LayerSet

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(6 external files)

We should delay painting to layers until we have all set to avoid flickering.

Flags: needinfo?(stransky)

Looks like we also need to delay subsurface unmap until we have a new content as it's not synced:

Destroying a sub-surface takes effect immediately. If you need to synchronize the removal of a sub-surface to the parent surface update, unmap the sub-surface first by attaching a NULL wl_buffer, update parent, and then destroy the sub-surface.

Assignee: nobody → stransky
Attachment #9503602 - Attachment description: WIP: Bug 1979298 [HDR] Don't mark layers rendered if they're only visible → Bug 1979298 [HDR] Don't mark layers rendered if they're only visible r?emilio
Status: NEW → ASSIGNED
Attachment #9503603 - Attachment description: WIP: Bug 1979298 [HDR] Add rendered state → Bug 1979298 [HDR] Add rendered state to layers r?emilio
Attachment #9503604 - Attachment description: WIP: Bug 1979298 [HDR] Rename root WaylandSurface → Bug 1979298 [HDR] Rename root WaylandSurface to mRootSurface r?emilio
Attachment #9503605 - Attachment description: WIP: Bug 1979298 [HDR] Allow to delay commit to root surface → Bug 1979298 [HDR] Delay commit to root WaylandSurface unless we have all changes in place to avoid flickering r?emilio
Attachment #9503606 - Attachment description: WIP: Bug 1979298 [HDR] Add more debugging/logs → Bug 1979298 [HDR] Add more debugging/logs to NativeLayerWayland r?emilio
Attachment #9503607 - Attachment description: WIP: Bug 1979298 [HDR] Use delayed unmap → Bug 1979298 [HDR] Delay unmap of removed layers until we have new content available r?emilio
Flags: needinfo?(stransky)
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: