Commit Graph

69476 Commits

Author SHA1 Message Date
Robert O'Callahan
c5e00b2e8a Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-17 11:42:19 +12:00
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
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
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
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
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
Gavin Sharp
f6fa25a9a0 Bug 656433: don't allow URIs loaded into the location bar to inherit the currently loaded document's principal, r=bz, r=dao
--HG--
extra : rebase_source : 3eed0612c5740d6a52ba5898d7ae130cfadd9641
2011-05-12 10:52:25 -07:00
Joe Drew
7a0cf04eb4 Bug 473841 - "ASSERTION: NULL mIconRequest! Multiple calls to OnStopRequest()?"; r=josh,bzbarsky 2011-05-16 15:24:54 -04:00
Steven Michaud
d95bb1842a Ensure compatibility with OS X 10.7's arrowless scrollbar. r=mstange 2011-05-16 12:56:03 -05:00
Ehsan Akhgari
5aaebed294 Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc 2011-05-16 13:27:24 -04:00
Mike Hommey
276732190f Backout bug 644608 because of bustage 2011-05-16 16:29:03 +02:00
Siarhei Siamashka
45f3e58d85 Bug 656782 - Runtime CPU features detection does not work for pixman in Android [r=jmuizelaar]
Pixman upgrade from bug 640250 resulted in ARM cpu features
not being detected properly in Android. As a result, NEON
optimizations were not used at all.
2011-05-12 15:26:00 -04:00
Mark Finkle
6a14bd1a87 Bug 654733 - Stop using 'computer' in offline storage notifications (entity changes) [r=wjohnston] 2011-05-16 10:01:44 -04:00
Mike Hommey
2d708facec Bug 569365 - Remove preprocessor.pl and replace it with Preprocessor.py. r=ted
--HG--
rename : config/Expression.py => js/src/config/Expression.py
rename : config/Preprocessor.py => js/src/config/Preprocessor.py
2011-05-16 15:51:21 +02:00
Mike Hommey
a733c6b3cf Fixup for bug 644608. r=ted 2011-05-16 15:49:29 +02:00
Mounir Lamouri
66e9fa56e1 Bug 656284 - Fix clipped XUL progressmeter on Windows. r=roc 2011-05-16 12:19:27 +02:00
Markus Stange
9b2334a690 Bug 596600 - Start generating window-level mouse out events at the root EventStateManager. r=smaug
--HG--
rename : widget/tests/test_native_mouse_mac.xul => widget/tests/test_bug596600.xul
2011-05-16 15:15:43 +02:00
Mounir Lamouri
5a2ef13b8f Bug 655065 - Add a -moz-orient CSS property. r=bz 2011-05-10 15:47:46 +02:00
Vivien Nicolas
8e4ffed4da Bug 640630 - about:home advertises add-ons that are installed already [r=mfinkle] 2011-05-17 11:55:05 +02:00
Vivien Nicolas
78ae0195f5 Bug 656373: Turn off Form Assistant zooming, panning and next/prev on tablets [r=mfinkle] 2011-05-17 11:55:05 +02:00
Vivien Nicolas
c0589dec11 Bug 653146: switch awesomescreen tabs immediately on tap [r=wesj] 2011-05-17 11:55:05 +02:00
Mike Hommey
8f2127c0fd Bug 657396 - Move LDFLAGS after other flags when building elfhack test case. r=ted 2011-05-17 09:34:20 +02:00
Henri Sivonen
60d7c6c445 Bug 656881 - Make timer in file_bug534293-slow.sjs not suspectible to early GC. r=jwalden. 2011-05-17 10:15:48 +03:00
Mark Banner
7f828b6093 Bug 653662 Disable incremental linking of libxul on Windows for the time being. Some developers and tree builders are hitting a hard-coded limit in Visual Studio where the link fails if the incremental link data file is over a certain size. r=ted 2011-05-17 07:54:59 +01:00
Mark Finkle
66ac0a76dc Bug 657067 - XPIProvider.jsm refers to nsIPrefBranch.getComplexPref... which doesn't exist [r=dtownsend] 2011-05-17 00:12:40 -04:00
Randell Jesup
5c71beb714 Bug 653311 - Switch jprof from hand-rolled stackwalk code to glibc's backtrace() to work with modern x86 Linuxes, improve jprof output, update README - r=jim_nance (per bz) 2011-05-15 05:47:48 -04:00
Masayuki Nakano
1d3f3a321b Bug 605648 Support high resolution scrolling on Windows r=jimm+smaug 2011-05-17 09:23:23 +09:00
Taras Glek
e39dcc200f Bug 657480: Clean up after TelemetryPing.js r=mak 2011-05-16 16:03:36 -07:00
Dave Townsend
37399c2be0 Bug 623134: Add HTTP logging to track down the intermittent request timeouts. r=robstrong 2011-05-16 11:46:55 -07:00
Mike Hommey
705ae1894b Bug 620931 part 7 - Make startup cache generation work better with new omni.jar handling. r=mwu 2011-05-06 11:26:30 +02:00
Mike Hommey
b55239ba48 Bug 620931 part 6 - Add a -a option to xpcshell to set an application directory. r=bsmedberg 2011-05-06 10:40:51 +02:00
Mike Hommey
f88a063a8e Bug 620931 part 5 - Enable omni.jar by default on xulrunner. r=bsmedberg 2011-05-10 15:50:15 +02:00
Mike Hommey
06f58093ca Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-05-10 15:50:15 +02:00
Mike Hommey
c01d121edb Bug 644608 - Implement full dependencies for expandlibs. r=ted 2011-05-03 09:33:45 +02:00
Ted Mielczarek
a7fa63e90b bug 654448 - don't call Typelib._sanitycheck after every merge in xpt_link. r=glandium 2011-05-16 08:04:47 -04:00
Shawn Wilsher
1aafd383b1 Bug 657034 - Timed Expiration queries need to bind null too. r=mak 2011-05-16 12:42:05 +02:00