Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / gpu / command_buffer / service / gpu_switches.h
blobac347e4eff61a754a7e456b61362f04fae53aeed
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
3 // found in the LICENSE file.
5 // Defines all the command-line switches used by gpu/command_buffer/service/.
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
10 #include "gpu/config/gpu_switches.h"
11 #include "gpu/gpu_export.h"
13 namespace switches {
15 GPU_EXPORT extern const char kCompileShaderAlwaysSucceeds[];
16 GPU_EXPORT extern const char kDisableGLErrorLimit[];
17 GPU_EXPORT extern const char kDisableGLSLTranslator[];
18 GPU_EXPORT extern const char kDisableGpuDriverBugWorkarounds[];
19 GPU_EXPORT extern const char kDisableShaderNameHashing[];
20 GPU_EXPORT extern const char kEnableGPUCommandLogging[];
21 GPU_EXPORT extern const char kEnableGPUDebugging[];
22 GPU_EXPORT extern const char kEnableGPUServiceLoggingGPU[];
23 GPU_EXPORT extern const char kDisableGpuProgramCache[];
24 GPU_EXPORT extern const char kEnforceGLMinimums[];
25 GPU_EXPORT extern const char kForceGpuMemAvailableMb[];
26 GPU_EXPORT extern const char kGpuProgramCacheSizeKb[];
27 GPU_EXPORT extern const char kDisableGpuShaderDiskCache[];
28 GPU_EXPORT extern const char kEnableShareGroupAsyncTextureUpload[];
29 GPU_EXPORT extern const char kEnableSubscribeUniformExtension[];
30 GPU_EXPORT extern const char kEnableThreadedTextureMailboxes[];
31 GPU_EXPORT extern const char kGLShaderIntermOutput[];
32 GPU_EXPORT extern const char kEmulateShaderPrecision[];
33 GPU_EXPORT extern const char kEnableGLPathRendering[];
35 GPU_EXPORT extern const char* kGpuSwitches[];
36 GPU_EXPORT extern const int kNumGpuSwitches;
38 } // namespace switches
40 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_