DescriptionDon't free non-tile resources on GPU rasterization toggle
Currently we free all tree resources when GPU rasterization is toggled.
This causes problems for non-tile resources as these resources:
a) Are not impacted by GPU raster and don't need to be re-rasterized.
b) Are not trivially re-creatable, leading to them disappearing.
This change adds a new function ReleaseTileResources, which is used
in place of ReleaseResources when only tile resources need to be freed.
It also renames RecreateResources to RecreateTileResources, as we only
implemented this function for picture layers.
BUG=660929
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/7cedb549a0624a5a592bb592c1a828e52623fcb9
Cr-Commit-Position: refs/heads/master@{#429354}
Patch Set 1 #Patch Set 2 : remove RecreateResources #Patch Set 3 : test fix #Patch Set 4 : fix unittest #
Messages
Total messages: 17 (10 generated)
|