Closed Bug 596542 Opened 9 years ago Closed 9 years ago

ThebesLayerBuffer with cross-process layers behaves badly when repainting with a non-1.0 resolution

Categories

(Core :: Graphics, defect)

ARM
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
Tracking Status
fennec 2.0b1+ ---

People

(Reporter: cjones, Assigned: cjones)

References

Details

Attachments

(1 file)

During a shadow-layer transaction on the compositor side, ShadowThebes saves its old render resolution if it changes.  Then during a back/front swap operation, it sends back this old resolution along with the new back buffer (previous front buffer).  Alas, but the old resolution was never updated to match the new resolution, so on every paint (and then swap) we would send back the wrong resolution and force a buffer realloc.  The resolution-change update was also being applied after the swap, which led to one extra buffer swap on resolution changes.  The upcoming patch fixes both problems.
Without this patch we're going to churn memory like nobody's business when painting with a resolution applied.
tracking-fennec: --- → ?
tracking-fennec: ? → 2.0b1+
http://hg.mozilla.org/projects/cedar/rev/0de405102662
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.