Open Bug 771437 Opened 12 years ago Updated 2 years ago

Delay the decision to copy updated region from front->back buffer as long as possible

Categories

(Core :: Graphics: Layers, defect)

defect

Tracking

()

People

(Reporter: cjones, Unassigned)

References

Details

Currently we try to maintain an always-valid back buffer.  The code to do this has gotten much too complex, and sometimes this isn't the right thing to do: if we invalidate almost the entire buffer for a repaint, then the front->back copy is just wasted memory traffic.

What we should do instead is wait until ThebesLayerBuffer has computed the area we need to repaint, then apply some simple heuristics to decide whether the front->back copy will save any work.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.