Repository navigation
Dummy sCache texture input - #913
Conversation
glennw
left a comment
There was a problem hiding this comment.
Looks good apart from those minor nits. r=me when those are fixed.
| @@ -1,6 +1,6 @@ | |||
| [package] | |||
| name = "webrender" | |||
| version = "0.17.0" | |||
There was a problem hiding this comment.
There's a few other PRs in the queue that also update the version, so we can probably leave the version number change out of this (this drops the version number below what the queued PRs do).
|
|
||
| let dummy_cache_texture_id = device.create_texture_ids(1, TextureTarget::Array)[0]; | ||
| device.init_texture(dummy_cache_texture_id, | ||
| 1, |
There was a problem hiding this comment.
The comment above says the texture is 2x2 but the size here is 1x1.
|
☔ The latest upstream changes (presumably #895) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Thanks! |
|
📌 Commit 568b1c9 has been approved by |
Dummy sCache texture input Fixes #907 r? @glennw <!-- 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/913) <!-- Reviewable:end -->
| ImageData::Raw(Arc::new(mask_pixels))); | ||
|
|
||
| let dummy_cache_texture_id = device.create_texture_ids(1, TextureTarget::Array)[0]; | ||
| device.init_texture(dummy_cache_texture_id, |
There was a problem hiding this comment.
This is minor, but am I right assuming we're leaking this texture, or is there something preventing that? If not, would it make sense to destroy it on drop?
|
@emilio good point! |
|
r? @emilio |
|
@bors-servo r=glennw,emilio |
|
📌 Commit 785d134 has been approved by |
Dummy sCache texture input Fixes #907 r? @glennw <!-- 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/913) <!-- Reviewable:end -->
|
☀️ Test successful - status-travis |
Fixes #907
r? @glennw
This change is