Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta c8cff9effe Bug 1563311 - Remove uses of MOZ_BUILD_WEBRENDER. r=aosmond
This removes support for building Firefox/Gecko without WebRender.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 11:05:17 +00:00
Emilio Cobos Álvarez cb19991fd7 Bug 1533142 - Use more cbindgen features. r=kats
We can get back the fancy flag syntax as soon as we get C++17 inline variables,
which I sent an email to dev-platform@ about, with no reply.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:01:11 +00:00
Emilio Cobos Álvarez e578ab79b9 Bug 1519639 - Update cbindgen config and generated FFI header. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16391
2019-01-13 11:21:21 +01:00
WR Updater Bot a9caa60531 Bug 1505862 - Send the interleaved WR display list dump to logcat. r=kats
Using the gfx.webrender.dl.dump-* prefs is supposed to print a display
list dump with the gecko and WR display items appropriately interleaved.
However on Android the gecko items get sent to logcat via printf_stderr,
and the WR display items get sent to stderr, and so get lost. This makes
the WR items also go to logcat so that they show up properly.

Depends on D11421

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

--HG--
extra : moz-landing-system : lando
2018-11-09 02:57:29 +00:00
Kartikaya Gupta 2974aacd34 Bug 1500587 - Skip generating bindings for constants because we don't need them. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D9296

--HG--
extra : moz-landing-system : lando
2018-10-21 22:59:25 +00:00
Alexis Beingessner 239a528013 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 : 247e5b197e998682cb4bb74f6f9319a9a4dd3264
2018-05-03 20:38:37 -04:00
Noemi Erli 0ec806df24 Backed out changeset f8ad5962fc89 (bug 1435094) bustage in /builds/worker/workspace/build/src/layout/painting/nsDisplayList.cpp on a CLOSED TREE 2018-04-27 04:14:39 +03:00
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
Kartikaya Gupta 7d1d15228b Bug 1443152 - Update to cbindgen 0.5.2. r=rhunt
MozReview-Commit-ID: COIPhZvMJK

--HG--
extra : rebase_source : 9687211e6bda9b306d8cdf522145eee132601b18
2018-03-12 16:38:10 -04:00
Kartikaya Gupta d1ba474792 Bug 1440256 - Regenerate webrender_ffi_generated.h with cbindgen 0.4.4. r=jrmuizel
MozReview-Commit-ID: FmoBOp3qPgj

--HG--
extra : rebase_source : 9e3e93a60813bf58c741180dc52c6816c4aba1a0
2018-02-22 05:31:13 -05:00
Ryan Hunt 8e6a6ef6e5 Update the github repository for cbindgen in comments. (bug 1439953, r=kats) DONTBUILD
MozReview-Commit-ID: DgsgB5d6GiH

--HG--
extra : rebase_source : 111daefeddfb25bb646d6ca9b63346486288701a
extra : amend_source : 906c7d2ace2c988c78598d424fb7f68e3df6ed7f
extra : histedit_source : 3ee820dce4fde5d793d28cd889a8b1ef976d6909
2018-02-20 23:03:31 -06:00
Ryan Hunt 20789635c3 Generate webrender_ffi_generated with cbindgen:0.3.3 (bug 1428142, r=nical)
--HG--
extra : rebase_source : 930fc29308f193d9e3b54495508fb6101806bac5
extra : histedit_source : 01d64855b96776b623a248a85ee96febfdc0edfd%2C38c52cb3034b777d66de02ec5041b2d08f4bb272
2018-01-04 12:23:34 -06:00
JerryShih 5b15c33523 Bug 1399389 - redirect the warn/error message to gfx_critical_error/note in WR. r=kvark
MozReview-Commit-ID: Fxkz3Fq96Tb
2017-10-30 11:31:38 +08:00
Lee Salzman 892650be6c Bug 1405790 - supply FontInstancePlatformOptions to WebRender. r=jrmuizel
Patch originally developed in bug 1406138, but landed in bug 1405790 since it
needs to land together with the upstream WR changes in PR 1816.

MozReview-Commit-ID: IHVoKhVncd5

--HG--
extra : rebase_source : 912e3d903d71c1b664817457e67aa6d81be3f4dd
2017-10-05 15:26:01 -04:00
Kartikaya Gupta 93e44f9dee Bug 1393461 - Update cbindgen.toml to note that cbindgen needs nightly. r=jrmuizel
MozReview-Commit-ID: Fs8VvriGOnA

--HG--
extra : rebase_source : d1838920e02a797bd4f85bec25f545294ee10576
2017-08-24 10:17:12 -04:00
Ryan Hunt 017d292cac Bug 1382128 part 2 - Remove WrPoint, WrSize, WrRect, WrMatrix, and WrColor. r=kats
MozReview-Commit-ID: 9koNScu4CyE

--HG--
extra : rebase_source : 68185e949ddf2ae346a5d597d056a7f2d9ea7a28
2017-07-18 18:32:46 -04:00
Ryan Hunt 3f3cb0a954 Bug 1382128 part 1 - Use a namespace in webrender_bindings. r=kats
MozReview-Commit-ID: 3JTMa9Ix5S7

--HG--
extra : rebase_source : 0bea14d9e395cab260d2db5135b1f64e9f82b2e2
2017-06-27 19:20:36 -04:00
Kartikaya Gupta 43d050abae Bug 1374730 - Update webrender_bindings Cargo.toml and cbindgen.toml files. r=jrmuizel
MozReview-Commit-ID: 1rOw37FoHo8

--HG--
extra : rebase_source : ec04551e16d44f6157a379c58ad44253d833f657
2017-07-10 07:19:51 -04:00
Ryan Hunt 81eda4a130 Bug 1378543 - Update webrender_bindings for cbindgen:0.1.13. r=kats
MozReview-Commit-ID: LB1LLzBUWd2

--HG--
extra : rebase_source : 0f4486fc7248a4b4e9a33f9d8a0855c6ac034324
extra : amend_source : e510f9bf238975229fabe15475eb6ed6e9e0a7ab
2017-07-05 18:16:44 -04:00
Ryan Hunt 05ee8df788 Bug 1362925 - Update webrender_bindings for cbindgen:0.1.7 r=kats
MozReview-Commit-ID: AwlqUWWEWfz

--HG--
extra : rebase_source : deace018f5d25f3eeecd5d4d683bb4f9a782a05c
extra : amend_source : 051d621e7b35e5389627b0946e7f87f0f8b9fa14
2017-05-08 01:31:20 -04:00