gpu: Allow overriding GPU driver workarounds via command line
commit85e6c4a353ef5e6e620e64f016f221e84be5bb79
authorrobert.bradford@intel.com <robert.bradford@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 4 Mar 2014 01:31:22 +0000 (4 01:31 +0000)
committerrobert.bradford@intel.com <robert.bradford@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 4 Mar 2014 01:31:22 +0000 (4 01:31 +0000)
tree8328f06c1e64f5e3ce867a9c413b55b400cf439d
parent6bf35021df50e798713e0d6d904f492d6eb8ad1b
gpu: Allow overriding GPU driver workarounds via command line

This change allows you to enable GPU driver workarounds by providing command
line switches with the name of the workaround. These workarounds are used
instead of the workarounds loaded from the JSON data. The command line switch
will be propagated into the GPU process allowing these to be applied both with
in-process GPU and without.

BUG=347130
TEST=run content_gl_test or chromium with and without switches and observe
workarounds being applied.

Review URL: https://codereview.chromium.org/180243012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254629 0039d316-1c4b-4281-b951-d872f2087c98
AUTHORS
content/browser/gpu/gpu_data_manager_impl_private.cc
gpu/config/gpu_driver_bug_list.cc
gpu/config/gpu_util.cc
gpu/config/gpu_util.h