gecko-dev/layout/painting
Jamie Nicol 3015b7e742 Bug 1490789 - Apply shift when calculating old area of invalidated frame r=miko
When calculating which regions of a layer to invalidate we usually
apply a shift to the area to account for changes in scroll offset. For
items within flattened transforms we do not do this, because the
transform itself includes the scroll offset. However, when calculating
the old area of an invalidated frame, we use the old transform. This
includes the previous scroll offset rather than the current, so we
must therefore still apply the shift.

Not doing so was causing the incorrect region to be invalidated, and
content to be rendered at the wrong location.

Differential Revision: https://phabricator.services.mozilla.com/D8080

--HG--
extra : moz-landing-system : lando
2018-10-09 12:47:45 +00:00
..
crashtests Bug 1477831 - Merge items in FLBDisplayItemIterator r=mattwoodrow 2018-07-24 16:31:04 +02:00
ActiveLayerTracker.cpp Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
ActiveLayerTracker.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
BorderCache.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
BorderConsts.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
DashedCornerFinder.cpp Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
DashedCornerFinder.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
DisplayItemClip.cpp Bug 1489944 - Fixed some std::move warnings - r=froydnj 2018-09-10 15:51:48 +00:00
DisplayItemClip.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
DisplayItemClipChain.cpp Bug 1489944 - Fixed some std::move warnings - r=froydnj 2018-09-10 15:51:48 +00:00
DisplayItemClipChain.h Bug 1489702 - Move mClipChainsToDestroy inline r=mattwoodrow 2018-09-11 18:03:18 +00:00
DisplayListChecker.cpp Bug 1433850 - layout.display-list.retain.verify.order to also check RDL ordering - r=mattwoodrow 2018-01-29 18:23:14 +11:00
DisplayListChecker.h Bug 1420298 'layout.display-list.retain.verify' to debug retained-dl - r=mattwoodrow 2017-11-20 17:15:08 +11:00
DisplayListClipState.cpp Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
DisplayListClipState.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
DottedCornerFinder.cpp Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
DottedCornerFinder.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
FrameLayerBuilder.cpp Bug 1490789 - Apply shift when calculating old area of invalidated frame r=miko 2018-10-09 12:47:45 +00:00
FrameLayerBuilder.h Bug 1494285 p2. Rename nsDisplayMask to nsDisplayMasksAndClipPaths. r=miko 2018-08-30 10:51:24 +01:00
LayerState.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
MaskLayerImageCache.cpp Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
MaskLayerImageCache.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
MatrixStack.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
PaintTracker.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
PaintTracker.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
RetainedDisplayListBuilder.cpp Bug 1488599 - Part 1: Add RetainedDisplayListData that will store frame invalidation information r=mattwoodrow 2018-09-19 10:21:27 +00:00
RetainedDisplayListBuilder.h Bug 1488599 - Part 1: Add RetainedDisplayListData that will store frame invalidation information r=mattwoodrow 2018-09-19 10:21:27 +00:00
RetainedDisplayListHelpers.h Bug 1415980 - make hash keys movable and not copyable; r=erahm 2018-09-20 11:20:36 -04:00
TransformClipNode.h Bug 1490518 - Scale areas after clipping to unscaled clip r=mattwoodrow 2018-09-20 18:31:00 +00:00
moz.build Bug 1489944 - Fixed some std::move warnings - r=froydnj 2018-09-10 15:51:48 +00:00
nsCSSRendering.cpp Bug 1382896 - Align Gecko and WebRender code for 3d border colors. r=mstange 2018-09-26 15:28:01 +02:00
nsCSSRendering.h Bug 1382896 - Align Gecko and WebRender code for 3d border colors. r=mstange 2018-09-26 15:28:01 +02:00
nsCSSRenderingBorders.cpp Bug 1382896 - Align Gecko and WebRender code for 3d border colors. r=mstange 2018-09-26 15:28:01 +02:00
nsCSSRenderingBorders.h Bug 1382896 - Align Gecko and WebRender code for 3d border colors. r=mstange 2018-09-26 15:28:01 +02:00
nsCSSRenderingGradients.cpp Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
nsCSSRenderingGradients.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
nsDisplayItemTypes.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00
nsDisplayItemTypesList.h Bug 1449634. Handle foreignobject better with blob invalidation. r=mstange 2018-09-06 16:10:51 -04:00
nsDisplayList.cpp Bug 1494124 - Allow only one rect per frame in WeakFrameRegion r=mattwoodrow 2018-10-02 11:40:16 +00:00
nsDisplayList.h Bug 1494124 - Allow only one rect per frame in WeakFrameRegion r=mattwoodrow 2018-10-02 11:40:16 +00:00
nsDisplayListInvalidation.cpp Bug 1494285 p3. Rename nsDisplayFilter to nsDisplayFilters. r=miko 2018-08-30 13:15:47 +01:00
nsDisplayListInvalidation.h Bug 1494285 p3. Rename nsDisplayFilter to nsDisplayFilters. r=miko 2018-08-30 13:15:47 +01:00
nsImageRenderer.cpp Bug 1495330. Hide SVGObserverUtils implementation details from nsImageRenderer. r=longsonr 2018-09-20 13:50:23 +01:00
nsImageRenderer.h Bug 1484966 - Part 3: Clang format layout/painting/ r=mattwoodrow 2018-09-04 20:46:21 +00:00