gecko-dev/layout/painting
Jamie Nicol 61cdff34c5 Bug 1429508 - Allow created mask surfaces to be clipped to the necessary size when replaying a recording. r=bas
Add a command CreateClippedDrawTarget to DrawTarget, which takes the
max required size and a transform between this draw target and the one
to be created. The created draw target may have its size clipped to
the size of this draw target, transformed to the new target's
space. This means that the new surface will be large enough so
that it is rendered to this draw target correctly, but not necessarily
any larger.

Usually this will just create a draw target of the requested size, for
simplicity. However, when replaying a recorded draw target we do clip
the size to the base draw target's size. This is done using a
DrawTargetTiled, so when applying the mask in PopLayer, we must take
the SourceSurface's offset in to account.

MozReview-Commit-ID: 89ONElphzLu

--HG--
extra : rebase_source : 7eebeb66a2686a7b6f4ade36f3004ebb06abc2fe
2018-02-05 17:59:42 +00:00
..
crashtests Bug 1430589 - Add crashtest. r=mattwoodrow,mstange 2018-01-19 23:47:29 -05:00
ActiveLayerTracker.cpp Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn 2018-02-01 15:04:04 +11:00
ActiveLayerTracker.h 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
BorderCache.h 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
BorderConsts.h 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
DashedCornerFinder.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
DashedCornerFinder.h 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
DisplayItemClip.cpp Bug 1417376 Part 3 - Pass nsPoint parameters by const references instead of values. r=mats 2017-11-15 17:55:36 +08:00
DisplayItemClip.h Bug 1417376 Part 3 - Pass nsPoint parameters by const references instead of values. r=mats 2017-11-15 17:55:36 +08:00
DisplayItemClipChain.cpp Bug 1428765 - Fix scenario where display item clip chains hash to different values even though they are equal. r=mstange 2018-01-09 12:31:58 -05:00
DisplayItemClipChain.h Bug 1436279 - Remove unneeded mutable from DisplayItemClipChain::mRefCount - r=mattwoodrow 2017-11-21 11:46:48 +11: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 1430589 - Avoid putting a stack-allocated DisplayItemClipChain into the clip deduplicator. r=mattwoodrow,mstange 2018-01-19 23:47:26 -05:00
DisplayListClipState.h Bug 1436279 - Remove unneeded 'friend class' statements - r=mattwoodrow 2017-12-13 09:21:14 -06:00
DottedCornerFinder.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
DottedCornerFinder.h 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
FrameLayerBuilder.cpp Bug 1434243 - Part 2: Add nsDisplayCompositorHitTestInfo support to FrameLayerBuilder r=mattwoodrow 2018-01-30 15:10:23 +01:00
FrameLayerBuilder.h Bug 1426649: Stop tracking DOM changes from painting. r=dbaron 2017-12-21 14:09:32 +01:00
LayerState.h 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
MaskLayerImageCache.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
MaskLayerImageCache.h 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.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 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
RetainedDisplayListBuilder.cpp Bug 1436189 - Part 2: Make sure we descend to the modified frame so that we descend through the containing block and mark out of flow frames for display. r=miko 2018-02-09 11:47:08 +13:00
RetainedDisplayListBuilder.h Bug 1429932 - Part 4: Determine when AttemptPartialUpdate made no changes, and return the result to the caller. r=miko 2018-01-12 11:46:23 +13:00
moz.build Bug 1425340 - Remove unused DisplayItemScrollClip files. r=mattwoodrow 2017-12-14 15:59:35 -06:00
nsCSSRendering.cpp Bug 1432341 - Draw column-rules with border-code in box-decoration-break: clone mode, rather than slice. r=mattwoodrow 2018-01-31 07:18:49 +00:00
nsCSSRendering.h Backed out changeset 8e33d0ce108c (bug 1351447) for failing /builds/worker/workspace/build/src/widget/cocoa/nsCocoaUtils on OS X r=backout a=backout on a CLOSED TREE 2017-12-12 09:49:59 +02:00
nsCSSRenderingBorders.cpp Bug 1429723: Graphics cleanup. r=jrmuizel 2018-01-22 18:14:19 +01:00
nsCSSRenderingBorders.h Bug 1429723: Graphics cleanup. r=jrmuizel 2018-01-22 18:14:19 +01:00
nsCSSRenderingGradients.cpp Bug 785931 - Removed probes GRADIENT_DURATION, GRADIENT_RETENTION_TIME. r=chutten 2017-12-13 23:08:56 +05:30
nsCSSRenderingGradients.h 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
nsDisplayItemTypes.h 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
nsDisplayItemTypesList.h Bug 1429932 - Part 2: nsDisplayMask can paint images and shouldn't have the TYPE_RENDERS_NO_IMAGES flag. r=mstange 2018-01-12 11:42:11 +13:00
nsDisplayList.cpp Bug 1429508 - Allow created mask surfaces to be clipped to the necessary size when replaying a recording. r=bas 2018-02-05 17:59:42 +00:00
nsDisplayList.h Bug 1434243 - Part 3: Make nsDisplayListBuilder::ToReferenceFrame and nsDisplayListBuilder::FindReferenceFrame const r=mattwoodrow 2018-02-06 17:18:22 +01:00
nsDisplayListInvalidation.cpp Bug 1418893 - Check opacity changes when computing mask's invalidation region. r=mattwoodrow 2017-12-20 14:23:06 +08:00
nsDisplayListInvalidation.h Bug 1418893 - Check opacity changes when computing mask's invalidation region. r=mattwoodrow 2017-12-20 14:23:06 +08:00
nsImageRenderer.cpp Bug 1325940 part 2 - Converted NS_STYLE_BORDER_IMAGE_REPEAT_* to an enum class. r=emilio 2017-12-21 16:16:40 +11:00
nsImageRenderer.h Bug 1325940 part 2 - Converted NS_STYLE_BORDER_IMAGE_REPEAT_* to an enum class. r=emilio 2017-12-21 16:16:40 +11:00