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
Review-Url: https://codereview.chromium.org/2468023002
Cr-Commit-Position: refs/heads/master@{#429354}
(cherry picked from commit 7cedb549a0624a5a592bb592c1a828e52623fcb9)
Committed: https://chromium.googlesource.com/chromium/src/+/64edcb17468821037530b22c903bdda22d179473
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|