gecko-dev/layout/base
Robert O'Callahan f55223784a Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.

The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).

This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
..
crashtests Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc 2011-02-21 10:02:23 +02:00
tests Merge cedar into mozilla-central 2011-03-30 13:53:35 -04:00
FrameLayerBuilder.cpp Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel 2011-03-28 12:59:47 +13:00
FrameLayerBuilder.h Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel 2011-03-28 12:59:47 +13:00
FramePropertyTable.cpp
FramePropertyTable.h
Makefile.in Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Back out bug 263359 because it has caused bug 645119 2011-03-25 18:15:29 -04:00
nsBidiPresUtils.h Back out bug 263359 because it has caused bug 645119 2011-03-25 18:15:29 -04:00
nsCaret.cpp Bug 632215 - Make the caret ignore -moz-user-modify if we ask it to immediately, instead of waiting for the next caret paint timer; r=roc a=blocking-final+ 2011-02-10 16:12:53 -05:00
nsCaret.h
nsChangeHint.h
nsChildIterator.cpp
nsChildIterator.h
nsCompatibility.h
nsCounterManager.cpp
nsCounterManager.h
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Merge cedar into mozilla-central 2011-03-30 13:53:35 -04:00
nsCSSFrameConstructor.h Bug 598832 part 16. Use a single TreeMatchContext for all the style resolution that the frame constructor does as part of a single frame construction batch. r=dbaron 2011-03-29 13:29:21 -04:00
nsCSSRendering.cpp Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron 2011-03-31 21:26:49 +09:00
nsCSSRendering.h Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron 2011-03-31 21:26:49 +09:00
nsCSSRenderingBorders.cpp
nsCSSRenderingBorders.h
nsDisplayItemTypes.h Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-16 16:43:30 -06:00
nsDisplayList.cpp Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
nsDisplayList.h Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel 2011-04-01 10:33:46 +13:00
nsDocumentViewer.cpp Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
nsFrameManager.cpp Bug 587484 - warning: suggest parentheses around assignment used as truth value in while (... = GetNextContinuation()) 2011-02-16 14:14:14 +01:00
nsFrameManager.h
nsFrameManagerBase.h
nsFrameTraversal.cpp
nsFrameTraversal.h
nsGenConList.cpp
nsGenConList.h
nsIDocumentViewer.h
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsIImageMap.h
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsImageLoader.cpp
nsImageLoader.h
nsIPercentHeightObserver.h
nsIPresShell.h Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel 2011-04-01 10:33:46 +13:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp
nsLayoutErrors.h
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm 2011-03-25 11:03:35 -04:00
nsLayoutUtils.h Bug 638241. Use a cache to avoid redoing SurfaceForElement and DoDrawImageSecurityCheck. r=bzbarsky 2011-03-24 16:13:56 +13:00
nsPresArena.cpp Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky 2011-03-17 20:14:31 -07:00
nsPresArena.h Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky 2011-03-17 20:14:31 -07:00
nsPresContext.cpp Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel 2011-04-01 10:33:46 +13:00
nsPresContext.h bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec 2011-03-10 23:33:43 -05:00
nsPresShell.cpp Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel 2011-04-01 10:33:46 +13:00
nsPresState.h
nsQuoteList.cpp
nsQuoteList.h
nsRefreshDriver.cpp Bug 645943. Initialize mLastTimerInterval correctly. r=dbaron 2011-03-29 00:41:01 -04:00
nsRefreshDriver.h Bug 642717. Hold strong references to our MozBeforePaint event targets. r=roc 2011-03-28 10:49:48 -04:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleConsts.h Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky 2011-03-31 21:26:35 +09:00
nsStyleSheetService.cpp
nsStyleSheetService.h
PaintTracker.cpp Bug 616812 Remove extraneous CRs r+a=dbaron 2011-02-16 21:39:52 +00:00
PaintTracker.h Bug 616812 Remove extraneous CRs r+a=dbaron 2011-02-16 21:39:52 +00:00
RestyleTracker.cpp
RestyleTracker.h