Remote backbuffer: Use more than a single rectangle for dirty region
Categories
(Core :: Graphics, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: cmartin, Assigned: cmartin)
References
Details
Attachments
(1 file)
In Bug 1647877, the remote backbuffer logic was updated to pass in the bounding rectangle of the update region to avoid redrawing the entire window every time a pixel changes.
Although it's difficult to allow arbitrary-sized regions to be passed over IPC, :mstange pointed out that it's likely worthwhile to increase the number of rectangles that can passed over IPC to more-than-one. (He suggested that somewhere between 4 and 8 are reasonable values).
There is already a function, nsRegion::SimplifyOutward(), that can be used to help implement this.
Assignee | ||
Comment 1•4 years ago
|
||
In Bug 1647877, I changed remote backbuffer to use a dirty rectangle instead of
always repainting the entire window. This changeset allows multiple dirty
rectangles to be used (currently maximum of 8) for higher efficiency.
Pushed by cmartin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a55474bb26c7 Remote Backbuffer: Use multiple dirty rectangles during present r=tkikuchi
Comment 3•4 years ago
|
||
bugherder |
Description
•