gecko-dev/layout/reftests/async-scrolling
Kartikaya Gupta fc4b1372bc Bug 1400034 - Do a more direct translation of transforms from Gecko to WR in layers-free mode. r=ethlin,pchang
In layers-free mode the gecko display list and coordinate system is very
similar to what WR is expecting. Instead of having each
StackingContextHelper shift the origin of the coordinate system, we can
leave it in one spot and just pass everything relative to that. The
semantics of the Gecko display list already matches this; the exception
is that nsDisplayTransform items are also considered reference frames,
and anything inside them is relative to the nsDisplayTransform. On the
WR side this is also the case, because stacking contexts with a
transform are implicitly turned into reference frames.

Additionally, the size of the bounds passed to the WR stacking context
is never actually used, except on the root stacking context (which is
not created by StackingContextHelper). Since we want a zero origin (as
explained above) and the size is never used, we can just pass a zero
rect to the WR stacking context from StackingContextHelper.

In terms of the actual transform matrix, this patch now passes the full
unmodified transform from nsDisplayTransform into WR. This transform
gets applied onto the contents of the nsDisplayTransform. The contents'
coordinate system is relative to the frame that generated the
nsDisplayTransform. Again this maps directly to WR, where the transform
on the stacking context gets applied to the contents of the stacking
context; the contents' coordinates are relative to the stacking context.

MozReview-Commit-ID: 9hdDxdKXPPi

--HG--
extra : rebase_source : b201cea867c6c6e26c2b0bcd0e38c8722f09fe77
2017-09-17 10:37:43 -04:00
..
background-blend-mode-1-ref.html
background-blend-mode-1.html
bg-fixed-1-ref.html
bg-fixed-1.html
bg-fixed-child-clip-1.html
bg-fixed-child-clip-2.html
bg-fixed-child-clip-ref.html
bg-fixed-child-mask-ref.html
bg-fixed-child-mask.html
bg-fixed-child-no-culling-1-ref.html
bg-fixed-child-no-culling-1.html
bg-fixed-child-no-culling-2-ref.html
bg-fixed-child-no-culling-2.html
bg-fixed-child-no-culling-3-ref.html Bug 1336519 - Don't try to detect scrolled clips using AGRs in non-APZ mode. r=mattwoodrow 2017-02-03 13:41:37 -05:00
bg-fixed-child-no-culling-3.html Bug 1336519 - Don't try to detect scrolled clips using AGRs in non-APZ mode. r=mattwoodrow 2017-02-03 13:41:37 -05:00
bg-fixed-child-ref.html
bg-fixed-child.html
bg-fixed-cover-1-ref.html
bg-fixed-cover-1.html
bg-fixed-cover-2-ref.html
bg-fixed-cover-2.html
bg-fixed-cover-3-ref.html
bg-fixed-cover-3.html
bg-fixed-in-opacity-ref.html
bg-fixed-in-opacity.html
bg-fixed-transformed-image-ref.html
bg-fixed-transformed-image.html
checkerboard-1-ref.html
checkerboard-1.html
checkerboard-2-ref.html Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout 2017-04-21 18:01:24 +02:00
checkerboard-2.html
checkerboard-3-ref.html Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout 2017-04-21 18:01:24 +02:00
checkerboard-3.html
culling-1-ref.html
culling-1.html
disable-apz-for-sle-pages-ref.html
disable-apz-for-sle-pages.html
element-1-ref.html
element-1.html
fixed-pos-scrollable-1-ref.html
fixed-pos-scrollable-1.html
fixed-pos-scrolled-clip-1-ref.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
fixed-pos-scrolled-clip-1.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
fixed-pos-scrolled-clip-2-ref.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
fixed-pos-scrolled-clip-2.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
fixed-pos-scrolled-clip-3-ref.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
fixed-pos-scrolled-clip-3.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
fixed-pos-scrolled-clip-4-ref.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
fixed-pos-scrolled-clip-4.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
group-opacity-surface-size-1-ref.html
group-opacity-surface-size-1.html
iframe-1-ref.html
iframe-1.html
nested-1-ref.html
nested-1.html
nested-2-ref.html
nested-2.html
offscreen-clipped-blendmode-1.html
offscreen-clipped-blendmode-2.html
offscreen-clipped-blendmode-3.html
offscreen-clipped-blendmode-4.html
offscreen-clipped-blendmode-ref.html
offscreen-prerendered-active-opacity-ref.html
offscreen-prerendered-active-opacity.html
opaque-fractional-displayport-1.html
opaque-fractional-displayport-2.html
perspective-scrolling-1-ref.html
perspective-scrolling-1.html
perspective-scrolling-2-ref.html
perspective-scrolling-2.html
perspective-scrolling-3-ref.html
perspective-scrolling-3.html
perspective-scrolling-4-ref.html
perspective-scrolling-4.html
position-fixed-1-ref.html
position-fixed-1.html
position-fixed-2-ref.html
position-fixed-2.html
position-fixed-body-ref.html
position-fixed-body.html
position-fixed-cover-1-ref.html
position-fixed-cover-1.html
position-fixed-cover-2-ref.html
position-fixed-cover-2.html
position-fixed-cover-3-ref.html
position-fixed-cover-3.html
position-fixed-iframe-1-ref.html
position-fixed-iframe-1.html
position-fixed-iframe-2-ref.html
position-fixed-iframe-2.html
position-fixed-in-scroll-container-ref.html
position-fixed-in-scroll-container.html
position-fixed-inside-sticky-1-ref.html
position-fixed-inside-sticky-1.html
position-fixed-inside-sticky-2-ref.html
position-fixed-inside-sticky-2.html
position-fixed-transformed-1-ref.html
position-fixed-transformed-1.html
position-sticky-scrolled-clip-1-ref.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
position-sticky-scrolled-clip-1.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
position-sticky-scrolled-clip-2-ref.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
position-sticky-scrolled-clip-2.html Bug 1298218 - Tests. r=mattwoodrow 2016-09-07 23:19:09 -04:00
position-sticky-transformed-ref.html
position-sticky-transformed.html
reftest.list Bug 1400034 - Do a more direct translation of transforms from Gecko to WR in layers-free mode. r=ethlin,pchang 2017-09-17 10:37:43 -04:00
repeatable-diagonal-gradient.png
split-layers-1-ref.html
split-layers-1.html
split-layers-multi-scrolling-1-ref.html
split-layers-multi-scrolling-1.html
split-opacity-layers-1-ref.html
split-opacity-layers-1.html
sticky-pos-scrollable-1-ref.html
sticky-pos-scrollable-1.html
sticky-pos-scrollable-2-ref.html
sticky-pos-scrollable-2.html
sticky-pos-scrollable-3-ref.html
sticky-pos-scrollable-3.html