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 #3882
Commits on Mar 11, 2020
-
Bug 1618000: Part 2: Clamp blur radius based on scale factors r=gfx-r…
…eviewers,nical Differential Revision: https://phabricator.services.mozilla.com/D65805 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/a561435c24cf70d2e491f2a7cde699bebdaaad97
-
Backed out 2 changesets (bug 1618000) for causing reftest failures in…
… feGaussianBlur-5-ref.svg CLOSED TREE Backed out changeset a561435c24cf (bug 1618000) Backed out changeset e720691ccf17 (bug 1618000) [ghsync] From https://hg.mozilla.org/mozilla-central/rev/9c027d62be503fe8c584e02d65fd57246900063d
-
Bug 1612941 - make WR report shader name and features in output for i…
…nterop with SWGL. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D65595 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/54ec5a6e8e457950f10a4d0b1fceec5f5644048c
-
Bug 1612941 - properly detect GL_ARB_texture_swizzle extension in WR.…
… r=gw,kvark Differential Revision: https://phabricator.services.mozilla.com/D65596 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/bd8ba66dc2ac162c550848bfef50b1f09917658d
-
Bug 1612941 - only upload partial GPU cache rows in WR when possible …
…to minimize memory churn. r=gw Differential Revision: https://phabricator.services.mozilla.com/D65598 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/375896f494ae77bb7bfa23abf8e31f49ba1aef86
-
Bug 1612941 - force immediate upload method for SWGL since PBOs are s…
…lower there. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D65613 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/30b28118362a03b07d5698a6526caf155e7a17d1
-
Bug 1612941 - WR shader changes to support SWGL instance attribs. r=j…
…rmuizel,gw Add annotations to vertex shaders so that SWGL can detect when a vertex attribute is generated by per-instance data rather than per-vertex data. Differential Revision: https://phabricator.services.mozilla.com/D65614 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/ad7f43d72b08243106fddc460f2205926d4f87bf
-
Bug 1612941 - update gleam version to allow implementation of Gl trai…
…t. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D65615 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/9b1360daa75acf0f79edb3df93395a6b5890ce3b
-
Backed out 12 changesets (bug 1612941) for causing bustages CLOSED TREE
Backed out changeset 29f9f745ff65 (bug 1612941) Backed out changeset d92e03315f8d (bug 1612941) Backed out changeset 9b1360daa75a (bug 1612941) Backed out changeset ad7f43d72b08 (bug 1612941) Backed out changeset 30b28118362a (bug 1612941) Backed out changeset 76f80dce8875 (bug 1612941) Backed out changeset 375896f494ae (bug 1612941) Backed out changeset bd8ba66dc2ac (bug 1612941) Backed out changeset 54ec5a6e8e45 (bug 1612941) Backed out changeset 419105739e53 (bug 1612941) Backed out changeset c198dedeaa1b (bug 1612941) Backed out changeset 87ddcdfc5fcf (bug 1612941) [ghsync] From https://hg.mozilla.org/mozilla-central/rev/1b8df9d39a0fc712b6f8ca07865b578f1e724fae
-
Bug 1612941 - make WR report shader name and features in output for i…
…nterop with SWGL. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D65595 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/edfca567651347492caaf427252f6821e5d2fd1b
-
Bug 1612941 - properly detect GL_ARB_texture_swizzle extension in WR.…
… r=gw,kvark Differential Revision: https://phabricator.services.mozilla.com/D65596 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/3cae17a5ec80e4ee12fe173a414fcd5eb46f9a41
-
Bug 1612941 - only upload partial GPU cache rows in WR when possible …
…to minimize memory churn. r=gw Differential Revision: https://phabricator.services.mozilla.com/D65598 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/dd1a92041bb4eaf550fab7404aa04ad80d0c60ae
-
Bug 1612941 - force immediate upload method for SWGL since PBOs are s…
…lower there. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D65613 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/ec0fffd12dec0b559eca792450521f671ae707b4
-
Bug 1612941 - WR shader changes to support SWGL instance attribs. r=j…
…rmuizel,gw Add annotations to vertex shaders so that SWGL can detect when a vertex attribute is generated by per-instance data rather than per-vertex data. Differential Revision: https://phabricator.services.mozilla.com/D65614 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/2e0c9b9bd50759b80c9075c4ebb795a2031d4c35
-
Bug 1612941 - update gleam version to allow implementation of Gl trai…
…t. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D65615 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/c02c4c5bf7f7fd0d93f1df8661a42859eca2bf62
-
Backed out 12 changesets (bug 1612941) for webrender linting bustage …
…CLOSED TREE Backed out changeset bbb8ec38f354 (bug 1612941) Backed out changeset cd798d2a0433 (bug 1612941) Backed out changeset c02c4c5bf7f7 (bug 1612941) Backed out changeset 2e0c9b9bd507 (bug 1612941) Backed out changeset ec0fffd12dec (bug 1612941) Backed out changeset 2d6f65fe6ec0 (bug 1612941) Backed out changeset dd1a92041bb4 (bug 1612941) Backed out changeset 3cae17a5ec80 (bug 1612941) Backed out changeset edfca5676513 (bug 1612941) Backed out changeset f94d5c7cee41 (bug 1612941) Backed out changeset 67bba000daba (bug 1612941) Backed out changeset 60151122db4d (bug 1612941) [ghsync] From https://hg.mozilla.org/mozilla-central/rev/005382a5a58ff70933c9f535b3a8e6158ccccea6
Commits on Mar 12, 2020
-
Bug 1621026 - Remove sha256 from dependencies r=nical
[import_pr] From #3875 Differential Revision: https://phabricator.services.mozilla.com/D66064 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/ab8746bb808719748e77de3d8ba538574bceee8c
-
Bug 1620005 - Refactor WebRender display item caching r=jrmuizel
DisplayItemBuilder now has methods: ``` void StartGroup(nsPaintedDisplayItem* aItem); void CancelGroup(); void FinishGroup(); bool ReuseItem(nsPaintedDisplayItem* aItem); ``` WebRender display items previously created between calls to StartGroup() and FinishGroup() will be reused by a call to ReuseItem(), which will push DisplayItem::ReuseItem(key) to WR display list, if the Gecko display item has been retained and reused. Calling CancelGroup() will discard the display items that have been pushed after calling StartGroup(). For example, inside nsDisplayBackgroundColor::CreateWebRenderCommands(): ``` aBuilder.StartGroup(this); aBuilder.PushRect(r, r, !BackfaceIsHidden(), wr::ToColorF(ToDeviceColor(mColor))); aBuilder.FinishGroup(); ``` Differential Revision: https://phabricator.services.mozilla.com/D65356 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/91760460f91496fb2262242dcdf7c0deb311978c -
Bug 1620005 - Refactor WebRender display item caching r=jrmuizel
DisplayItemBuilder now has methods: ``` void StartGroup(nsPaintedDisplayItem* aItem); void CancelGroup(); void FinishGroup(); bool ReuseItem(nsPaintedDisplayItem* aItem); ``` WebRender display items previously created between calls to StartGroup() and FinishGroup() will be reused by a call to ReuseItem(), which will push DisplayItem::ReuseItem(key) to WR display list, if the Gecko display item has been retained and reused. Calling CancelGroup() will discard the display items that have been pushed after calling StartGroup(). For example, inside nsDisplayBackgroundColor::CreateWebRenderCommands(): ``` aBuilder.StartGroup(this); aBuilder.PushRect(r, r, !BackfaceIsHidden(), wr::ToColorF(ToDeviceColor(mColor))); aBuilder.FinishGroup(); ``` Differential Revision: https://phabricator.services.mozilla.com/D65356 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/f792d895cdf8f3819b987389301e98b5873123d8