Closed
Bug 1361257
Opened 4 years ago
Closed 4 years ago
Don't synchronously flush rendering on Windows
Categories
(Core :: Graphics: Layers, enhancement)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: dvander, Assigned: dvander)
References
(Depends on 1 open bug)
Details
(Whiteboard: [qf:p3])
Attachments
(1 file)
|
8.08 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
On my Desktop at home, I noticed that we block window opening for about 50ms while waiting for a texture upload in the compositor. On the Quantum Reference machine it's closer to 200ms. We added this synchronous call in bug 873944 to deal with resize issues on Mac. However my understanding is that paints on Windows are asynchronous - the DWM doesn't really care about what happens in WM_PAINT. So we can probably make this call asynchronous on Windows. I don't see any change in resize behavior either way.
| Assignee | ||
Comment 1•4 years ago
|
||
Add PCompositorBridge::FlushRenderingAsync so we can bypass the synchronous path on Windows.
Attachment #8863598 -
Flags: review?(bas)
Comment 2•4 years ago
|
||
Comment on attachment 8863598 [details] [diff] [review] fix Review of attachment 8863598 [details] [diff] [review]: ----------------------------------------------------------------- Please make a pref to override this, I suspect there are configurations in which this will lead to artifacts.
Attachment #8863598 -
Flags: review?(bas) → review+
Pushed by danderson@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9bc797baedf3 Don't synchronously composite when resizing widgets on Windows. (bug 1361257, r=bas)
| Assignee | ||
Updated•4 years ago
|
Whiteboard: [qf:p3]
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9bc797baedf3
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•