Bug 1513683 - Update webrender to commit bf98e0cbde3ac885f55ff536ace139e1dc4f080f (WR PR #3396). r=kats

https://github.com/servo/webrender/pull/3396

Differential Revision: https://phabricator.services.mozilla.com/D14311

--HG--
extra : moz-landing-system : lando
This commit is contained in:
WR Updater Bot 2018-12-12 20:38:19 +00:00
Родитель 5e0f0c2fb0
Коммит ce6f70e3f9
3 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -1 +1 @@
6f993ede3a062777d3067006537bab140702b669
bf98e0cbde3ac885f55ff536ace139e1dc4f080f

Просмотреть файл

@ -1040,7 +1040,7 @@ impl AlphaBatchBuilder {
let key = BatchKey::new(
kind,
non_segmented_blend_mode,
BlendMode::None,
BatchTextures::color(cache_item.texture_id),
);

Просмотреть файл

@ -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,
);