Added ability to specify disabled extensions in the GPU Workarounds.
commitc805d5e33ba1e2edbaae5dace3a5fc41cfcbd503
authordyen <dyen@chromium.org>
Fri, 1 May 2015 23:16:06 +0000 (1 16:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 1 May 2015 23:18:36 +0000 (1 23:18 +0000)
tree37de6af525107c4cbfa1285d909ece00a98b6c45
parent617973959c60fe8dda78ad8fd9636404b1e15829
Added ability to specify disabled extensions in the GPU Workarounds.

This CL adds the ability to specify a "disabled_extensions" field in
the GPU Workarounds JSON file. Currently this is only an aesthetic
change and just makes it show up as a table next to "GL_EXTENSIONS"
when you go to "chrome://gpu". Eventually we should make this field
automatically filter out extensions from GL_EXTENSIONS.

Currently I have only added extensions for a couple for testing. I
will create another CL after this which adds disabled extensions to
all the other workarounds which attempt to disable extensions.

R=zmo@chromium.org
BUG=482067

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

Cr-Commit-Position: refs/heads/master@{#328012}
12 files changed:
content/browser/gpu/gpu_data_manager_impl.cc
content/browser/gpu/gpu_data_manager_impl.h
content/browser/gpu/gpu_data_manager_impl_private.cc
content/browser/gpu/gpu_data_manager_impl_private.h
content/browser/gpu/gpu_internals_ui.cc
content/public/browser/gpu_data_manager.h
gpu/config/gpu_control_list.cc
gpu/config/gpu_control_list.h
gpu/config/gpu_control_list_entry_unittest.cc
gpu/config/gpu_control_list_format.txt
gpu/config/gpu_control_list_unittest.cc
gpu/config/gpu_driver_bug_list_json.cc