gecko/layout/base
Robert O'Callahan 57460ca6e6 Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow
Previous patches in this bug enabled the nsDisplayCanvasBackground
background-caching optimization for the test 402807-1.html. That exposed
an existing bug where we don't snap the background image to pixel
boundaries when drawing through that path. This patch fixes it.
This patch also stops the IsSingleFixedPositionImage path from using
mDestRect, returning the rect as an out-parameter instead.

--HG--
extra : rebase_source : b7a496dfc7584dd8c73cddd0809fc5aa31992d53
2012-11-14 17:35:18 -08:00
..
crashtests Bug 795646 - Add crashtest for merged nsDisplayFixedPosition items. r=cjones 2012-09-30 19:20:24 +13:00
tests Bug 788322. Don't crash when we drawWindow on a page containing a remote <iframe>. r=mattwoodrow 2012-11-13 11:55:52 -08:00
FrameLayerBuilder.cpp Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow 2012-11-09 18:14:14 -05:00
FrameLayerBuilder.h Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow 2012-11-09 18:14:14 -05:00
FramePropertyTable.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
FramePropertyTable.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
Makefile.in Backout bug 779684 for topcrash 2012-10-15 14:35:50 -04:00
MaskLayerImageCache.cpp Bug 769021; fix a memory leak with mask sharing. r=khuey 2012-09-04 13:02:56 +12:00
MaskLayerImageCache.h Bug 769021; fix a memory leak with mask sharing. r=khuey 2012-09-04 13:02:56 +12:00
nsArenaMemoryStats.h
nsAutoLayoutPhase.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsBidi.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsBidi.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsBidiPresUtils.cpp Don't split inlines with bidi-isolated kids unnecessarily when they don't have siblings. Bug 793233, r=roc 2012-10-25 01:36:37 -07:00
nsBidiPresUtils.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsCaret.cpp Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
nsCaret.h Bug 805697. Remove StCaretHider since it's not needed anymore. r=mats 2012-10-29 17:31:26 +13:00
nsChangeHint.h Bug 809328 - Stop using nsChangeHint_UpdateEffects in nsSVGRenderingObserver::DoUpdate overrides. r=roc. 2012-11-07 13:54:55 +00:00
nsChildIterator.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsChildIterator.h Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
nsCompatibility.h
nsCounterManager.cpp Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
nsCounterManager.h Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
nsCSSColorUtils.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsCSSColorUtils.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsCSSFrameConstructor.cpp Bug 811301. Part 1: Save and restore state of root scroll frame when reframing the root element, and treat root scroll frame state like any other frame. r=mats 2012-11-14 22:39:58 -08:00
nsCSSFrameConstructor.h Bug 804970, patch 4: Refactor part of RebuildAllStyleData into a helper function (slightly reordering it), so that we can share that part. r=bzbarsky 2012-10-26 19:04:20 +02:00
nsCSSRendering.cpp Bug 810470. Part 5: Remove more unused code. r=mattwoodrow 2012-11-09 18:14:14 -05:00
nsCSSRendering.h Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow 2012-11-08 10:05:32 -05:00
nsCSSRenderingBorders.cpp Bug 809603. Simplify border radius drawing. r=roc 2012-11-12 17:55:26 -08:00
nsCSSRenderingBorders.h Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
nsDisplayItemTypes.h Bug 798964 - Don't invalidate nsDisplayBackgroundColor if only the image changed. r=roc 2012-11-07 11:04:53 +13:00
nsDisplayItemTypesList.h Bug 798964 - Don't invalidate nsDisplayBackgroundColor if only the image changed. r=roc 2012-11-07 11:04:53 +13:00
nsDisplayList.cpp Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow 2012-11-14 17:35:18 -08:00
nsDisplayList.h Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow 2012-11-14 17:35:18 -08:00
nsDisplayListInvalidation.cpp Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow 2012-11-09 18:14:59 -05:00
nsDisplayListInvalidation.h Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow 2012-11-09 18:14:59 -05:00
nsDocumentViewer.cpp Bug 811301. Part 3: Cleanup presshell code now that we don't do special state save/restore for the root scroll frame. r=mats 2012-11-14 22:40:28 -08:00
nsFrameManager.cpp Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
nsFrameManager.h Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
nsFrameManagerBase.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsFrameTraversal.cpp Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-25 14:44:37 -04:00
nsFrameTraversal.h Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-25 14:44:37 -04:00
nsGenConList.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsGenConList.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIDocumentViewerPrint.h
nsIFrameTraversal.h Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-25 14:44:37 -04:00
nsILayoutDebugger.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsILayoutHistoryState.h
nsIPercentHeightObserver.h
nsIPresShell.h Bug 811301. Part 3: Cleanup presshell code now that we don't do special state save/restore for the root scroll frame. r=mats 2012-11-14 22:40:28 -08:00
nsIReflowCallback.h
nsIStyleSheetService.idl Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz 2012-10-16 21:45:50 +02:00
nsLayoutDebugger.cpp Bug 805331. Part 1: Refactor nsDisplayList::GetList 2012-11-03 01:59:03 +13:00
nsLayoutHistoryState.cpp Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
nsLayoutUtils.cpp Bustage fix (bug 804991 - Make FromContent expect a non-null pointer and add FromContentOrNull) 2012-11-09 22:10:06 +01:00
nsLayoutUtils.h Bug 784375: Add a preference to control maximum font size inflation ratio. [r=dbaron] 2012-10-15 14:03:37 -05:00
nsPresArena.cpp Bug 809533, patch 1: Make allocation in the frame arena and the display list arena infallible. r=roc 2012-11-07 11:55:53 -08:00
nsPresArena.h
nsPresContext.cpp Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
nsPresContext.h Bug 810470. Part 5: Remove more unused code. r=mattwoodrow 2012-11-09 18:14:14 -05:00
nsPresShell.cpp Bug 811301. Part 3: Cleanup presshell code now that we don't do special state save/restore for the root scroll frame. r=mats 2012-11-14 22:40:28 -08:00
nsPresShell.h Bug 811301. Part 3: Cleanup presshell code now that we don't do special state save/restore for the root scroll frame. r=mats 2012-11-14 22:40:28 -08:00
nsPresState.h Bug 796129 - remove prtypes #includes in layout/ 2012-10-01 17:12:57 -04:00
nsQuoteList.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsQuoteList.h Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
nsRefreshDriver.cpp Bug 802902 - Live long and prosper Mr. View Manager. r=roc 2012-10-22 15:53:31 +02:00
nsRefreshDriver.h Backout 5b727a94eebd (bug 731974) for causing bug 797263 again 2012-10-12 11:25:17 +01:00
nsStyleChangeList.cpp Rename nsChangeHint_ReflowFrame to nsChangeHint_AllReflowHints to make it clearer that it's the one that contains multiple bits. (Bug 789592, patch 2) r=bzbarsky 2012-09-07 15:57:06 -07:00
nsStyleChangeList.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsStyleConsts.h bug 774560 pt 2 - implement text-transform:full-width. r=smontagu 2012-11-09 09:43:48 +00:00
nsStyleSheetService.cpp Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz 2012-10-16 21:45:56 +02:00
nsStyleSheetService.h Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz 2012-10-16 21:45:56 +02:00
PaintTracker.cpp
PaintTracker.h
PositionedEventTargeting.cpp Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
PositionedEventTargeting.h Bug 780847. Built-in support for mouse/touch events targeting nodes within a certain radius via heuristics. r=mats,smaug 2012-08-20 12:02:42 +12:00
RestyleTracker.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
RestyleTracker.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
StackArena.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
StackArena.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00