diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-26 12:44:52 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-26 12:44:52 +0000 |
commit | 40f84269ce9163b37845e65f9d8d765f97804a28 (patch) | |
tree | eacb8d5c0b394d352f71c59deab393c50d8251d5 /cc/resources/pixel_buffer_raster_worker_pool.h | |
parent | 4612b236c0c4d6f6c4f77e53a4967885ff3ebc2b (diff) | |
download | chromium_src-40f84269ce9163b37845e65f9d8d765f97804a28.zip chromium_src-40f84269ce9163b37845e65f9d8d765f97804a28.tar.gz chromium_src-40f84269ce9163b37845e65f9d8d765f97804a28.tar.bz2 |
cc: Sort backings in the parent compositor to the back of the list.
Backings in the parent should not be preferred for eviction since
deleting them in the renderer won't actually free any memory. So sort
them to the back of the backings list, so they are evicted last.
Also mark them as not CanBeRecycled() so that they will not be evicted
at all if we are only evicting recyclable stuff.
Tests:
PrioritizedResourceTest.NotEvictingTexturesInParent
R=ccameron@chromium.org, jbauman@chromium.org
BUG=292971
Review URL: https://codereview.chromium.org/42483002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/pixel_buffer_raster_worker_pool.h')
0 files changed, 0 insertions, 0 deletions