diff options
Diffstat (limited to 'cc/layers/picture_layer_impl.cc')
-rw-r--r-- | cc/layers/picture_layer_impl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc index 885ac67..094cd4f 100644 --- a/cc/layers/picture_layer_impl.cc +++ b/cc/layers/picture_layer_impl.cc @@ -401,7 +401,9 @@ void PictureLayerImpl::UpdateTiles( DCHECK(!occlusion_tracker || layer_tree_impl()->settings().use_occlusion_for_tile_prioritization); - if (layer_tree_impl()->device_viewport_valid_for_tile_management()) { + // Transforms and viewport are invalid for tile management inside a + // resourceless software draw, so don't update them. + if (!layer_tree_impl()->resourceless_software_draw()) { visible_rect_for_tile_priority_ = visible_content_rect(); viewport_size_for_tile_priority_ = layer_tree_impl()->DrawViewportSize(); screen_space_transform_for_tile_priority_ = screen_space_transform(); |