Skip to content

Commit

Permalink
Bug 1513683 - Update webrender to commit bf98e0cbde3ac885f55ff536ace1…
Browse files Browse the repository at this point in the history
…39e1dc4f080f (WR PR #3396). r=kats

servo/webrender#3396

Differential Revision: https://phabricator.services.mozilla.com/D14311
  • Loading branch information
WR Updater Bot committed Dec 12, 2018
1 parent 6a7fffc commit 23f363f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gfx/webrender_bindings/revision.txt
@@ -1 +1 @@
6f993ede3a062777d3067006537bab140702b669
bf98e0cbde3ac885f55ff536ace139e1dc4f080f
2 changes: 1 addition & 1 deletion gfx/wr/webrender/src/batch.rs
Expand Up @@ -1040,7 +1040,7 @@ impl AlphaBatchBuilder {

let key = BatchKey::new(
kind,
non_segmented_blend_mode,
BlendMode::None,
BatchTextures::color(cache_item.texture_id),
);

Expand Down
6 changes: 5 additions & 1 deletion gfx/wr/webrender/src/picture.rs
Expand Up @@ -2189,11 +2189,15 @@ impl PicturePrimitive {
match tile_cache.dirty_region {
Some(ref dirty_region) => {
// Texture cache descriptor for each tile.
// TODO(gw): If / when we start to use tile caches with
// clip masks and/or transparent backgrounds,
// we will need to correctly select an opacity
// here and a blend mode in batch.rs.
let descriptor = ImageDescriptor::new(
TILE_SIZE_DP,
TILE_SIZE_DP,
ImageFormat::BGRA8,
false, // TODO(gw): Detect when background color is opaque!
true,
false,
);

Expand Down

0 comments on commit 23f363f

Please sign in to comment.