New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync changes from mozilla-central gfx/wr #3833
Commits on Jan 15, 2020
-
Bug 1606827 - A corner is not rounded when the radius is zero in eith…
…er dimension (not necessarily both) r=nical Differential Revision: https://phabricator.services.mozilla.com/D58615 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/5105e62fbbe6cb144a7a7a756128da326d724004
-
Bug 1595767 - Don't use rayon for glyph rasterization unless there is…
… a lot of glyphs to rasterize r=nical Differential Revision: https://phabricator.services.mozilla.com/D57005 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/29584a35d69ae2c8bb157702be402733fc0ce176
-
Bug 1607352 - Support DirectComposition virtual surface API. r=sotaro
Adds an #ifdef to the DCLayerTree implementation that allows selecting whether to use the virtual surface API (enabled by default) or the regular DC surface API. For now, this is a compile-time switch. As a follow up to this, we will support both options at runtime (for example, using the regular surface API for surfaces that have holes or translucency). Differential Revision: https://phabricator.services.mozilla.com/D58870 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/1d212c2ddb76f5d54fd884e8e08001fc8475e13c
-
Bug 1606685 - Support empty tiles within compositor surfaces. r=sotaro
This adds support for holes within virtual surfaces. On platforms that don't use virtual surfaces, this just works by destroying the tile that is empty so it never gets composited. Differential Revision: https://phabricator.services.mozilla.com/D59059 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/e9d191b5eb8a78b117f55c0dd6993cb0d136c7c8
-
Bug 1607419 - Avoid option.expect(&format in hot code. r=jrmuizel
Easy to miss that the slow formatting code is run unconditionally. The remaining instances are in recording and startup code. Differential Revision: https://phabricator.services.mozilla.com/D58920 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/031a2ee21fa6e2b2983b1619ebdf65caa2b882a6
-
Bug 1607697 - Remove leading zeros in dither matrix litterals. r=Gankro
Addresses a clippy lint. Differential Revision: https://phabricator.services.mozilla.com/D59112 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/6c1778a36720e182351c6f24666f04e5a481f98b
-
Bug 1607697 - Allow excessive precision in debug color constants. r=G…
…ankro Addresses a clippy lint. Differential Revision: https://phabricator.services.mozilla.com/D59113 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/8490fa04e0eec09cbbd6c7b3301af05592d6fd6f
-
Bug 1607697 - Address unwrap_or_else(callback) and functions in callb…
…ack clippy lints. r=Gankro I don't think it makes much of a difference but clippy is quite vocal about it. Differential Revision: https://phabricator.services.mozilla.com/D59114 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/d70cc2bb33f62aab04ee8a5ae5a086bcee5ab974
-
Bug 1607697 - Box the memory reports in enums. r=Gankro
Clippy warns against it being much larger than the other enum variants. Differential Revision: https://phabricator.services.mozilla.com/D59117 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/6bf3305bb6893affecdbde816a7bf856a7ed13f1
-
Backed out 8 changesets (bug 1607697) for Build bustages. CLOSED TREE
Backed out changeset a3942fa2644c (bug 1607697) Backed out changeset 6bf3305bb689 (bug 1607697) Backed out changeset 3af5a9700d47 (bug 1607697) Backed out changeset 6101f5e31e46 (bug 1607697) Backed out changeset d70cc2bb33f6 (bug 1607697) Backed out changeset 8490fa04e0ee (bug 1607697) Backed out changeset 6c1778a36720 (bug 1607697) Backed out changeset 9e830c9157ae (bug 1607697) [ghsync] From https://hg.mozilla.org/mozilla-central/rev/c2dd65b196d31e375f8dd4b1ac91e955847ac3c7
-
Bug 1607697 - Remove leading zeros in dither matrix litterals. r=Gankro
Addresses a clippy lint. Differential Revision: https://phabricator.services.mozilla.com/D59112 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/ffff3331e696c5f6c8ae458a4e50b5a5b184cbcb
-
Bug 1607697 - Allow excessive precision in debug color constants. r=G…
…ankro Addresses a clippy lint. Differential Revision: https://phabricator.services.mozilla.com/D59113 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/fddd2d637eb0d4a842c465547447616762831043
-
Bug 1607697 - Address unwrap_or_else(callback) and functions in callb…
…ack clippy lints. r=Gankro I don't think it makes much of a difference but clippy is quite vocal about it. Differential Revision: https://phabricator.services.mozilla.com/D59114 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/966cc16c3feb7ec46352e9ecff3fd65a3723ab8f
-
Bug 1607697 - Box the memory reports in enums. r=Gankro
Clippy warns against it being much larger than the other enum variants. Differential Revision: https://phabricator.services.mozilla.com/D59117 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/921c9f58037bf7c0c89b7c45c3f8a94f50b5814f
-
Bug 1608280 - Support a per-tile clip (valid) region for compositor t…
…iles r=nical Differential Revision: https://phabricator.services.mozilla.com/D59437 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/7295ca89e880c1c930643e72ff0600cb71cebb9e
-
Bug 1607746 - Part 1: Move opacity to its own shader in WebRender r=n…
…ical Opacity is a common effect that is used and the opacit filter path is also used when a stacking context has an opacity of < 1. The brush_blend shader is slow since it has support for a large portion of CSS filters; however, opacity is used much more often than the rest of the filters. This patch adds a simple shader for opacity effects which bypasses the extra overhead in the brush_blend shader. Differential Revision: https://phabricator.services.mozilla.com/D59610 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/b0226237c55e4a08f4deb622fc15fa1e85f39afc
-
Bug 1607746 - Part 2: Clean up passing filter mode to shader r=nical
I removed the old opacity filter path in the brush_blend shader and cleaned up the filter mode constants in the shader so there are less magic numbers. This should help if/when we move more filters to their own shaders. Depends on D59610 Differential Revision: https://phabricator.services.mozilla.com/D59611 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/5cd63d35010f9bf9538a37fb330127d459b7ccc0
-
Backed out changeset 7295ca89e880 (bug 1608280) for causing bug 16089…
…12 and bug 1608871 a=backout [ghsync] From https://hg.mozilla.org/mozilla-central/rev/0690f68a8d9984d2653792e3294bf876eecef651
-
Bug 1609049 - Add required fileds in peek-poke Cargo.toml. r=jrmuizel
Depends on D59840 Differential Revision: https://phabricator.services.mozilla.com/D59841 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/6102fc5f041ca5495f48a57a130c10cb6a55063a
-
Bug 1605171 - Replace wrupdater with github-sync r=tomprince
this is an evolution of wrupdater Differential Revision: https://phabricator.services.mozilla.com/D58972 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/03b4d21736d44c06e2aed6f52a229ba98fcebe04