mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
b021c0ce1b
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers. When a container has children that overlap or that don't cover the container's visible rect (the latter case probably can't happen in practice), we force it to have an intermediate surface. This change fixes this bug because in normal browser windows the Web content layer double-buffers |
||
---|---|---|
.. | ||
angle | ||
cairo | ||
harfbuzz | ||
ipc | ||
layers | ||
ots | ||
qcms | ||
src | ||
tests | ||
thebes | ||
ycbcr | ||
Makefile.in |