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 // Defines all the command-line switches used by gpu/command_buffer/service/. | 5 // Defines all the command-line switches used by gpu/command_buffer/service/. |
6 | 6 |
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ | 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ |
8 #define GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ | 8 #define GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ |
9 | 9 |
10 #include "gpu/config/gpu_switches.h" | |
10 #include "gpu/gpu_export.h" | 11 #include "gpu/gpu_export.h" |
Zhenyao Mo
2015/04/28 16:41:28
nit: you don't need gpu_export.h here, because gpu
tfarina
2015/04/28 18:07:23
This is good for iwyu. I kept it.
| |
11 | 12 |
12 namespace switches { | 13 namespace switches { |
13 | 14 |
14 GPU_EXPORT extern const char kCompileShaderAlwaysSucceeds[]; | 15 GPU_EXPORT extern const char kCompileShaderAlwaysSucceeds[]; |
15 GPU_EXPORT extern const char kDisableGLErrorLimit[]; | 16 GPU_EXPORT extern const char kDisableGLErrorLimit[]; |
16 GPU_EXPORT extern const char kDisableGLSLTranslator[]; | 17 GPU_EXPORT extern const char kDisableGLSLTranslator[]; |
17 GPU_EXPORT extern const char kDisableGpuDriverBugWorkarounds[]; | 18 GPU_EXPORT extern const char kDisableGpuDriverBugWorkarounds[]; |
18 GPU_EXPORT extern const char kDisableShaderNameHashing[]; | 19 GPU_EXPORT extern const char kDisableShaderNameHashing[]; |
19 GPU_EXPORT extern const char kEnableGPUCommandLogging[]; | 20 GPU_EXPORT extern const char kEnableGPUCommandLogging[]; |
20 GPU_EXPORT extern const char kEnableGPUDebugging[]; | 21 GPU_EXPORT extern const char kEnableGPUDebugging[]; |
21 GPU_EXPORT extern const char kEnableGPUServiceLoggingGPU[]; | 22 GPU_EXPORT extern const char kEnableGPUServiceLoggingGPU[]; |
22 GPU_EXPORT extern const char kDisableGpuProgramCache[]; | 23 GPU_EXPORT extern const char kDisableGpuProgramCache[]; |
23 GPU_EXPORT extern const char kEnforceGLMinimums[]; | 24 GPU_EXPORT extern const char kEnforceGLMinimums[]; |
24 GPU_EXPORT extern const char kForceGpuMemAvailableMb[]; | 25 GPU_EXPORT extern const char kForceGpuMemAvailableMb[]; |
25 GPU_EXPORT extern const char kGpuDriverBugWorkarounds[]; | |
26 GPU_EXPORT extern const char kGpuProgramCacheSizeKb[]; | 26 GPU_EXPORT extern const char kGpuProgramCacheSizeKb[]; |
27 GPU_EXPORT extern const char kDisableGpuShaderDiskCache[]; | 27 GPU_EXPORT extern const char kDisableGpuShaderDiskCache[]; |
28 GPU_EXPORT extern const char kEnableShareGroupAsyncTextureUpload[]; | 28 GPU_EXPORT extern const char kEnableShareGroupAsyncTextureUpload[]; |
29 GPU_EXPORT extern const char kEnableSubscribeUniformExtension[]; | 29 GPU_EXPORT extern const char kEnableSubscribeUniformExtension[]; |
30 GPU_EXPORT extern const char kEnableThreadedTextureMailboxes[]; | 30 GPU_EXPORT extern const char kEnableThreadedTextureMailboxes[]; |
31 GPU_EXPORT extern const char kGLShaderIntermOutput[]; | 31 GPU_EXPORT extern const char kGLShaderIntermOutput[]; |
32 GPU_EXPORT extern const char kEmulateShaderPrecision[]; | 32 GPU_EXPORT extern const char kEmulateShaderPrecision[]; |
33 | 33 |
34 GPU_EXPORT extern const char* kGpuSwitches[]; | 34 GPU_EXPORT extern const char* kGpuSwitches[]; |
35 GPU_EXPORT extern const int kNumGpuSwitches; | 35 GPU_EXPORT extern const int kNumGpuSwitches; |
36 | 36 |
37 } // namespace switches | 37 } // namespace switches |
38 | 38 |
39 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ | 39 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_ |
40 | 40 |
OLD | NEW |