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

42 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro 9ce9bd86e7 Bug 1740358 - Use Java JDK from Adoptium in CI. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D131928
2021-11-30 16:11:00 +00:00
Jamie Nicol 15d74fcee2 Bug 1728064 - Add test to ensure shaders don't contain flat scalar varyings on android. r=gfx-reviewers,kvark
There is a driver bug on Adreno 3xx devices causing incorrect
rendering when flat scalar varyings are used in fragment shaders. This
has occured several times in different shaders, so this patch finally
adds a test to ensure it does not occur again.

We have used the glsl crate to parse and validate the shaders rather
than angle, as exposing the required bindings to mozangle is messy. We
must therefore use the pre-optimized shaders as the glsl crate does
not handle preprocessor directives correctly.

This has been implemented as a wrench test rather than a unit test as
running unit tests on android is difficult. Additionally we want to
use the shaders specific to the platform the tests are ran on, the bug
only affects (some) android devices, and shaders on other platforms
may differ.

Differential Revision: https://phabricator.services.mozilla.com/D124205
2021-09-06 13:56:58 +00:00
Marian-Vasile Laza c39298632e Backed out 2 changesets (bug 1728064) for causing webrender bustages. CLOSED TREE
Backed out changeset 9c7077da42f2 (bug 1728064)
Backed out changeset 4daf6a7a42f7 (bug 1728064)
2021-09-06 15:10:51 +03:00
Jamie Nicol 7542987dcd Bug 1728064 - Add test to ensure shaders don't contain flat scalar varyings on android. r=gfx-reviewers,kvark
There is a driver bug on Adreno 3xx devices causing incorrect
rendering when flat scalar varyings are used in fragment shaders. This
has occured several times in different shaders, so this patch finally
adds a test to ensure it does not occur again.

We have used the glsl crate to parse and validate the shaders rather
than angle, as exposing the required bindings to mozangle is messy. We
must therefore use the pre-optimized shaders as the glsl crate does
not handle preprocessor directives correctly.

This has been implemented as a wrench test rather than a unit test as
running unit tests on android is difficult. Additionally we want to
use the shaders specific to the platform the tests are ran on, the bug
only affects (some) android devices, and shaders on other platforms
may differ.

Differential Revision: https://phabricator.services.mozilla.com/D124205
2021-09-06 11:20:48 +00:00
Glenn Watson 7947bc10f1 Bug 1706824 - Remove old direct-composition example. r=gfx-reviewers,lsalzman
This was an old example / proof of concept of directly drawing
to a DirectComposition surface.

We now have the example-compositor/ project that shows how to
integrate with DirectComposition on Windows and Wayland on
Linux, in addition to a shipping implementation in Gecko for
CoreAnimation and DirectComposition.

Differential Revision: https://phabricator.services.mozilla.com/D113052
2021-05-04 00:32:41 +00:00
Jamie Nicol b696e62540 Bug 1700693 - Add wrench test for successful shader compilation. r=jrmuizel
Add a new `test_init` subcommand to wrench that tests for successful
initialization. This can then be used in combination with the
`--precache` flag to ensure that all shaders are compiled
successfully. Run this with and without `--use-unoptimized-shaders` to
ensure that both variants of the shaders compile.

For android we need to ensure that wrench terminates the process when
it completes successfully otherwise it will run forever. We also must
ensure that the test harness stops the old process before relaunching
the activity one in the case of a timeout.

Depends on D109773

Differential Revision: https://phabricator.services.mozilla.com/D109774
2021-03-25 18:43:23 +00:00
Robert Mader eed3915465 Bug 1695500 - Implement Wayland backend for the example compositor, r=gw
Experimental Wayland backend for the native Webrender compositor.

Should be functional and can thus be used as testing app for
compositors - has been tested to work correctly on Mutter and Weston.

Certain implementation details are unfinished or not optimal, however
the state is IMO sufficient for merging.

Differential Revision: https://phabricator.services.mozilla.com/D108780
2021-03-20 05:46:45 +00:00
Mike Hommey feb2c466f7 Bug 1685599 - Don't rely on macosx-cross toolchain containing a mac native libLLVM. r=firefox-build-system-reviewers,andi,dmajor
The webrender wrench macos build, which is cross-compiled, needs a
macOS native libLLVM (a .dylib) to link against. The file is currently
part of the macosx-cross toolchain, but that was more incidental than
intentional. As we're going to change the macosx-cross toolchain in a
way that will remove the libLLVM.dylib, pull the file from the macOS
native clang.

Differential Revision: https://phabricator.services.mozilla.com/D101150
2021-01-08 18:51:54 +00:00
Glenn Watson 3131a2a297 Bug 1670809 - Add infrastructure for testing picture cache invalidation. r=nical
When `testing` is enabled, writes a set of information about the
current state of all picture cache slices and tiles into the
RenderResults structure.

Add a new mode, `test_invalidation` to wrench. This is similar to
the existing `rawtest` functionality, where tests are written in rust.

Add a basic test that demonstrates the testing infrastructure as
a proof of concept.

Follow up patches will add more tests, specifically testing for
expected behavior in a range of scenarios (e.g. scrolling by a
fractional amount, unusual zoom/dpi ratios etc).

Differential Revision: https://phabricator.services.mozilla.com/D94071
2020-10-20 20:59:27 +00:00
Jeff Muizelaar 505b5e17d2 Bug 1670157 - Run wrench reftests with swgl in CI. r=kats
This adds some fuzz and the necessary dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D93052
2020-10-09 18:06:36 +00:00
Dzmitry Malyshau 31aa932da0 Bug 1665371 - Switch WR reftests to llvmpipe and update the expectations r=gw,kats
This required some hacking on the CI side to convince Mesa to properly cross-compile...

Differential Revision: https://phabricator.services.mozilla.com/D90417
2020-09-25 19:54:32 +00:00
Kartikaya Gupta c95f299299 Bug 1661117 - Follow-up to update standalone WR CI for osmesa-src bump. r=kvark
This extracts an install-meson.sh helper script to install meson in both
the wrench-deps task for Firefox CI and the taskcluster.yml in WebRender CI.

Differential Revision: https://phabricator.services.mozilla.com/D90441
2020-09-16 18:02:45 +00:00
Dzmitry Malyshau d027c5b8d9 Bug 1661117 - Switch to Mesa 20 r=gw,kats
updates to https://github.com/servo/osmesa-src PRs: 40, 41, 42

Differential Revision: https://phabricator.services.mozilla.com/D88448
2020-09-15 19:37:28 +00:00
Dorel Luca 051c67f828 Backed out changeset 88f3ed4eed62 (bug 1661117) for Wrench failures. CLOSED TREE 2020-09-12 02:17:01 +03:00
Dzmitry Malyshau b343cb50cf Bug 1661117 - Switch to Mesa 20 r=gw,kats
updates to https://github.com/servo/osmesa-src PRs: 40, 41, 42

Differential Revision: https://phabricator.services.mozilla.com/D88448
2020-09-11 20:16:56 +00:00
Mike Hommey 57fa3660c9 Bug 1643504 - Upgrade webrender and wgpu docker images to Debian buster. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D78419
2020-06-09 13:35:40 +00:00
Jamie Nicol 1af6f33ce1 Bug 1634275 - Update glslopt to 0.1.2 to remove dependency on bindgen. r=jrmuizel,kats
Differential Revision: https://phabricator.services.mozilla.com/D73198
2020-04-30 12:25:17 +00:00
Kartikaya Gupta 7b824820e7 Bug 1632180 - Update docker image and environment used for WebRender CI on Github to include clang. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D71965
2020-04-22 14:52:24 +00:00
Lee Salzman f6ef80bf9c Bug 1622668 - exclude swgl from CI test scripts. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D66914

--HG--
extra : moz-landing-system : lando
2020-03-15 23:25:14 +00:00
Nicolas Silva 2c4937a4cf Bug 1612437 - Remove ipc-channel from WebRender. r=gw
Original patch from Josh Mattews

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

--HG--
extra : moz-landing-system : lando
2020-02-05 11:09:43 +00:00
Dzmitry Malyshau 69b270f2c6 Bug 1605171 - Replace wrupdater with github-sync r=tomprince
this is an evolution of wrupdater

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

--HG--
extra : moz-landing-system : lando
2020-01-14 18:37:28 +00:00
Glenn Watson a457606700 Bug 1589512 - Part 2 - Add example DirectComposite webrender integration. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D49869

--HG--
extra : moz-landing-system : lando
2019-10-23 20:35:55 +00:00
Kartikaya Gupta a42a893678 Bug 1523321 - Followup to fix typo. r=me 2019-07-18 11:28:01 -04:00
Nicolas Silva 1f245ea240 Bug 1565569 - Remove the old pathfinder integration. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D37862

--HG--
extra : rebase_source : 93849386dacff73f73481e652e7e5a00f9d019fa
extra : source : 12d70adf7d1c28d0a4f7328c4b4659d4f33db107
2019-07-18 15:07:31 +02:00
Kartikaya Gupta 2d73759624 Bug 1523321 - Run the wrupdater on m-c pushes that touch gfx/wr. r=tomprince,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33548

--HG--
extra : moz-landing-system : lando
2019-07-16 15:38:39 +00:00
Kartikaya Gupta 656a70fb90 Bug 1523321 - Add the wrupdater code to sync m-c's copy of WR to github. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33547

--HG--
extra : moz-landing-system : lando
2019-07-16 15:36:57 +00:00
Narcis Beleuzu ab956a715f Backed out 2 changesets (bug 1523321) for webrender bustages. CLOSED TREE
Backed out changeset d86e7c8f1e14 (bug 1523321)
Backed out changeset 18414da977c3 (bug 1523321)
2019-07-16 18:23:45 +03:00
Kartikaya Gupta b3bebb6eca Bug 1523321 - Run the wrupdater on m-c pushes that touch gfx/wr. r=tomprince,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33548

--HG--
extra : moz-landing-system : lando
2019-07-16 14:09:47 +00:00
Kartikaya Gupta 3a1a9aedd8 Bug 1523321 - Add the wrupdater code to sync m-c's copy of WR to github. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33547

--HG--
extra : moz-landing-system : lando
2019-07-16 14:06:50 +00:00
Brindusan Cristian 3de8b088e1 Backed out 2 changesets (bug 1523321) for breaking Gecko Decision Task. CLOSED TREE
Backed out changeset c032bed595dc (bug 1523321)
Backed out changeset 0a4f53b896b1 (bug 1523321)
2019-07-16 17:00:24 +03:00
Kartikaya Gupta c6cc78e85f Bug 1523321 - Run the wrupdater on m-c pushes that touch gfx/wr. r=tomprince,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33548

--HG--
extra : moz-landing-system : lando
2019-07-16 13:49:54 +00:00
Kartikaya Gupta 4be1661f49 Bug 1523321 - Add the wrupdater code to sync m-c's copy of WR to github. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33547

--HG--
extra : moz-landing-system : lando
2019-07-15 21:31:46 +00:00
Kartikaya Gupta 0064188850 Bug 1548261 - Run wrench reftests in debug also. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D29663

--HG--
extra : moz-landing-system : lando
2019-05-02 14:18:21 +00:00
Kartikaya Gupta 1889f4e164 Bug 1532284 - Build wrench on Android. r=glandium
Depends on D22377

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

--HG--
extra : moz-landing-system : lando
2019-03-08 00:37:46 +00:00
Kartikaya Gupta c5e6c813f1 Bug 1516568 - Update WR mac CI scripts to allow cross-compiling. r=kvark
This introduces some env vars to allow running cross-compiled
binaries instead of running things on the builder. Additionally
the `cargo test --features "ipc"` check is modified to be `check`
instead since there are no actual tests being run by that command.
The only thing we lose is a rustdoc example check but we are
checking that on Linux anyway so doing it for Mac is redundant.

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

--HG--
extra : source : ee403c79877e028c58fa9091dd360fe50a80af37
2019-02-15 01:32:06 +00:00
Dorel Luca b73b2c4f67 Backed out 7 changesets (bug 1516568) for Docker and Toolchain failures. CLOSED TREE
Backed out changeset 79120d13e713 (bug 1516568)
Backed out changeset 028c0ed368b8 (bug 1516568)
Backed out changeset f06721b552a8 (bug 1516568)
Backed out changeset ee403c79877e (bug 1516568)
Backed out changeset 8990eef6c31e (bug 1516568)
Backed out changeset f6413e576a21 (bug 1516568)
Backed out changeset e9f887f489e5 (bug 1516568)
2019-02-15 05:16:55 +02:00
Kartikaya Gupta a79bc23095 Bug 1516568 - Update WR mac CI scripts to allow cross-compiling. r=kvark
This introduces some env vars to allow running cross-compiled
binaries instead of running things on the builder. Additionally
the `cargo test --features "ipc"` check is modified to be `check`
instead since there are no actual tests being run by that command.
The only thing we lose is a rustdoc example check but we are
checking that on Linux anyway so doing it for Mac is redundant.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:06 +00:00
WR Updater Bot 86f403e126 Bug 1515348 - Update webrender to commit 75ab41278fe7e24c45b22fa1af6879801d6f8ebc (WR PR #3434). r=kats
https://github.com/servo/webrender/pull/3434

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

--HG--
extra : moz-landing-system : lando
2018-12-19 19:28:51 +00:00
WR Updater Bot c26f41601c Bug 1514737 - Update webrender to commit 7f2d2ea79e65d49f0da2030e6033761c38c1e296 (WR PR #3408). r=kats
https://github.com/servo/webrender/pull/3408

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

--HG--
extra : moz-landing-system : lando
2018-12-17 14:10:46 +00:00
WR Updater Bot 60b54ee1b6 Bug 1513684 - Update webrender to commit ed1fb8952062da154f8f6b391e6807115fc74d50 (WR PR #3400). r=kats
https://github.com/servo/webrender/pull/3400

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

--HG--
extra : moz-landing-system : lando
2018-12-12 21:44:22 +00:00
WR Updater Bot 9f7e0d6686 Bug 1512375 - Update webrender to commit 545126069734895bcf506324542f0e716c32512e (WR PR #3388). r=kats
https://github.com/servo/webrender/pull/3388

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

--HG--
extra : moz-landing-system : lando
2018-12-06 17:08:39 +00:00
WR Updater Bot 1669ae2beb Bug 1510078 - Update webrender to commit f450af9277e2474e2a2a2c1358689ca9486e2a09 (WR PR #3345). r=kats
https://github.com/servo/webrender/pull/3345

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

--HG--
extra : moz-landing-system : lando
2018-11-27 01:16:27 +00:00