-
Notifications
You must be signed in to change notification settings - Fork 279
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
Extract Linear and Radial Gradients. #3392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 8 of 8 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @djg)
webrender/src/prim_store/mod.rs, line 591 at r1 (raw file):
} /// A hashable point for using as a key during primitive interning.
PointKey is (or will be) used by many types, so let's keep it in mod.rs.
webrender/src/prim_store/mod.rs, line 3796 at r1 (raw file):
assert_eq!(mem::size_of::<PrimitiveInstance>(), 128, "PrimitiveInstance size changed"); assert_eq!(mem::size_of::<PrimitiveInstanceKind>(), 40, "PrimitiveInstanceKind size changed"); assert_eq!(mem::size_of::<PrimitiveTemplate>(), 144, "PrimitiveTemplate size changed");
Woohoo, this should hopefully be a small-ish talos win.
Just one minor change, and we should do a try / talos run to verify, but otherwise looks good! @bors-servo delegate+ |
✌️ @djg can now approve this pull request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @gw3583)
webrender/src/prim_store/mod.rs, line 591 at r1 (raw file):
Previously, gw3583 (Glenn Watson) wrote…
PointKey is (or will be) used by many types, so let's keep it in mod.rs.
Done.
d70c42f
to
2ca99dd
Compare
Try looks good - a couple of expected failures from the recent blur shader change, and a couple of unrelated known intermittent failures. Talos looks like a small win (no regression at least). @bors-servo r+ |
📌 Commit 2ca99dd has been approved by |
Extract Linear and Radial Gradients. In support of #3385, extract gradients into separate interned stores. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3392) <!-- Reviewable:end -->
☀️ Test successful - status-appveyor, status-taskcluster |
…66da96e0a64c (WR PR #3392). r=kats servo/webrender#3392 Differential Revision: https://phabricator.services.mozilla.com/D13978 --HG-- extra : moz-landing-system : lando
…66da96e0a64c (WR PR #3392). r=kats servo/webrender#3392 Differential Revision: https://phabricator.services.mozilla.com/D13978
Separate interning Image & YuvImage In support of #3385, extract Image and YUVImage. This patch is based up PR #3392 and requires that to land first. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3393) <!-- Reviewable:end -->
…66da96e0a64c (WR PR #3392). r=kats servo/webrender#3392 Differential Revision: https://phabricator.services.mozilla.com/D13978 UltraBlame original commit: 61571452b0fc8cd26ff55b31e05a76d069883123
…66da96e0a64c (WR PR #3392). r=kats servo/webrender#3392 Differential Revision: https://phabricator.services.mozilla.com/D13978 UltraBlame original commit: 61571452b0fc8cd26ff55b31e05a76d069883123
…66da96e0a64c (WR PR #3392). r=kats servo/webrender#3392 Differential Revision: https://phabricator.services.mozilla.com/D13978 UltraBlame original commit: 61571452b0fc8cd26ff55b31e05a76d069883123
In support of #3385, extract gradients into separate interned stores.
This change is