Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSeparate interning Image & YuvImage #3393
Conversation
|
Could you rebase this to remove the patches that have landed now? |
Done |
webrender/src/prim_store/mod.rs, line 2587 at r1 (raw file):
Let's try to find a way to not duplicate these code blocks. webrender/src/prim_store/mod.rs, line 2716 at r1 (raw file):
Same here |
|
It appears that the |
|
That last commit seems a bit more complex (esp. the The general idea of the GpuCacheRequest being a by-value type is that it should work around the borrowck issues that way. I'll pull the branch today and see if I can provide some more useful comments than the vague details above, sorry! |
@gw3583, in the previous incarnation of the code there was a split borrow of the prim fields and the borrowck was happy. It's unhappy with:
because it can't see that I welcome a second set of |
|
This is roughly what I was thinking [1] - does that seem like it should achieve the same outcome and work for the rest of the prim types? [1] gw3583@a6910bc |
1bde4fb
to
579ecd6
webrender/src/prim_store/mod.rs, line 963 at r1 (raw file):
webrender/src/prim_store/mod.rs, line 2587 at r1 (raw file): Previously, gw3583 (Glenn Watson) wrote…
Done. webrender/src/prim_store/mod.rs, line 2716 at r1 (raw file): Previously, gw3583 (Glenn Watson) wrote…
Done. |
|
@gw3583 Are we good to proceed with these changes? |
|
Yup, I think so - do we need another try / talos run or should this be good to go? |
|
@bors-servo delegate+ |
|
|
3f1d774
to
254e8df
|
|
|
@bors-servo delegate+ |
|
|
|
@bors-servo r=gw |
|
|
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 -->
|
|
Separate interning borders In support of #3385, extract normal and image borders. This patch is based up PR #3393 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/3429) <!-- Reviewable:end -->
Separate interning borders In support of #3385, extract normal and image borders. This patch is based up PR #3393 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/3429) <!-- Reviewable:end -->
…27538715a2e5 (WR PR #3393). r=kats servo/webrender#3393 Differential Revision: https://phabricator.services.mozilla.com/D14852 --HG-- extra : moz-landing-system : lando
…27538715a2e5 (WR PR #3393). r=kats servo/webrender#3393 Differential Revision: https://phabricator.services.mozilla.com/D14852
…27538715a2e5 (WR PR #3393). r=kats servo/webrender#3393 Differential Revision: https://phabricator.services.mozilla.com/D14852 UltraBlame original commit: 36ba5f47e949afe13875220f5cbbbca401d7be4c
…27538715a2e5 (WR PR #3393). r=kats servo/webrender#3393 Differential Revision: https://phabricator.services.mozilla.com/D14852 UltraBlame original commit: 36ba5f47e949afe13875220f5cbbbca401d7be4c
…27538715a2e5 (WR PR #3393). r=kats servo/webrender#3393 Differential Revision: https://phabricator.services.mozilla.com/D14852 UltraBlame original commit: 36ba5f47e949afe13875220f5cbbbca401d7be4c
djg commentedDec 7, 2018
•
edited by larsbergstrom
In support of #3385, extract Image and YUVImage. This patch is based up PR #3392 and requires that to land first.
This change is