Skip to content

Dummy sCache texture input - #913

Merged
bors-servo merged 2 commits into
servo:masterfrom
kvark:cache
Feb 22, 2017
Merged

bors-servo merged 2 commits into
servo:masterfrom
kvark:cache

Conversation

@kvark

@kvark kvark commented Feb 21, 2017 •

Copy link
Copy Markdown
Member

Fixes #907

r? @glennw


This change is Reviewable

@glennw glennw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good apart from those minor nits. r=me when those are fixed.

Comment thread webrender/Cargo.toml Outdated
@@ -1,6 +1,6 @@
[package]
name = "webrender"
version = "0.17.0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Comment thread webrender/src/renderer.rs

let dummy_cache_texture_id = device.create_texture_ids(1, TextureTarget::Array)[0];
device.init_texture(dummy_cache_texture_id,
1,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment above says the texture is 2x2 but the size here is 1x1.

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #895) made this pull request unmergeable. Please resolve the merge conflicts.

@kvark

kvark commented Feb 22, 2017

Copy link
Copy Markdown
Member Author

Thanks!
@bors-servo r=glennw

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 568b1c9 has been approved by glennw

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 568b1c9 with merge 0b7b0be...

bors-servo pushed a commit that referenced this pull request Feb 22, 2017
Comment thread webrender/src/renderer.rs
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,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@kvark

kvark commented Feb 22, 2017

Copy link
Copy Markdown
Member Author

@emilio good point!
@bors-servo r-

@kvark

kvark commented Feb 22, 2017

Copy link
Copy Markdown
Member Author

r? @emilio

@emilio

emilio commented Feb 22, 2017

Copy link
Copy Markdown
Member

@bors-servo r=glennw,emilio

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 785d134 has been approved by glennw,emilio

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 785d134 with merge ba8ce0c...

bors-servo pushed a commit that referenced this pull request Feb 22, 2017
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-travis
Approved by: glennw,emilio
Pushing ba8ce0c to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants