diff --git a/.clang-format-ignore b/.clang-format-ignore index bc1c74b211bc..be894ab4149a 100644 --- a/.clang-format-ignore +++ b/.clang-format-ignore @@ -76,9 +76,7 @@ gfx/qcms/.* gfx/sfntly/.* gfx/skia/.* gfx/vr/service/openvr/.* -gfx/webrender/.* -gfx/webrender_api/.* -gfx/wrench/.* +gfx/wr/.* gfx/ycbcr/.* intl/hyphenation/hyphen/.* intl/icu/.* diff --git a/.eslintignore b/.eslintignore index 2646b15b6ca3..1ba5b4a56970 100644 --- a/.eslintignore +++ b/.eslintignore @@ -248,6 +248,7 @@ editor/libeditor/tests/browserscope/** # Third-party gfx/ots/** gfx/skia/** +gfx/wr/** # intl/ exclusions intl/icu/** diff --git a/gfx/webrender_bindings/README.webrender b/gfx/webrender_bindings/README.webrender index fcc56a2fcbc0..69f59d172229 100644 --- a/gfx/webrender_bindings/README.webrender +++ b/gfx/webrender_bindings/README.webrender @@ -33,7 +33,7 @@ actually land the update into the tree. Option A: Use a script to do the update for you. This will usually work, if you satisfy all the assumptions the script is making. The script can be found at - https://github.com/staktrace/moz-scripts/blob/master/try-latest-webrender.sh + https://github.com/staktrace/wrupdater/blob/master/try-latest-webrender.sh and contains documentation on how to use it. Read the documentation carefully before trying to use it. @@ -45,18 +45,16 @@ Option B: roughly: - Update your mozilla-central checkout to the latest code on mozilla-central. - Check out and update the webrender repo to the version you want - - Copy over the webrender, webrender_api, and part of the wrench folders into - gfx/. The best way to do this is to simply delete the gfx/webrender, - gfx/webrender_api, and gfx/wrench folders and use |cp -R| to copy them in - again from the webrender repo, and then delete the gfx/wrench/reftests, - gfx/wrench/benchmarks, and gfx/wrench/script folders. Update the revision - in gfx/webrender_bindings/revision.txt file with the git changeset hash. + - Copy over the webrender repo to gfx/wr. The easiest way to do this is + simply delete gfx/wr, and use |cp -R| to copy it back, and then delete the + gfx/wr/.git/ subfolder. Update the revision in + gfx/webrender_bindings/revision.txt file with the git changeset hash. - If you need to modify webrender_bindings/Cargo.toml file, do so now. Changes at this step usually consist of: (a) Updating version numbers. Go through the version numbers of ALL the dependencies in the Cargo.toml file (webrender, euclid, etc.) and make sure the version numbers listed match what's in the new - gfx/webrender/Cargo.toml and gfx/webrender_api/Cargo.toml files. + gfx/wr/webrender/Cargo.toml and gfx/wr/webrender_api/Cargo.toml files. (b) Turning on or off any new features that were added in upstream WR. This used to happen a lot but is pretty rare now. - Go to toolkit/library/rust and run |cargo update -p webrender -p webrender_api|. diff --git a/tools/rewriting/ThirdPartyPaths.txt b/tools/rewriting/ThirdPartyPaths.txt index 82eed4b98a99..3a53922511eb 100644 --- a/tools/rewriting/ThirdPartyPaths.txt +++ b/tools/rewriting/ThirdPartyPaths.txt @@ -34,9 +34,7 @@ gfx/qcms/ gfx/sfntly/ gfx/skia/ gfx/vr/service/openvr/ -gfx/webrender/ -gfx/webrender_api/ -gfx/wrench/ +gfx/wr/ gfx/ycbcr/ intl/hyphenation/hyphen/ intl/icu/