gecko/layout/base
Timothy Nikkel dc5c4979ef Bug 1000266. Don't purge the canvas fixed background image cache if we are only scrolling. r=mattwoodrow
Also NotifyRenderingChanged was on the canvas background color item, not the background image item.

Bug 818643 was a problem where the cache didn't get purged enough, but the fix meant we basically always purged the cached and never got to use it, making it useless. It meant that we purged the cache anytime the item has any type of invalidation whatsoever, even if the item would be drawn the same but the layer contents needed to be invalidated so that it would be redrawn (ie due to staying at the same position on screen but a different position in the layer).

This is really hacky, but NotifyRenderingChanged is only observed on one type of display item. So we just isolate the case where the only thing that changed is the offset (due to scrolling) and skip the NotifyRenderingChanged in that case.
2014-04-23 21:56:15 -05:00
..
crashtests Bug 982908 - Allow fewer assertions for crashtest 266360-1; r=mats 2014-04-14 10:39:05 -06:00
tests Bug 990340 - Use GetContentInsertionFrame() when searching for ::before/::after frames. r=bz 2014-04-23 22:52:43 +00:00
ActiveLayerTracker.cpp Bug 968174 - Don't schedule a paint if the pres context was detached during the delay. Re-enable the assertions from bug 967758. r=roc 2014-02-10 02:14:38 +00:00
ActiveLayerTracker.h
DisplayItemClip.cpp
DisplayItemClip.h
DisplayListClipState.cpp
DisplayListClipState.h
FrameLayerBuilder.cpp Bug 1000266. Don't purge the canvas fixed background image cache if we are only scrolling. r=mattwoodrow 2014-04-23 21:56:15 -05:00
FrameLayerBuilder.h Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
FramePropertyTable.cpp
FramePropertyTable.h
GeometryUtils.cpp Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
GeometryUtils.h Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
Makefile.in
MaskLayerImageCache.cpp
MaskLayerImageCache.h
moz.build Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsArenaMemoryStats.h
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsBidi.h
nsBidiPresUtils.cpp Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsBidiPresUtils.h Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsCaret.cpp Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsCaret.h Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsChangeHint.h Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron 2014-03-13 17:21:25 -07:00
nsCompatibility.h
nsCounterManager.cpp
nsCounterManager.h
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz 2014-04-03 03:48:51 -04:00
nsCSSFrameConstructor.h Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz 2014-04-03 03:48:51 -04:00
nsCSSRendering.cpp Back out bug 613659 (for regression bug 998792) 2014-04-20 19:39:24 +00:00
nsCSSRendering.h Back out bug 613659 (for regression bug 998792) 2014-04-20 19:39:24 +00:00
nsCSSRenderingBorders.cpp Back out bug 613659 (for regression bug 998792) 2014-04-20 19:39:24 +00:00
nsCSSRenderingBorders.h Back out bug 613659 (for regression bug 998792) 2014-04-20 19:39:24 +00:00
nsDisplayItemTypes.h
nsDisplayItemTypesList.h Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats 2014-02-14 21:59:23 +13:00
nsDisplayList.cpp Bug 1000266. Don't purge the canvas fixed background image cache if we are only scrolling. r=mattwoodrow 2014-04-23 21:56:15 -05:00
nsDisplayList.h Bug 984460 - Fill in a missing piece of code to compute the right dirty rect in the face of CSS transforms. r=mattwoodrow 2014-04-23 09:26:52 -04:00
nsDisplayListInvalidation.cpp Bug 613659 - Fix B2G build error. r=me 2014-04-17 13:55:12 +00:00
nsDisplayListInvalidation.h
nsDocumentViewer.cpp Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc 2014-04-14 21:30:25 -07:00
nsFrameManager.cpp Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug 2014-02-27 10:04:09 -08:00
nsFrameManager.h
nsFrameManagerBase.h
nsFrameTraversal.cpp Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05:00
nsFrameTraversal.h
nsGenConList.cpp
nsGenConList.h
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsIPercentHeightObserver.h
nsIPresShell.h Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow 2014-03-02 16:22:29 -06:00
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsLayoutUtils.h Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
nsPresArena.cpp
nsPresArena.h
nsPresContext.cpp Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsPresContext.h Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
nsPresShell.cpp Bug 987078 - If pointerType is "mouse" and buttons > 0, then pressure must be 0.5. r=smaug 2014-04-22 14:27:02 -07:00
nsPresShell.h Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc 2014-04-14 21:30:25 -07:00
nsPresState.h Bug 611556 - Add persistent zoom history sessions. r=roc, r=snorp 2014-04-07 13:43:58 +02:00
nsQuoteList.cpp
nsQuoteList.h
nsRefreshDriver.cpp Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
nsRefreshDriver.h Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp
nsStyleSheetService.h
PaintTracker.cpp
PaintTracker.h
PositionedEventTargeting.cpp Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug 2014-04-03 13:18:36 +09:00
PositionedEventTargeting.h
RestyleManager.cpp Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron 2014-03-13 17:21:25 -07:00
RestyleManager.h Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug 2014-04-03 13:18:36 +09:00
RestyleTracker.cpp
RestyleTracker.h Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron 2014-03-13 17:21:25 -07:00
ScrollbarStyles.h
StackArena.cpp
StackArena.h
Units.h Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
UnitTransforms.h Backed out changeset bae32cf47dec (bug 988882) since it seems this breaks debug-bc tests 2014-04-04 13:23:20 +02:00