123d2c2f626066e8b5d393ea13da451e09594ea3: Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:28 +1200 - rev 71798
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow This is not needed anymore.
602d13dcab537ff844d20e9698658619d35f24fa: Bug 637852. Part 8: Remove resolution support from D3D9 layers. r=mattwoodrow
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:27 +1200 - rev 71797
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852. Part 8: Remove resolution support from D3D9 layers. r=mattwoodrow Layer-system resolution support is no longer needed.
198d6364abb9747d612f4c20e244fe02e49a1e77: Bug 637852. Part 7: Remove resolution support from D3D10 layers. r=mattwoodrow
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:27 +1200 - rev 71796
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852. Part 7: Remove resolution support from D3D10 layers. r=mattwoodrow Layer-system resolution support is no longer needed.
45b7622bc948e52af00b993d08fb2a5a98471f62: Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:27 +1200 - rev 71795
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer. For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters. If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling. If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the child layer's transform. For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that the child ThebesLayers are simply larger or smaller (larger or smaller visible regions). We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates. When a ThebesLayer's resolution changes we need to rerender the whole thing. nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we adjust the root layer transform to scale back down by the resolution.
31c47102a6fc579e2bb5eda089e9c662e8b00c04: Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:27 +1200 - rev 71794
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel This patch shouldn't change any behavior. It just passes the ContainerParameters around, which will contain scale factors that should have been applied when BuildLayer returns a ContainerLayer. This patch also adds an aTransform parameter to BuildContainerLayerFor, which nsDisplayTransform uses to set the transform for the ContainerLayer. This way BuildContainerLayerFor knows what the container's transform is going to be before constructing the children, which in the next patch will let us construct the children with the right resolution.
1da2c78a1a72954bcddcb0eb62be930f48802dcd: Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:27 +1200 - rev 71793
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe
b53df216be6181b6488332f66fa0954a29c019a8: Bug 637852. Part 3: Add nsPoint::ScaleToNearestPixels, nsRect::ScaleToNearestPixels, nsRect::ScaleToInsidePixels and nsRect::ScaleToOutsidePixels APIs. r=joe
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:27 +1200 - rev 71792
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852. Part 3: Add nsPoint::ScaleToNearestPixels, nsRect::ScaleToNearestPixels, nsRect::ScaleToInsidePixels and nsRect::ScaleToOutsidePixels APIs. r=joe
c9dd59391c7d104e4d9faa863b3cbf655f562a41: Bug 637852. Part 2: Add BaseRect::ScaleInverseRoundOut API. r=joe
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:27 +1200 - rev 71791
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852. Part 2: Add BaseRect::ScaleInverseRoundOut API. r=joe
7853e5cf72f7700cfe63e4c9e25315800e2fb52d: Bug 637852. Part 1: Don't snap BasicThebesLayer effective transforms when we're not retaining layers. r=tnikkel
Robert O'Callahan <robert@ocallahan.org> - Thu, 23 Jun 2011 00:11:27 +1200 - rev 71790
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 637852. Part 1: Don't snap BasicThebesLayer effective transforms when we're not retaining layers. r=tnikkel The ThebesLayer contents are going to be drawn through directly without retaining, so there's no point in snapping.
a23353de5415ddd677f3b75e40696cba9c01864e: Bug 666221 - Inspector leaks browser and content window through the highlighter. r=dietrich
Dão Gottwald <dao@mozilla.com> - Wed, 22 Jun 2011 19:22:14 +0200 - rev 71789
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 666221 - Inspector leaks browser and content window through the highlighter. r=dietrich
00290f0912fd991a5ef6ae0015989460236e7796: Merging last green changeset of mozilla-inbound into mozilla-central.
Mounir Lamouri <mounir.lamouri@gmail.com> - Wed, 22 Jun 2011 16:13:49 +0200 - rev 71788
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Merging last green changeset of mozilla-inbound into mozilla-central.
ff8bd5d40a57621efc07de0ddcd46e155e63ad4b: Bug 665612 - More cleanup around mInputData and IsSingleLineTextControl(). f=ehsan r=bz
Mounir Lamouri <mounir.lamouri@gmail.com> - Wed, 22 Jun 2011 12:41:00 +0200 - rev 71787
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 665612 - More cleanup around mInputData and IsSingleLineTextControl(). f=ehsan r=bz
c2c6a3a55aafe471e216891e9f8ac78c665632ae: Bug 661846: Move the Windows classic/XP native menu padding calculation from GetWidgetBorder to GetWidgetPadding. r=jmathies
Kai Liu <kliu@code.kliu.org> - Wed, 22 Jun 2011 12:32:50 +0200 - rev 71786
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 661846: Move the Windows classic/XP native menu padding calculation from GetWidgetBorder to GetWidgetPadding. r=jmathies
80a510fa4b7fd14c308c798064200f9437e987f6: Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne
bjarne@runitsoft.com - Wed, 22 Jun 2011 10:49:35 +0200 - rev 71785
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne
08a6784b462381eb9e06fc19e4c480e74ad5a85a: Bug 655655 - decom nsIPosixLocale. r=smontagu
Makoto Kato <m_kato@ga2.so-net.ne.jp> - Wed, 22 Jun 2011 16:34:27 +0900 - rev 71784
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 655655 - decom nsIPosixLocale. r=smontagu
ff25dce5b886b8ce46a52572beaa490a9e444f67: Bug 182279 - select.add() should have the second parameter optional. r=smaug
Makoto Kato <m_kato@ga2.so-net.ne.jp> - Wed, 22 Jun 2011 16:33:30 +0900 - rev 71783
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 182279 - select.add() should have the second parameter optional. r=smaug
7a64d66531ca6d7e93e6ef06f4f98b214b72bf49: Merge mozilla-central into mozilla-inbound
Ehsan Akhgari <ehsan@mozilla.com> - Wed, 22 Jun 2011 03:06:01 -0400 - rev 71782
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Merge mozilla-central into mozilla-inbound
b6e018a94db7b7b5b775d364d7c7be6ac10581e8: Bug 664917 Add Preferences API for getting default pref values r=roc, feedback=bz
Masayuki Nakano <masayuki@d-toybox.com> - Wed, 22 Jun 2011 15:39:10 +0900 - rev 71781
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 664917 Add Preferences API for getting default pref values r=roc, feedback=bz
ca61a0de54f1db83a6c22844386474d9bf4fd342: Followup to bug 661973: Fix bug with COM outparams and add convenience operators. r=cjones
Bas Schouten <bas.schouten@live.nl> - Tue, 21 Jun 2011 21:44:00 -0700 - rev 71780
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Followup to bug 661973: Fix bug with COM outparams and add convenience operators. r=cjones
c461448acd96b3b38a62961e5444a8484d32693c: Bug 664340 - Fallback to c++ when CXX is not set. r=khuey
Mike Hommey <mh+mozilla@glandium.org> - Wed, 15 Jun 2011 02:14:33 +0200 - rev 71779
Push 209 by bzbarsky@mozilla.com at Tue, 05 Jul 2011 17:42:16 +0000
Bug 664340 - Fallback to c++ when CXX is not set. r=khuey
(0) -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip