Skip to content

Commit 1377909

Browse files
author
WR Updater Bot
committed
Bug 1510592 - Update webrender to commit 0c6b52ec22023fae247baaa98f6ca1615ef523c8 (WR PR #3365). r=kats
servo/webrender#3365 Differential Revision: https://phabricator.services.mozilla.com/D13354 --HG-- extra : moz-landing-system : lando
1 parent cb90e86 commit 1377909

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

gfx/webrender_bindings/revision.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3d73e3885907ae3d48b46fba891073abdb59e76d
1+
0c6b52ec22023fae247baaa98f6ca1615ef523c8

gfx/wr/webrender/src/frame_builder.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,14 @@ impl FrameBuilder {
278278
&mut retained_tiles,
279279
);
280280

281+
// If we had any retained tiles from the last scene that were not picked
282+
// up by the new frame, then just discard them eagerly.
283+
// TODO(gw): Maybe it's worth keeping them around for a bit longer in
284+
// some cases?
285+
for (_, handle) in retained_tiles.drain() {
286+
resource_cache.texture_cache.mark_unused(&handle);
287+
}
288+
281289
let mut frame_state = FrameBuildingState {
282290
render_tasks,
283291
profile_counters,

gfx/wr/webrender/src/picture.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -857,14 +857,6 @@ impl TileCache {
857857
}
858858
}
859859

860-
// If we had any retained tiles from the last scene that were not picked
861-
// up by the new frame, then just discard them eagerly.
862-
// TODO(gw): Maybe it's worth keeping them around for a bit longer in
863-
// some cases?
864-
for (_, handle) in retained_tiles.drain() {
865-
resource_cache.texture_cache.mark_unused(&handle);
866-
}
867-
868860
self.dirty_region = if dirty_rect.is_empty() {
869861
None
870862
} else {

0 commit comments

Comments
 (0)