diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-05 18:50:12 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-05 18:50:12 +0000 |
commit | 30ca75e25a30803e11bfa0673556dcb6731adeca (patch) | |
tree | c9dfefd740749e98893f7603c6ff908b8f7b0b6c /google_update | |
parent | b9c26780e3d0637b920de98a0a7b6d2bad544fbc (diff) | |
download | chromium_src-30ca75e25a30803e11bfa0673556dcb6731adeca.zip chromium_src-30ca75e25a30803e11bfa0673556dcb6731adeca.tar.gz chromium_src-30ca75e25a30803e11bfa0673556dcb6731adeca.tar.bz2 |
Merge 265842 "CoreAnimation: Evict IOSurfaces after use"
> CoreAnimation: Evict IOSurfaces after use
>
> CoreAnimation stores contents in CALayers, so it is
> not necessary to keep around IOSurfaces after they
> have been drawn (except in the case of being
> backgrounded and then made visible again).
>
> Discard these IOSurfaces if we have more than 8 of
> them around. Only discard surfaces when they have
> been drawn and the have no pending copy requests.
>
> This relieves an increase in virtual address space used
> by CoreAnimation.
>
> Also move where size and scale factor are assigned so
> that the size of the IOSurface can be un-set when it
> is freed.
>
> BUG=364808
>
> Review URL: https://codereview.chromium.org/243133008
TBR=ccameron@chromium.org
Review URL: https://codereview.chromium.org/266273002
git-svn-id: svn://svn.chromium.org/chrome/branches/1916/src@268233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_update')
0 files changed, 0 insertions, 0 deletions