#include "gpu/command_buffer/service/gpu_switches.h"
#include "base/basictypes.h"
namespace switches {
const char kCompileShaderAlwaysSucceeds[] = "compile-shader-always-succeeds";
const char kDisableGLErrorLimit[] = "disable-gl-error-limit";
const char kDisableGLSLTranslator[] = "disable-glsl-translator";
const char kDisableGpuDriverBugWorkarounds[] =
"disable-gpu-driver-bug-workarounds";
const char kDisableShaderNameHashing[] = "disable-shader-name-hashing";
const char kEnableGPUCommandLogging[] = "enable-gpu-command-logging";
const char kEnableGPUDebugging[] = "enable-gpu-debugging";
const char kEnableGPUServiceLoggingGPU[] = "enable-gpu-service-logging";
const char kDisableGpuProgramCache[] = "disable-gpu-program-cache";
const char kEnforceGLMinimums[] = "enforce-gl-minimums";
const char kForceGpuMemAvailableMb[] = "force-gpu-mem-available-mb";
const char kGpuDriverBugWorkarounds[] = "gpu-driver-bug-workarounds";
const char kGpuProgramCacheSizeKb[] = "gpu-program-cache-size-kb";
const char kDisableGpuShaderDiskCache[] = "disable-gpu-shader-disk-cache";
const char kEnableShareGroupAsyncTextureUpload[] =
"enable-share-group-async-texture-upload";
const char* kGpuSwitches[] = {
kCompileShaderAlwaysSucceeds,
kDisableGLErrorLimit,
kDisableGLSLTranslator,
kDisableGpuDriverBugWorkarounds,
kDisableShaderNameHashing,
kEnableGPUCommandLogging,
kEnableGPUDebugging,
kEnableGPUServiceLoggingGPU,
kDisableGpuProgramCache,
kEnforceGLMinimums,
kForceGpuMemAvailableMb,
kGpuDriverBugWorkarounds,
kGpuProgramCacheSizeKb,
kDisableGpuShaderDiskCache,
kEnableShareGroupAsyncTextureUpload,
};
const int kNumGpuSwitches = arraysize(kGpuSwitches);
}