Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 24120004: Add an enable D3D11 flag and blacklist specific intel drivers and windows vista from using D3D11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed merge issue Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) 433 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync)
434 }, 434 },
435 { 435 {
436 "disable-webgl", 436 "disable-webgl",
437 IDS_FLAGS_DISABLE_WEBGL_NAME, 437 IDS_FLAGS_DISABLE_WEBGL_NAME,
438 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, 438 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION,
439 kOsAll, 439 kOsAll,
440 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) 440 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL)
441 }, 441 },
442 { 442 {
443 "enable-d3d11",
444 IDS_FLAGS_ENABLE_D3D11_NAME,
445 IDS_FLAGS_ENABLE_D3D11_DESCRIPTION,
446 kOsWin,
447 SINGLE_VALUE_TYPE(switches::kEnableD3D11)
448 },
449 {
443 "disable-webrtc", 450 "disable-webrtc",
444 IDS_FLAGS_DISABLE_WEBRTC_NAME, 451 IDS_FLAGS_DISABLE_WEBRTC_NAME,
445 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION, 452 IDS_FLAGS_DISABLE_WEBRTC_DESCRIPTION,
446 kOsAndroid, 453 kOsAndroid,
447 #if defined(OS_ANDROID) 454 #if defined(OS_ANDROID)
448 SINGLE_VALUE_TYPE(switches::kDisableWebRTC) 455 SINGLE_VALUE_TYPE(switches::kDisableWebRTC)
449 #else 456 #else
450 SINGLE_VALUE_TYPE("") 457 SINGLE_VALUE_TYPE("")
451 #endif 458 #endif
452 }, 459 },
(...skipping 1739 matching lines...) Expand 10 before | Expand all | Expand 10 after
2192 } 2199 }
2193 2200
2194 const Experiment* GetExperiments(size_t* count) { 2201 const Experiment* GetExperiments(size_t* count) {
2195 *count = num_experiments; 2202 *count = num_experiments;
2196 return experiments; 2203 return experiments;
2197 } 2204 }
2198 2205
2199 } // namespace testing 2206 } // namespace testing
2200 2207
2201 } // namespace about_flags 2208 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698