Closed
Bug 1678493
Opened 4 years ago
Closed 4 years ago
Restrict SwCompositor compositing to the dirty rect
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
85 Branch
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
Attachments
(4 files)
SwCompositor currently composites the entire area of the framebuffer every frame, regardless of what dirty rect was provided.
We should clip drawing to the dirty area, and do less work.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
This combination is never used, and adds complexity to support.
Depends on D97705
Assignee | ||
Comment 3•4 years ago
|
||
The composite code uses the size of the dest rect to determine scaling, and we don't want this to be affected by the clip.
Depends on D97706
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D97707
Updated•4 years ago
|
Attachment #9189046 -
Attachment description: Bug 1678493 - Use the cliiped dest area when computing bands so that they're evenly spread across the pixels actually drawn. r?lsalzman → Bug 1678493 - Use the clipped dest area when computing bands so that they're evenly spread across the pixels actually drawn. r?lsalzman
Pushed by mwoodrow@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/94e770a1e904 Intersect the dirty rect with the compositor surface clip rect in SwCompositor. r=lsalzman https://hg.mozilla.org/integration/autoland/rev/9cec7f7add10 Don't support having both a native gl context and a native compositor in SwCompositor. r=lsalzman https://hg.mozilla.org/integration/autoland/rev/f8a0ebaa5e8f Pass the SwCompositor clip rect into the inner Composite code rather than intersecting if beforehand. r=lsalzman https://hg.mozilla.org/integration/autoland/rev/b7aedb850662 Use the clipped dest area when computing bands so that they're evenly spread across the pixels actually drawn. r=lsalzman
Pushed by btara@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2792eb7eef84 lint fix on composite.h CLOSED TREE
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/94e770a1e904
https://hg.mozilla.org/mozilla-central/rev/9cec7f7add10
https://hg.mozilla.org/mozilla-central/rev/f8a0ebaa5e8f
https://hg.mozilla.org/mozilla-central/rev/b7aedb850662
https://hg.mozilla.org/mozilla-central/rev/2792eb7eef84
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•