diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 09:53:35 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 09:53:35 +0000 |
commit | 0b8ef28478075b6b47bddc7d5e75513ca713e0d1 (patch) | |
tree | 11a8eb6b32e89d07e69221270be05ca3b2d78151 /cc/test/pixel_test.cc | |
parent | 7c310d3e5f9f0dcc96cf87c92f7c80dcb3b48179 (diff) | |
download | chromium_src-0b8ef28478075b6b47bddc7d5e75513ca713e0d1.zip chromium_src-0b8ef28478075b6b47bddc7d5e75513ca713e0d1.tar.gz chromium_src-0b8ef28478075b6b47bddc7d5e75513ca713e0d1.tar.bz2 |
Do not give GPU memory to backgrounded compositors.
This has already been disabled on all platforms except Windows and
Chrome OS to be more conservative about GPU memory.
All platforms are moving to a delegated renderer where, if keeping
around resources for a fast tab-switch is desired, it can be
accomplished by not releasing those resources in the browser process.
This feature was originally requested in crbug.com/134750.
Also remove the infrastructure for preserving backbuffers of
backgrounded renderers. This feature was never enabled.
BUG=276559
Review URL: https://codereview.chromium.org/53633003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/pixel_test.cc')
-rw-r--r-- | cc/test/pixel_test.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc index 12b729b..17c3aeb 100644 --- a/cc/test/pixel_test.cc +++ b/cc/test/pixel_test.cc @@ -64,7 +64,6 @@ class PixelTest::PixelTestRendererClient device_clip_ = clip; } virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) OVERRIDE {} - virtual void SetDiscardBackBufferWhenNotVisible(bool discard) OVERRIDE {} virtual void SetTreeActivationCallback(const base::Closure&) OVERRIDE {} private: |