Commit Graph

69801 Commits

Author SHA1 Message Date
Robert O'Callahan
e5e28d9ac2 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-17 11:42:11 +12:00
Robert O'Callahan
03d1ea7300 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
Robert O'Callahan
3e50014290 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-17 11:41:57 +12:00
Robert O'Callahan
d1fe5a6711 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-17 11:41:48 +12:00
Robert O'Callahan
0bca45c661 Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones 2011-05-17 11:41:39 +12:00
Ian Moody
fa4e75ab4d Bug 657143 - Reorder mature CSS properties in nsComputedDOMStyle.cpp 2011-05-17 11:20:08 +12:00
Paul ADENOT
6f534e4407 Bug 657447 : adding include guard aroung nsTimeRanges class. 2011-05-17 11:14:40 +12:00
Robert O'Callahan
ebb22db890 Bug 648483. Record the transform used when we last painted a layer and use that to control what needs to be invalidated in the layer. r=tnikkel 2011-05-17 11:05:56 +12:00
Robert O'Callahan
9f2fc5b8e2 Bug 656749. Only optimize away zero-opacity elements when we're painting, not for any other kind of display list construction such as plugin geometry. r=tnikkel 2011-05-17 11:05:46 +12:00
Robert O'Callahan
eec1211b36 Bug 640899. Have test_leaf_layers_partition_browser_window.xul test maximized windows as well as normal windows; on Windows XP, don't test normal windows because we know the resizer overlaps there. r=tnikkel 2011-05-17 11:04:53 +12:00
Tim Taubert
f2abe04c73 Bug 618188 - browser-chrome: browser_600545.js (and _601955.js) intermittently times out; r=zpao 2011-05-17 00:41:28 +02:00
Ed Morley
a024675103 Bug 656187 - Remove modules/lib7z/ since it was only used for the WinCE installer; r=bsmedberg 2011-05-17 16:06:18 +02:00
Ed Morley
c24361f216 Bug 655498 - Remove WinCE code from profile/* ; r=bsmedberg 2011-05-17 16:06:10 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Rafael Ávila de Epíndola
85524ac5b6 Bug 655865 - Fix --enable-accessibility build with clang. r=smichaud,joshmoz 2011-05-17 16:00:30 +02:00
Hiroyuki Ikezoe
fe5b0f156b Bug 657487 - Include static keyword in definitions of signal callback functions. r=karlt 2011-05-17 15:55:16 +02:00
Ehren Metcalfe
8947b2bf0c Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Marco Bonardo
b8dfb02f0c Bug 656188 - Cache last 10 fetched bookmarks info to speed up repeated requests.
r=sdwilsh
2011-05-17 00:11:35 +02:00
Benoit Jacob
d1bac4c182 Bug 656752 - WebGL crash [@gleRunVertexSubmitImmediate()] - r=jrmuizel, a=clegnitto
Fix bookkeeping in webgl.bindBuffer()
2011-05-16 17:18:04 -04:00
Justin Lebar
ec8f99b5de Bug 656991 - Followup. Use JS_free instead of free. r=bz
--HG--
extra : rebase_source : 00e5cc27f067a191e7a834852faee8c788feb061
2011-05-16 16:36:12 -04:00
Taras Glek
3e856fc317 Bug 657411 - Telemetry doesn't register for idle-daily r=mak 2011-05-16 13:07:45 -07:00
Philipp von Weitershausen
36cb59d296 Merge mozilla-central to services-central 2011-05-16 10:08:13 -07:00
Raymond Lee
26574c60f1 Bug 657331 - Fix the registerCleanupFunction() in browser_tabview_bug625195.js r=ian 2011-05-16 20:40:09 +08:00
Rafael Ávila de Espíndola
33fe4e2770 Bug 657364 - Put dom/tests/mochitest/dom-level2-html/files/document.html applet in a new file. r=ehsan 2011-05-18 11:56:06 +02:00
Rob Campbell
9b7851356a merge m-c to devtools 2011-05-16 08:54:46 -03:00
Mounir Lamouri
627d04b7ce Bug 655960 - Use a native rendering for vertical progress bar in Cocoa. r=mstange 2011-05-16 12:58:55 +02:00
Mounir Lamouri
8c71c5f7ea Bug 655313 - Use a native rendering for indeterminate vertical progress bar in GTK. r=roc,karlt 2011-05-16 12:59:10 +02:00
Mounir Lamouri
c838180b45 Bug 638540 - Progress element should be shown vertically when -moz-orient value is 'vertical'. r=roc
--HG--
rename : layout/reftests/forms/progress/bar-pseudo-element-ref.html => layout/reftests/forms/progress/bar-pseudo-element-vertical-ref.html
rename : layout/reftests/forms/progress/bar-pseudo-element.html => layout/reftests/forms/progress/bar-pseudo-element-vertical-rtl.html
rename : layout/reftests/forms/progress/bar-pseudo-element.html => layout/reftests/forms/progress/bar-pseudo-element-vertical.html
rename : layout/reftests/forms/progress/indeterminate-style-width-ref.html => layout/reftests/forms/progress/indeterminate-style-height-ref.html
rename : layout/reftests/forms/progress/indeterminate-style-width.html => layout/reftests/forms/progress/indeterminate-style-height.html
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-vertical-ref.html
rename : layout/reftests/forms/progress/margin-padding-rtl-ref.html => layout/reftests/forms/progress/margin-padding-vertical-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding-rtl.html => layout/reftests/forms/progress/margin-padding-vertical-rtl.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-vertical.html
rename : layout/reftests/forms/progress/values-ref.html => layout/reftests/forms/progress/values-vertical-ref.html
rename : layout/reftests/forms/progress/values-ref.html => layout/reftests/forms/progress/values-vertical-rtl-ref.html
rename : layout/reftests/forms/progress/values.html => layout/reftests/forms/progress/values-vertical-rtl.html
rename : layout/reftests/forms/progress/values.html => layout/reftests/forms/progress/values-vertical.html
2011-05-16 12:56:06 +02:00
Shawn Wilsher
1aafd383b1 Bug 657034 - Timed Expiration queries need to bind null too. r=mak 2011-05-16 12:42:05 +02:00
timeless@mozdev.org
564ada81e6 Bug 584316 - Fix DownloadManager usage of deprecated Storage binding APIs. r=sdwilsh 2011-05-16 12:41:28 +02:00
Dão Gottwald
f990270df5 Update browser_urlHighlight.js for bug 657173 2011-05-16 12:40:40 +02:00
Hiroyuki Ikezoe
640d89fbb5 Bug 657259 - Remove needless GTK_OBJECT macro. r=karlt 2011-05-16 11:07:37 +02:00
Serge Gautherie
a53df1b729 Bug 603574 - Remove --disable-profile-guided-optimization support, Fix some unrelated nits. r=ted 2011-05-16 11:05:47 +02:00
Kai Liu
06c8709e17 Bug 657262 - Use ThreeDShadow instead of ThreeDDarkShadow for the border for the location bar and search box in Windows Classic. r=dao 2011-05-16 11:04:52 +02:00
Michael Ventnor
b218b6f65b Bug 513006 - Some scrollbars disappear if GTK2 theme has scrollbar buttons turned off r=roc 2011-05-16 13:28:01 +10:00
Gavin Sharp
719f72b4a6 Bug 657173 - Don't format URL bar value when the URL bar is focused. r=dao 2011-05-14 16:38:59 -07:00
Richard Marti
fbfdf06ce4 Bug 655691 - Use native button appearance for colorpicker buttons. r=dao 2011-05-16 11:00:39 +02:00
Tuukka Tolvanen
3d2315a7b1 Bug 290274 - [mozTXTToHTMLConv] 'clever formatting' of plaintext strips caret from superscript display (x^2 => x2); r=BenB,honzab 2011-05-16 08:59:18 +01:00
David Shiga
06e635c615 Bug 644161 - Open All in Tabs from native bookmarks menu fails if no window is open.
r=mak
2011-05-14 11:14:17 -04:00
Marco Bonardo
4a5a10eb83 Bug 633274 - Follow-up to fix an intermittent crash.
r=postreview
2011-05-16 11:19:03 +02:00
Marco Bonardo
4de857f50f Bug 633274 - Improve nsINavBookmarkObserver (test).
r=sdwilsh
2011-05-13 21:24:29 +02:00
Marco Bonardo
114ccfbb5d Bug 633274 - Improve nsINavBookmarkObserver (Places observers changes).
r=sdwilsh
2011-05-13 21:24:25 +02:00
Marco Bonardo
13c42a89ec Bug 633274 - Improve nsINavBookmarkObserver (Places changes).
r=sdwilsh
2011-05-13 21:24:22 +02:00
Marco Bonardo
b57eab5690 Bug 633274 - Improve nsINavBookmarkObserver (idl changes).
r=sdwilsh sr=gavin
2011-05-13 21:23:40 +02:00
Marco Bonardo
4bea37c393 Bug 630622 - Update the Library design to Windows 7 Aero style.
r=dao
2011-05-13 21:03:01 +02:00
Gavin Sharp
dd3b8d223c Bug 656815: make loading javascript: URIs in a docshell work for DISALLOW_INHERIT_OWNER loads, r=bz
--HG--
extra : rebase_source : 6b0e289ac80ffab967813b06e2e28f2842921b70
2011-05-13 10:40:22 -07:00
Jim Mathies
b65fa2c20f Remove duplicate widget code from a bad lorentz merge in bug 538918. r=bsmedberg 2011-05-13 11:40:46 -05:00
Jim Mathies
a044ec6f6b Bug 633282 - Remove unnecessary plugin bounds calculations and artificial glass min/max adjustments in UpdateOpaqueRegion. r=roc. 2011-05-13 11:40:46 -05:00
Jim Mathies
8ddf6dab7b Bug 633282 - Apply moz-win-exclude-glass to clientBox in extensions about.xul. r=dao. 2011-05-13 11:40:46 -05:00
Jim Mathies
b1dcec1411 Bug 633282 - Apply moz-win-exclude-glass to downloadView in downloads.xul. r=sdwilsh. 2011-05-13 11:40:46 -05:00