| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "gpu/command_buffer/service/gpu_switches.h" | 5 #include "gpu/command_buffer/service/gpu_switches.h" |
| 6 #include "base/basictypes.h" | |
| 7 | 6 |
| 8 namespace switches { | 7 namespace switches { |
| 9 | 8 |
| 10 // Always return success when compiling a shader. Linking will still fail. | 9 // Always return success when compiling a shader. Linking will still fail. |
| 11 const char kCompileShaderAlwaysSucceeds[] = "compile-shader-always-succeeds"; | 10 const char kCompileShaderAlwaysSucceeds[] = "compile-shader-always-succeeds"; |
| 12 | 11 |
| 13 // Disable the GL error log limit. | 12 // Disable the GL error log limit. |
| 14 const char kDisableGLErrorLimit[] = "disable-gl-error-limit"; | 13 const char kDisableGLErrorLimit[] = "disable-gl-error-limit"; |
| 15 | 14 |
| 16 // Disable the GLSL translator. | 15 // Disable the GLSL translator. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 kGpuDriverBugWorkarounds, | 82 kGpuDriverBugWorkarounds, |
| 84 kGpuProgramCacheSizeKb, | 83 kGpuProgramCacheSizeKb, |
| 85 kTraceGL, | 84 kTraceGL, |
| 86 kDisableGpuShaderDiskCache, | 85 kDisableGpuShaderDiskCache, |
| 87 kEnableShareGroupAsyncTextureUpload, | 86 kEnableShareGroupAsyncTextureUpload, |
| 88 }; | 87 }; |
| 89 | 88 |
| 90 const int kNumGpuSwitches = arraysize(kGpuSwitches); | 89 const int kNumGpuSwitches = arraysize(kGpuSwitches); |
| 91 | 90 |
| 92 } // namespace switches | 91 } // namespace switches |
| OLD | NEW |