Index: gpu/command_buffer/service/gpu_switches.cc |
diff --git a/gpu/command_buffer/service/gpu_switches.cc b/gpu/command_buffer/service/gpu_switches.cc |
index 7f9f8b9f8d01b88adb410f97e9aba7a884d7a4d9..69737b581d6e7516a60f1851401327660952e4b6 100644 |
--- a/gpu/command_buffer/service/gpu_switches.cc |
+++ b/gpu/command_buffer/service/gpu_switches.cc |
@@ -37,6 +37,9 @@ const char kEnforceGLMinimums[] = "enforce-gl-minimums"; |
// affected systems. |
const char kForceGLFinishWorkaround[] = "force-glfinish-workaround"; |
+// Sets the total amount of memory that may be allocated for GPU resources |
+const char kForceGpuMemAvailableMb[] = "force-gpu-mem-available-mb"; |
+ |
// Sets the maximum size of the in-memory gpu program cache, in kb |
const char kGpuProgramCacheSizeKb[] = "gpu-program-cache-size-kb"; |
@@ -52,6 +55,7 @@ const char* kGpuSwitches[] = { |
kDisableGpuProgramCache, |
kEnforceGLMinimums, |
kForceGLFinishWorkaround, |
+ kForceGpuMemAvailableMb, |
kGpuProgramCacheSizeKb, |
kTraceGL, |
}; |