gecko-dev/gfx
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
..
2d Bug 1400378 - Add layers logging support for Point3D. r=mattwoodrow 2017-09-15 16:08:12 -04:00
angle Backed out changesets 98e46ead3522 and 52e6fce3e6f6 (bug 1399870) for Windows test failures; a=backout 2017-09-15 15:52:03 -07:00
cairo Bug 1400705 - cairo: Fix -Wunknown-warning-option clang warning about gcc flag (and suppress some other warnings). r=lsalzman 2017-09-16 21:01:25 -07:00
config
doc Bug 1398241 - Update webrender to commit 7d9444a24fb98bcc41afdca2a5bf145d514500f1. r=jrmuizel 2017-09-14 08:14:53 -04:00
docs
gl Bug 1396521 - Check that we have ANGLE exts for blitting from d3d. - r=daoshengmu 2017-09-05 20:27:16 -07:00
graphite2
harfbuzz Bug 1393375 - Update HarfBuzz to version 1.5.1. r=jfkthame 2017-09-07 09:36:27 -04:00
ipc Backed out changeset 727f0d09e299 (bug 1399453) because the annotations are no longer needed. 2017-09-15 15:11:29 -04:00
layers 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
ots Bug 1396026 - Update OTS to accept Awami Nastaliq. r=froydnj,jfkthame 2017-09-07 10:40:59 -07:00
qcms
sfntly
skia Bug 1395127 - fix Skia's AAA to work with even rounding. r=jrmuizel 2017-09-05 13:38:49 -04:00
src Bug 1373852 - Map font-kerning:normal to the appropriate low-level feature depending on orientation. r=jrmuizel 2017-09-15 21:52:06 +01:00
tests Rename the Advanced Layers pref to indicate that it's stable. (bug 1385051 part 1, r=milan) 2017-09-08 10:21:18 -07:00
thebes Bug 1398133 - Simplify gfxCoreTextShaper code by removing legacy code only needed on 10.7 and earlier. r=jrmuizel 2017-09-14 22:45:26 +01:00
vr Backed out changeset 727f0d09e299 (bug 1399453) because the annotations are no longer needed. 2017-09-15 15:11:29 -04:00
webrender Bug 1398241 - Update webrender to commit 7d9444a24fb98bcc41afdca2a5bf145d514500f1. r=jrmuizel 2017-09-14 08:14:53 -04:00
webrender_api Bug 1398241 - Update webrender to commit 7d9444a24fb98bcc41afdca2a5bf145d514500f1. r=jrmuizel 2017-09-14 08:14:53 -04:00
webrender_bindings merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-09-15 00:18:43 +02:00
ycbcr
moz.build