Commit Graph

3901 Commits

Author SHA1 Message Date
Ehsan Akhgari
ebb2d3223a Backout changeset 90ab708bab8b (bug 539356) because of performance and correctness regressions 2012-07-03 20:19:49 -04:00
Ehsan Akhgari
392100a449 Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions 2012-07-03 20:19:18 -04:00
Ehsan Akhgari
8f19fe7049 Backout changeset ce5e9fefee19 (bug 539356) because of performance and correctness regressions 2012-07-03 20:18:34 -04:00
Ehsan Akhgari
e217b72858 Backout changeset 0c75abcb72ff (bug 539356) because of performance and correctness regressions 2012-07-03 20:17:01 -04:00
Ehsan Akhgari
cbdaea8546 Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:47 -04:00
Ehsan Akhgari
f3e27db850 Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:11 -04:00
Ehsan Akhgari
2edc2e9dbf Backout changeset f7599b247eef (bug 539356) because of performance and correctness regressions 2012-07-03 20:10:16 -04:00
Ehsan Akhgari
fe21740d3e Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions 2012-07-03 20:08:53 -04:00
Ehsan Akhgari
64c98e2147 Backout changeset 6234134d4430 (bug 539356) because of performance and correctness regressions 2012-07-03 20:08:19 -04:00
Ehsan Akhgari
4d2dc4e9a4 Backout changeset 2cf9546ee691 (bug 770001) because DLBI is being backed out 2012-07-03 19:40:24 -04:00
Ehsan Akhgari
e99c7405d0 Backout changeset 25061ce7382b (bug 770041) because DLBI is being backed out 2012-07-03 19:39:44 -04:00
Ehsan Akhgari
66612fe60d Backout changeset 4e29b12a5d25 (bug 770096) because DLBI is being backed out 2012-07-03 19:38:42 -04:00
Ehsan Akhgari
2250461ece Backout changeset 6266a1336e2d (bug 770058 part 2) because DLBI is being backed out 2012-07-03 19:37:29 -04:00
Daniel Holbert
33fd1f6b89 Bug 770299: use size_t instead of int for loop iterator in MaskLayerImageCache.h, to fix build warning. r=nrc 2012-07-03 09:01:30 -07:00
Ed Morley
bc682c2957 Backout 3175d72d8a40 (bug 770144) for turning 611498-1.html permaorange 2012-07-03 11:58:04 +01:00
Matt Woodrow
ebbb5a60e4 Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc 2012-07-03 21:07:28 +12:00
Phil Ringnalda
700c915a37 Back out 921c2e13b45e (bug 770144) for reftest bustage 2012-07-02 21:04:38 -07:00
Matt Woodrow
8662ef3442 Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc 2012-07-03 14:26:45 +12:00
Robert O'Callahan
69ce2f5f03 Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow 2012-07-03 14:24:20 +12:00
Matt Woodrow
b14b46dec5 Bug 770096 - Prevent crashes when encountering an empty ThebesLayer. r=roc 2012-07-03 14:23:11 +12:00
Matt Woodrow
9f3588825e Bug 770041 - Revert GetRootPresContext to pre-DLBI behaviour and add GetDisplayRootPresContext for DLBI. r=roc 2012-07-03 13:02:30 +12:00
Ed Morley
bb3f6c2bad Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
5135fa5aa8 Bug 769437 - Remove a check that has been dead since 2005 to fix a build warning; r=mounir 2012-07-02 08:23:56 +02:00
Ms2ger
a4ebdb8e6a Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
Robert O'Callahan
ddbee0e9d9 Backout bug 768775 for now 2012-07-02 14:43:37 +12:00
Robert O'Callahan
7252675cc8 Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Robert O'Callahan
e1af2fd5e7 Bug 770001. When comparing clips, adjust for any change in the ThebesLayer coordinate system. When clips are different, try to accumulate differences intelligently, taking into account that changes in clips outside the bounds of the clipped display item don't matter. r=mattwoodrow
--HG--
extra : rebase_source : d958c629307045f2592ffe658cd1a2e608713cbd
2012-07-02 11:46:21 +12:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
660deac456 Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc 2012-06-30 15:06:14 +12:00
Matt Woodrow
d6338f98b1 Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
67796cbb7d Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc 2012-06-30 15:06:13 +12:00
Oleg Romashin
95b7a73ba9 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
895528986f Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
ab51baf3ec Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
850cb83cd3 Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
ffcd727240 Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
4e803b179a Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
6b8da8ec1c Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
c96dc0e2ed Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
cbd39105d9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow
557c514f1c Bug 539356 - Revert changes made by bug 728983 2012-06-30 15:06:10 +12:00
Matt Woodrow
9193c41326 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
a072bd4903 Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
147e839dc3 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
6750b1ce01 Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz 2012-06-30 15:06:09 +12:00
Jonathan Watt
3c530c668a Bug 769242 - Rename nsDisplaySVG to nsDisplayOuterSVG in preparation for adding other SVG display list item types. r=dholbert. 2012-06-28 20:51:20 +01:00
Ehsan Akhgari
e9c88c4e63 Bug 766843 - Exempt inner table frames from optimized dynamic position change handling, as the required handling is performed for outer table frames; r=bzbarsky 2012-06-27 16:24:01 -04:00
Chris Lord
9fd49ed93f Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Chris Lord
1163c9e9c6 Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-27 16:43:46 +01:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00