1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64

gpu / config / gpu_switches.h [blame]

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef GPU_CONFIG_GPU_SWITCHES_H_
#define GPU_CONFIG_GPU_SWITCHES_H_

#include "gpu/gpu_export.h"

namespace switches {

GPU_EXPORT extern const char kDisableGpuRasterization[];
GPU_EXPORT extern const char kDisableMipmapGeneration[];
GPU_EXPORT extern const char kEnableGpuRasterization[];
GPU_EXPORT extern const char kGpuBlocklistTestGroup[];
GPU_EXPORT extern const char kGpuDriverBugListTestGroup[];
GPU_EXPORT extern const char kGpuPreferences[];
GPU_EXPORT extern const char kIgnoreGpuBlocklist[];
GPU_EXPORT extern const char kGpuDiskCacheSizeKB[];
GPU_EXPORT extern const char kDisableGpuProcessForDX12InfoCollection[];
GPU_EXPORT extern const char kEnableUnsafeWebGPU[];
GPU_EXPORT extern const char kEnableWebGPUDeveloperFeatures[];
GPU_EXPORT extern const char kEnableDawnBackendValidation[];
GPU_EXPORT extern const char kUseWebGPUAdapter[];
GPU_EXPORT extern const char kUseWebGPUPowerPreference[];
GPU_EXPORT extern const char kForceWebGPUCompat[];
GPU_EXPORT extern const char kEnableDawnFeatures[];
GPU_EXPORT extern const char kDisableDawnFeatures[];
GPU_EXPORT extern const char kCollectDawnInfoEagerly[];
GPU_EXPORT extern const char kNoDelayForDX12VulkanInfoCollection[];
GPU_EXPORT extern const char kEnableGpuBlockedTime[];
GPU_EXPORT extern const char kGpuVendorId[];
GPU_EXPORT extern const char kGpuDeviceId[];
GPU_EXPORT extern const char kGpuSubSystemId[];
GPU_EXPORT extern const char kGpuRevision[];
GPU_EXPORT extern const char kGpuDriverVersion[];
GPU_EXPORT extern const char kWebViewDrawFunctorUsesVulkan[];
GPU_EXPORT extern const char kEnableVulkanProtectedMemory[];
GPU_EXPORT extern const char kDisableVulkanFallbackToGLForTesting[];
GPU_EXPORT extern const char kVulkanHeapMemoryLimitMb[];
GPU_EXPORT extern const char kVulkanSyncCpuMemoryLimitMb[];
GPU_EXPORT extern const char kForceBrowserCrashOnGpuCrash[];
GPU_EXPORT extern const char kGpuWatchdogTimeoutSeconds[];
GPU_EXPORT extern const char kForceSeparateEGLDisplayForWebGLTesting[];
GPU_EXPORT extern const char kSkiaGraphiteBackend[];
GPU_EXPORT extern const char kSkiaGraphiteBackendDawn[];
GPU_EXPORT extern const char kSkiaGraphiteBackendDawnD3D11[];
GPU_EXPORT extern const char kSkiaGraphiteBackendDawnD3D12[];
GPU_EXPORT extern const char kSkiaGraphiteBackendDawnMetal[];
GPU_EXPORT extern const char kSkiaGraphiteBackendDawnSwiftshader[];
GPU_EXPORT extern const char kSkiaGraphiteBackendDawnVulkan[];
GPU_EXPORT extern const char kSkiaGraphiteBackendMetal[];
GPU_EXPORT extern const char kShaderCachePath[];
GPU_EXPORT extern const char kDisableSkiaGraphite[];
GPU_EXPORT extern const char kEnableSkiaGraphite[];
GPU_EXPORT extern const char kDisableSkiaGraphitePrecompilation[];
GPU_EXPORT extern const char kEnableSkiaGraphitePrecompilation[];
GPU_EXPORT extern const char kUseRedistributableDirectML[];
GPU_EXPORT extern const char kEnableGpuMainTimeKeeperMetrics[];
GPU_EXPORT extern const char kSuppressPerformanceLogs[];

}  // namespace switches

#endif  // GPU_CONFIG_GPU_SWITCHES_H_