Commit Graph

70776 Commits

Author SHA1 Message Date
Robert O'Callahan
89fdba6cb9 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-30 15:48:23 +12:00
Robert O'Callahan
b49eae116d Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-30 15:48:13 +12:00
Robert O'Callahan
c0afe87a4e Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-30 15:48:08 +12:00
Robert O'Callahan
9a390fc021 Bug 647560. Use passed-in aContext instead of getting it from the layer manager. r=tnikkel 2011-05-30 15:48:01 +12:00
Robert O'Callahan
66a57a0a84 Bug 639168. Don't try to reuse a buffer if we don't have one. r=tnikkel 2011-05-30 15:29:07 +12:00
Robert O'Callahan
48d8d2b5f3 Bug 656844. Only draw shadows when 'source-over' operator is being used. r=joe 2011-05-30 15:28:01 +12:00
Timothy Nikkel
d652b2c826 Bug 638430. Fix finding the display root of a view when a floating view is inside a floating view. r=roc 2011-05-29 22:15:00 -05:00
Phil Ringnalda
9e5d4a865d Interim bug 660497 bustage fix, use $(OS_TARGET) until ANDROID is usable as a makefile define 2011-05-28 20:25:30 -07:00
Honza Bambas
93540b483c Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, comment correction 2011-05-29 16:14:21 +02:00
Honza Bambas
923a9677e4 Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, r=bz 2011-05-29 15:55:38 +02:00
Ms2ger
3d548cfff7 Bug 611983 - Kill Document.createEntityReference; r=peterv 2011-05-29 10:33:35 +02:00
Daniel Holbert
2cae6f9959 Bug 660066 patch 2: Prevent nsFileDataURI from QI'ing to nsSimpleURI. r=bz 2011-05-27 21:55:20 -07:00
Daniel Holbert
1ff06e3afb Bug 660066 patch 1: Null-check mPrincipal in nsFileDataURI::EqualsInternal. r=bz 2011-05-27 16:53:06 -07:00
Daniel Holbert
a688dcaeef Bug 660066 patch 0: Add some more test URIs to test_URIs.js xpcshell test. r=bz 2011-05-27 16:53:03 -07:00
Daniel Holbert
08a94f2507 Bug 658849: Remove harmless "WARNING: Failed to create timer" message that gets spammed on shutdown. r=gal 2011-05-27 16:53:01 -07:00
Matt Brubeck
1350dd3c6b Bug 639711 - Selecting "Tabs from other computers" on home screen directs to Preferences [r=wesj] 2011-05-27 15:15:37 -07:00
Mounir Lamouri
7f89daa840 Merging cedar with mozilla-central. 2011-05-27 17:22:52 +02:00
Jim Mathies
404a33904f Bug 632748 - Insure the sizemode attribute is synced to the document element while chrome is loading. r=neil 2011-05-27 10:19:58 -05:00
Mounir Lamouri
c9253164c5 Bug 659852 - Remove nsContentUtils::ReleasePtrOnShutdown and nsContentUtils::sPtrsToPtrsToRelease. r=sicking 2011-05-27 12:48:28 +02:00
Mounir Lamouri
70ae154c23 Bug 659596 - option.label should be reflected like option.value. r=smaug sr=bz 2011-05-27 12:32:59 +02:00
Yoan TEBOUL
a0e8e5f32b Bug 659248 - Increase pseudo-element enum storage from 4 bits to 5 bits. r=dbaron 2011-05-27 12:36:19 +02:00
Mounir Lamouri
927ee0c01a Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Mounir Lamouri
cd6b283df4 Backed out bug 125608 because of orange. 2011-05-27 09:53:26 +02:00
Mounir Lamouri
21d4fb1a0d Backed out bug 659871, changeset 0cf4fa02c0f2, because of orange. 2011-05-27 09:52:42 +02:00
Randell Jesup
8e3b689de5 Bug 659871: Don't allow nsStandardURL::SetPort to set an invalid port. r=bz 2011-05-27 02:46:41 -04:00
Randell Jesup
b44bd495b7 Bug 125608: NewURI was allocating more memory than needed. r=bz 2011-05-27 02:46:33 -04:00
Randell Jesup
b23a547d6a Bug 507569: Fix possible crash in nsStandardURL::SegmentIs() (Coverity) r=bz 2011-05-27 01:44:15 -04:00
Makoto Kato
5ab4d1baa7 Bug 654063 - nsIPlatformCharset for Android should return UTF-8 simply. r=smontagu 2011-05-27 14:43:53 +09:00
Makoto Kato
4a5be4e0bc Bug 657845 - Remove Core Text checking on OSX. r=ted 2011-05-27 14:43:44 +09:00
Makoto Kato
270cfde22c Bug 590389 - some methods into nsICharsetConverterManager should be noscript. r=smontagu 2011-05-27 14:42:13 +09:00
Masayuki Nakano
387ea6f111 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
1f171993d1 Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
626032a54d Bug 659820 part.3 Refactor char/string/localizedstring pref methods of Preferences r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
43ebfa06ca Bug 659820 part.2 Add Preferences::GetLocalizedString() for nsACString r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
c37d6bf95d Bug 659820 part.1 Change the string params of Preferences class from ns*String to nsA*String r=roc 2011-05-27 13:53:03 +09:00
Alexander Surkov
35e3d80d70 Bug 650585 - Remove flaky timeouts from the accessibility tests, patch=ehsan, surkov, r=surkov, ehsan 2011-05-27 12:26:48 +09:00
Gavin Sharp
1735d86199 Bug 650244: adjust template console tests to avoid failing when other things happen to spam the console; r=ehsan 2011-05-26 13:22:27 -04:00
Ed Morley
5a6749df7a Bug 659956 - Remove unused variable from nsOfflineCacheUpdate.cpp; r=bz 2011-05-26 11:15:56 -07:00
Daniel Holbert
8556ef49be Bug 659466: Fix remaining data URI "#" --> "%23" conversions in testcases. r=bz 2011-05-26 01:20:08 -07:00
Daniel Holbert
54188974e6 Bug 659698: Fix nsJSURL to handle the recent .ref additions to nsSimpleURI. r=bz 2011-05-26 01:20:06 -07:00
Jeff Muizelaar
e9dec64aff Bug 659676 - remove debugging code that snuck in. r=khuey 2011-05-26 09:29:25 +02:00
Chris Coulson
fba2fb93d4 Bug 639554 - Install sdk/bin with make install. r=bsmedberg 2011-05-26 08:13:23 +02:00
Mounir Lamouri
cdd5310491 Merging cedar with mozilla-central. 2011-05-26 08:34:54 +02:00
Randell Jesup
72108621f5 Backed out changeset 369680a6f40b - apparent blown merge 2011-05-26 00:26:31 -04:00
Randell Jesup
924edb8dcd Bug 125608: NewURI did larger allocations than needed - r=bz 2011-05-25 23:39:31 -04:00
Alexander Surkov
860cae4d06 Bug 651628 - enable childAtPoint tests, r=marcoz 2011-05-26 12:23:50 +09:00
Bjarne
94e5da14c6 Fixing part of bug 659569. Fix issue with Firefox getting stuck in a redirect loop when connecting to Ubiquiti radio equipment. r=bzbarsky@mit.edu 2011-05-25 15:23:05 -07:00
Hernán Rodriguez Colmeiro ext:(%2C%20Mehdi%20Mulani%20%3Cmars.martian%2Bbugmail%40gmail.com%3E)
a8eb84d118 Bug 406026: Point users to a specific page for each blocklisted item. r=dtownsend 2011-05-25 14:31:56 -07:00
Mark Finkle
2fe3476c0c Bug 656020 - Debian packaging uses invalid options for 'ps' on Maemo 5 (silently ignored) [r=mfinkle] 2011-05-25 17:13:03 -04:00
Oleg Romashin
d0ac388d68 Bug 624165 Cleanup plugins code, remove kill MOZ_COMPOSITED_PLUGINS and MOZ_USE_IMAGE_EXPOSE r=dougt 2011-05-25 16:54:30 -04:00