gecko-dev/gfx
Alexis Beingessner 4bb2580c85 Bug 1435094 - wire up GlyphRasterSpace to nsDisplayTransform. r=kats,mstange
When a transform thinks it's animated we should abandon screen rasterization
and instead favour local rasterization. This produces a more visually
pleasant rendering, as pixel-snapping "wobbles" the text between
frames.

The float scale of GlyphRasterSpace::Local is currently unused, but this
PR tries its best to set it to a reasonable value, based on discussion
with glennw about the intended semantics. We agreed it should specify
the scale *relative* to the parent stacking context, which means it's
just whatever scaling the stacking context's transform applies. It's
possible we'll need to clamp this value or make it properly 2-dimensional
later on.

Some book-keeping is added to StackingContextHelper to ensure that
GlyphRasterSpace::Screen is never requested by a descendent
of a stacking context using GlyphRasterSpace::Local.

nsDisplayMask is changed to use a StackingContextHelper to ensure
rasterSpace is properly propagated.

In addition, this is the first commit making use of cbindgen's new support
for bridging Rust enums natively into C++! This bumps our minimum cbindgen
to 6.0.0 (just released).

MozReview-Commit-ID: 9AlsB6nUheB

--HG--
extra : rebase_source : 978e51dbedeb1542e0829752b7f828ffeb2872e9
2018-04-25 10:47:34 -04:00
..
2d Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt 2018-04-23 18:22:05 +02:00
angle Bug 1455782 - Remove c++14->c++11 patch. - r=kvark 2018-04-24 13:23:07 -07:00
cairo Bug 1456952: Reapply bug 624198 fix that got lost in an upstream update. r=jrmuizel 2018-04-25 17:38:18 -04:00
config Bug 1191971 part 2 - Add capatiblity to enable DComp r=bas 2018-03-29 11:23:31 +09:00
doc Backed out 3 changesets (bug 1439960) for build bustages on APZInputBridgeChild.cpp and FrameBuilder.cpp. CLOSED TREE 2018-03-20 23:18:44 +02:00
docs
gl Bug 1444432 - Create Compositor::BlitRenderTarget and implement it for CompositorOGL. r=jrmuizel 2018-04-12 15:28:26 -04:00
graphite2 Bug 1443095 - Update graphite2 library to release 1.3.11 (plus upstream commit 6e24eb7e to fix leak). r=jrmuizel 2018-03-10 10:43:38 +00:00
harfbuzz Bug 1443812 - Update HarfBuzz to 1.7.6. r=jfkthame 2018-03-07 13:29:23 -05:00
ipc Bug 1454878 - Update WrExternalLogHandler as to use env_logger r=jrmuizel 2018-04-25 12:05:26 +09:00
layers Bug 1435094 - wire up GlyphRasterSpace to nsDisplayTransform. r=kats,mstange 2018-04-25 10:47:34 -04:00
ots Bug 1341088 - Update OTS to upstream rev. 63ff19f4a8, which includes support for variation tables. r=jrmuizel 2018-04-04 10:08:05 +01:00
qcms Bug 1431637 - free qcms_transform r_clut. r=jrmuizel 2018-02-08 21:41:03 -05:00
sfntly
skia Bug 1455569 - Handle variation settings of system-installed variation fonts when creating CTFont from CGFont on High Sierra. r=lsalzman 2018-04-20 17:18:03 +01:00
src Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt 2018-04-23 18:22:05 +02:00
tests Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 06:52:27 +03:00
thebes Bug 1457103 - patch 3 - Make gfxFontEntry::GetVariationAxes and GetVariationInstances pure virtual, and provide missing subclass implementations. r=jwatt 2018-04-26 17:08:18 +01:00
vr Bug 1451363 - part 5 - remove ProtocolName virtual function; r=mccr8 2018-04-23 14:13:36 -04:00
webrender Bug 1456114 - Update webrender to commit 751236199b39bb8dac78522713133ca18c603fb3. r=jrmuizel 2018-04-26 14:14:24 -04:00
webrender_api Bug 1456114 - Update webrender to commit 751236199b39bb8dac78522713133ca18c603fb3. r=jrmuizel 2018-04-26 14:14:24 -04:00
webrender_bindings Bug 1435094 - wire up GlyphRasterSpace to nsDisplayTransform. r=kats,mstange 2018-04-25 10:47:34 -04:00
wrench Bug 1456114 - Update webrender to commit 751236199b39bb8dac78522713133ca18c603fb3. r=jrmuizel 2018-04-26 14:14:24 -04:00
ycbcr Bug 1422368: Use intrinsics-based YUV functions from Win64 under Win32 clang-cl. r=jrmuizel 2018-04-04 08:41:36 -04:00
moz.build Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE 2018-01-17 07:23:40 +02:00