Closed Bug 1654617 Opened 4 years ago Closed 4 years ago

Remote backbuffer: Use more than a single rectangle for dirty region

Categories

(Core :: Graphics, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
82 Branch
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.

Blocks: 1654619

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
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: