mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1503527 - Update webrender to commit 1928351fe1169c4183df02039b3d541dc36de39e (WR PR 3250). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D10544 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
11efeff5dc
commit
fd9b593246
@ -1202,6 +1202,20 @@ impl ResourceCache {
|
||||
);
|
||||
|
||||
tiles.retain(|tile, _| { tile_range.contains(tile) });
|
||||
|
||||
let texture_cache = &mut self.texture_cache;
|
||||
match self.cached_images.try_get_mut(&key) {
|
||||
Some(&mut ImageResult::Multi(ref mut entries)) => {
|
||||
entries.retain(|key, entry| {
|
||||
if key.tile.is_none() || tile_range.contains(&key.tile.unwrap()) {
|
||||
return true;
|
||||
}
|
||||
texture_cache.mark_unused(&entry.texture_cache_handle);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn request_glyphs(
|
||||
|
@ -1 +1 @@
|
||||
8b941ca60014972f97ce240cb8a7afc1d6db3de6
|
||||
1928351fe1169c4183df02039b3d541dc36de39e
|
||||
|
Loading…
Reference in New Issue
Block a user