diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 22:57:28 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 22:57:28 +0000 |
commit | 469b82d84ef7e3d9eb37eeb62546af240225f73e (patch) | |
tree | ac8d5631b6c540ac1f66c62416c8275c1035188a /gpu | |
parent | 7ffee21c761211191b3064a480d009286bb7b2e8 (diff) | |
download | chromium_src-469b82d84ef7e3d9eb37eeb62546af240225f73e.zip chromium_src-469b82d84ef7e3d9eb37eeb62546af240225f73e.tar.gz chromium_src-469b82d84ef7e3d9eb37eeb62546af240225f73e.tar.bz2 |
Delete memory manager dead code.
There have existed two paths in the memory manager for
a few months -- the old path which uniformly distributes
all memory across all visible renderers, and the new path
which takes into account the needs of each renderer.
The transition was made from the old policy to the new
policy quite a while ago, so we can safely get rid of
the old policy.
BUG=150883
Review URL: https://chromiumcodereview.appspot.com/12475002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/gpu_switches.cc | 6 | ||||
-rw-r--r-- | gpu/command_buffer/service/gpu_switches.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/gpu/command_buffer/service/gpu_switches.cc b/gpu/command_buffer/service/gpu_switches.cc index aebaf8b..d029cfb 100644 --- a/gpu/command_buffer/service/gpu_switches.cc +++ b/gpu/command_buffer/service/gpu_switches.cc @@ -45,11 +45,6 @@ const char kEnforceGLMinimums[] = "enforce-gl-minimums"; // affected systems. const char kForceGLFinishWorkaround[] = "force-glfinish-workaround"; -// Disable the nonuniform GPU memory memory and instead use the scheme that -// distributes memory uniformly to all visible renderers. -const char kDisableNonuniformGpuMemPolicy[] = - "disable-nonuniform-gpu-mem-policy"; - // Sets the total amount of memory that may be allocated for GPU resources const char kForceGpuMemAvailableMb[] = "force-gpu-mem-available-mb"; @@ -70,7 +65,6 @@ const char* kGpuSwitches[] = { kDisableGpuProgramCache, kEnforceGLMinimums, kForceGLFinishWorkaround, - kDisableNonuniformGpuMemPolicy, kForceGpuMemAvailableMb, kGpuProgramCacheSizeKb, kTraceGL, diff --git a/gpu/command_buffer/service/gpu_switches.h b/gpu/command_buffer/service/gpu_switches.h index 1314854..0a51e70 100644 --- a/gpu/command_buffer/service/gpu_switches.h +++ b/gpu/command_buffer/service/gpu_switches.h @@ -22,7 +22,6 @@ GPU_EXPORT extern const char kEnableGPUServiceLoggingGPU[]; GPU_EXPORT extern const char kDisableGpuProgramCache[]; GPU_EXPORT extern const char kEnforceGLMinimums[]; GPU_EXPORT extern const char kForceGLFinishWorkaround[]; -GPU_EXPORT extern const char kDisableNonuniformGpuMemPolicy[]; GPU_EXPORT extern const char kForceGpuMemAvailableMb[]; GPU_EXPORT extern const char kGpuProgramCacheSizeKb[]; GPU_EXPORT extern const char kTraceGL[]; |