Commit Graph

384 Commits

Author SHA1 Message Date
Robert O'Callahan
1037ad017d Bug 592941. Fix performance regression by ensuring we create a ThebesLayerInvalidRegionProperty for frames with new container layers. r=tnikkel,a=blocking 2010-09-02 16:43:45 +12:00
Robert O'Callahan
8f7d19020a Bug 579323. Part 1.4: Switch nsIFrameFrame users to use nsSubDocumentFrame.h. r=tnikkel 2010-08-31 12:49:07 +12:00
Robert O'Callahan
f06b8f53e5 Bug 579323. Part 1: Add FrameLayerBuilder::InvalidateThebesLayersInSubtree, and call it from InvalidateOverflowRect. r=tnikkel,sr=dbaron 2010-08-31 12:46:26 +12:00
Timothy Nikkel
91a46b7532 Bug 579663. Part 9. Simplify ProcessDisplayItems because all items in a container layer have the same app units per dev pixel. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel
5453fbce72 Bug 579663. Part 8. Simplify FrameLayerBuilder::DrawThebesLayer because it does not have to deal with items at different AppUnitsPerDevPixel ratios. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel
d459768e27 Bug 579663. Part 7. Assert AppUnitsPerDevPixel is constant in container layers. r=roc 2010-08-08 13:49:07 -05:00
Timothy Nikkel
680dad6387 Bug 579663. Part 3. Use the right AppUnitsPerDevPixel for zoom items. r=roc 2010-08-08 13:49:06 -05:00
Timothy Nikkel
12ae6b7aa6 Bug 579663. Part 1. Remove unused offset param from GetActiveScrolledRootFor. r=roc 2010-08-08 13:49:06 -05:00
Chris Jones
959a567ea7 Bug 570620, part a: Fix an assertion that will soon no longer hold and remove obsoleted already_AddRefed idiom in two places. r=roc 2010-08-05 17:11:23 -05:00
Robert O'Callahan
a79977bc2a Bug 580494. Avoid creating an empty ThebesLayer when an inactive nsDisplayItem::BuildLayer returns null. r=tnikkel 2010-08-03 15:33:24 +12:00
Matt Woodrow
ce4c015d9e Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron 2010-08-02 15:07:04 +12:00
Robert O'Callahan
6146c01a09 Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel 2010-08-02 15:06:58 +12:00
Ginn Chen
cd455c6442 Bug 580546 FrameLayerBuilder.cpp failed to compile with Sun Studio 12 r=roc a=bsmedberg 2010-07-27 17:20:55 +08:00
Chris Jones
71f449e349 Bug 567421, part 2: Implement Dump[Self](FILE*) and Log[Self]() methods for layers. r=roc 2010-07-21 13:06:33 -05:00
Timothy Nikkel
870e017019 Convert to calls of GetOffsetTo from retained layers to GetOffsetToCrossDoc. r=roc on irc 2010-07-18 21:23:48 -05:00
Robert O'Callahan
87fbe36cab Bug 564991. Part 39: Accumulate the full opaque rect of opaque display items, and don't simplify away opaque areas of display items low in z-order. r=tnikkel 2010-07-16 09:08:11 +12:00
Robert O'Callahan
cbfb19b33e Bug 564991. Part 38: Make invalidation-during-paint work reliably. r=mats,sr=dbaron 2010-07-16 09:08:11 +12:00
Robert O'Callahan
f03c061903 Bug 564991. Part 34: Make sure that ThebesLayerBuffers are always allocated as similar surfaces to the widget surface, whenever possible. r=cjones 2010-07-16 09:08:10 +12:00
Robert O'Callahan
2b783d612c Bug 564991. Part 33: Copy data out of hashtable in DrawThebesLayer in case hashtable is modified during the method. r=tnikkel 2010-07-16 09:08:10 +12:00
Robert O'Callahan
d891d3198f Bug 564991. Part 31: Don't cull display items in nsDisplayList::ComputeVisibility. r=mats 2010-07-16 09:08:09 +12:00
Robert O'Callahan
01e45fd5a2 Bug 564991. Part 26: Put background-attachment:fixed backgrounds that propagated to the canvas in their own layer. r=mats,sr=dbaron 2010-07-16 09:08:06 +12:00
Robert O'Callahan
2e5c7115e8 Bug 564991. Part 23: Introduce the concept of 'inactive' layers. r=mats,sr=dbaron 2010-07-16 09:08:05 +12:00
Robert O'Callahan
8f0d356807 Bug 564991. Part 17: Reimplement ColorLayers. r=mats 2010-07-16 09:08:03 +12:00
Robert O'Callahan
93ca51abca Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron 2010-07-16 09:07:53 +12:00
Robert O'Callahan
7166351c49 Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats 2010-07-16 09:07:51 +12:00
Robert O'Callahan
2b99a4f71b Bug 564991. Part 2: Create retained layer API: methods on FrameLayerBuilder that frames can use to access, reuse and invalidate retained layers. r=mats,sr=vlad 2010-07-16 09:07:46 +12:00
Robert O'Callahan
802883e070 Bug 564991. Part 6: Make BasicLayers support retained ThebesLayer contents. r=cjones,sr=vlad 2010-03-04 10:37:04 +13:00
Robert O'Callahan
ec80a69bd2 Bug 564993. Fix build error, and fix Bas' review comment. 2010-05-24 14:25:58 +12:00
Robert O'Callahan
ca538ffb8c Port over part of changeset eaea9e3806a3 to FrameLayerBuilder to fix reftest failure in ogg-video/clipping-1a.html 2010-05-24 14:13:00 +12:00
Robert O'Callahan
077cae77a8 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan
b0069a62d7 Backed out changeset b37bdb032fe7 2010-05-24 10:53:05 +12:00
Robert O'Callahan
878449cec1 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan
3565425117 Backed out changeset efa8719a93d2 2010-05-21 16:34:23 +12:00
Robert O'Callahan
be435d540e Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00