mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
3e0de12cde
Bug 1176077 introduced the parameter aDirtyRegion to DrawPaintedLayerCallback, which allows the callback to recompute the visibility of all items to be painted in that transaction in a single go. However, this parameter can not always be determined correctly when using RotatedBuffer, and using an incorrect value was causing graphical glitches. Make the parameter optional, and on null values do not perform the optimisation. Pass null from ClientPaintedLayer, which uses RotatedBuffer and was causing problems, but continue to pass the correct value from other Layer implementations. This optimisation was most important for tiled layers using progressive paint, so this is okay. |
||
---|---|---|
.. | ||
android | ||
browser | ||
components | ||
ios | ||
test | ||
tests/unit | ||
moz.build | ||
nsEmbedCID.h | ||
nsIWindowCreator2.idl | ||
nsIWindowCreator.idl | ||
nsIWindowProvider.idl |