Closed Bug 1476876 Opened 6 years ago Closed 6 years ago

Make FlushRendering async if DComp is used on Windows with WebRender

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file, 2 obsolete files)

Since Bug 1380462, FlushRendering is always sync. But with WebRender, it seems possible to became async again if possible.
Assignee: nobody → sotaro.ikeda.g
When layers.force-synchronous-resize was false and dcomp was disabled , attachment 8885890 [details] caused jiggle during resizing. But when dcomp was enabled, attachment 8885890 [details] did not cause the problem.
When dcomp was enabled, it also enables compositor window in gpu process. It might be related.
Only using compositor window suppressed majority of jiggles, but I saw jiggle a few times. But with "dcomp + compositor window", I did not saw the jiggles.
Summary: Make FlushRendering async if possible on Windows with WebRender → Make FlushRendering async if DComp is used on Windows with WebRender
attachment 8993279 [details] [diff] [review] addressed the problem for me. I checked it on my 2 Windows 10 PCs.
Attachment #8993279 - Flags: review?(nical.bugzilla)
Comment on attachment 8993279 [details] [diff] [review] patch - Make FlushRendering async if DComp is used on Windows with WebRender Review of attachment 8993279 [details] [diff] [review]: ----------------------------------------------------------------- The review is purely on the cosmetic side of things since I don't know how direct composition affects resize synchronization.
Attachment #8993279 - Flags: review?(nical.bugzilla) → review+
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/94fe6b1becfa Make FlushRendering async if DComp is used on Windows with WebRender r=nical
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
See Also: → 1380462
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: