gecko-dev/gfx
Robert O'Callahan b021c0ce1b Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
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
2011-05-17 11:42:05 +12:00
..
angle Bug 649233 - Include ANGLE r611. r=joe 2011-04-12 00:36:13 -07:00
cairo Bug 656782 - Runtime CPU features detection does not work for pixman in Android [r=jmuizelaar] 2011-05-12 15:26:00 -04:00
harfbuzz bug 654057 - fix the zeroing of diacritic widths to resolve misplaced accents with Segoe UI. r=jdaggett 2011-05-11 20:24:56 +01:00
ipc Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
layers Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel 2011-05-17 11:42:05 +12:00
ots bug 653408 - [ots] fix GDEF sanitizer so it doesn't reject LinLibertine. r=jdaggett 2011-05-02 10:01:54 +01:00
qcms qcms: avoid unnecessary promotion to double. r=ehsan 2011-05-10 12:01:48 -04:00
src Bug 633282 - Add ToNearestPixels to nsRegion. r=roc. 2011-05-13 11:40:46 -05:00
tests Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
thebes Bug 567552. Disable font auto-activation. r=josh 2011-05-11 09:44:35 +09:00
ycbcr Bug 571739 - Fix VC8 support on Win64. r=neil 2011-05-09 00:07:58 +09:00
Makefile.in Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00