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

Issue 2756793003: Move GPU blacklist and driver bug workaround list from json to data struct. (Closed)

Created:
3 years, 9 months ago by Zhenyao Mo
Modified:
3 years, 8 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move GPU blacklist and driver bug workaround list from json to data struct. BUG=691703 TEST=gpu_unittests R=kbr@chromium.org,brettw@chromium.org,piman@chromium.org TBR=piman@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2756793003 Cr-Commit-Position: refs/heads/master@{#461282} Committed: https://chromium.googlesource.com/chromium/src/+/2602bcf4e08d2cb554520b42246f68ac22426bc8

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : update #

Patch Set 4 : get gpu_unittests to almost pass #

Patch Set 5 : update #

Patch Set 6 : gpu_unittests working #

Patch Set 7 : chrome working #

Patch Set 8 : pure rebase #

Patch Set 9 : content_unittests working #

Patch Set 10 : all compiling #

Patch Set 11 : pure rebase #

Patch Set 12 : fix win build #

Patch Set 13 : fix linux #

Patch Set 14 : another try to fix win build #

Patch Set 15 : try 2 #

Patch Set 16 : another try to fix win build #

Patch Set 17 : rebase and version update #

Patch Set 18 : Switch to use arraysize #

Total comments: 46

Patch Set 19 : pure rebase #

Patch Set 20 : address all comments #

Patch Set 21 : pure rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16966 lines, -8721 lines) Patch
M chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +1 line, -19 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 6 chunks +4 lines, -22 lines 0 comments Download
M chrome/browser/extensions/requirements_checker_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +1 line, -31 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +43 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +4 lines, -5 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 8 chunks +24 lines, -37 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 17 chunks +66 lines, -166 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_testing.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +108 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_testing_arrays_and_structs_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +118 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_testing_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +22 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_testing_autogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +283 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_testing_entry_enums_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +29 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_testing_exceptions_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +68 lines, -0 lines 0 comments Download
M content/browser/resources/gpu/info_view.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +1 line, -17 lines 0 comments Download
M content/public/browser/gpu_data_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +7 lines, -3 lines 0 comments Download
M gpu/config/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +8 lines, -3 lines 0 comments Download
M gpu/config/gpu_blacklist.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +4 lines, -3 lines 0 comments Download
M gpu/config/gpu_blacklist.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +18 lines, -14 lines 0 comments Download
M gpu/config/gpu_blacklist_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +36 lines, -67 lines 0 comments Download
M gpu/config/gpu_control_list.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +181 lines, -392 lines 0 comments Download
M gpu/config/gpu_control_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 16 chunks +262 lines, -1314 lines 0 comments Download
M gpu/config/gpu_control_list_entry_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +371 lines, -1080 lines 0 comments Download
D gpu/config/gpu_control_list_jsons.h View 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -18 lines 0 comments Download
D gpu/config/gpu_control_list_number_info_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -226 lines 0 comments Download
D gpu/config/gpu_control_list_os_info_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -153 lines 0 comments Download
A gpu/config/gpu_control_list_testing.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +722 lines, -0 lines 0 comments Download
A gpu/config/gpu_control_list_testing_arrays_and_structs_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +558 lines, -0 lines 0 comments Download
A gpu/config/gpu_control_list_testing_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +22 lines, -0 lines 0 comments Download
A gpu/config/gpu_control_list_testing_autogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1533 lines, -0 lines 0 comments Download
A gpu/config/gpu_control_list_testing_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +15 lines, -0 lines 0 comments Download
A gpu/config/gpu_control_list_testing_entry_enums_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +77 lines, -0 lines 0 comments Download
A gpu/config/gpu_control_list_testing_exceptions_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +150 lines, -0 lines 0 comments Download
M gpu/config/gpu_control_list_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 6 chunks +38 lines, -553 lines 0 comments Download
D gpu/config/gpu_control_list_version_info_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -260 lines 0 comments Download
A + gpu/config/gpu_control_list_version_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 9 chunks +32 lines, -114 lines 0 comments Download
M gpu/config/gpu_driver_bug_list.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +5 lines, -5 lines 0 comments Download
A gpu/config/gpu_driver_bug_list.README View 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +7 lines, -0 lines 0 comments Download
M gpu/config/gpu_driver_bug_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +13 lines, -6 lines 0 comments Download
A + gpu/config/gpu_driver_bug_list.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 8 chunks +17 lines, -44 lines 0 comments Download
A gpu/config/gpu_driver_bug_list_arrays_and_structs_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2149 lines, -0 lines 0 comments Download
A gpu/config/gpu_driver_bug_list_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +22 lines, -0 lines 0 comments Download
A gpu/config/gpu_driver_bug_list_autogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +4553 lines, -0 lines 0 comments Download
A gpu/config/gpu_driver_bug_list_exceptions_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +68 lines, -0 lines 0 comments Download
D gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -2409 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +3 lines, -151 lines 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +1 line, -4 lines 0 comments Download
M gpu/config/gpu_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +0 lines, -2 lines 0 comments Download
A gpu/config/process_json.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +757 lines, -0 lines 0 comments Download
A gpu/config/software_rendering_list.README View 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +7 lines, -0 lines 0 comments Download
A + gpu/config/software_rendering_list.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 11 chunks +18 lines, -46 lines 0 comments Download
A gpu/config/software_rendering_list_arrays_and_structs_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1771 lines, -0 lines 0 comments Download
A gpu/config/software_rendering_list_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +22 lines, -0 lines 0 comments Download
A gpu/config/software_rendering_list_autogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2210 lines, -0 lines 0 comments Download
A gpu/config/software_rendering_list_exceptions_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +524 lines, -0 lines 0 comments Download
D gpu/config/software_rendering_list_json.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -1548 lines 0 comments Download

Messages

Total messages: 69 (54 generated)
Zhenyao Mo
Finally this is ready kbr: please review brettw: FYI (feel free to also review) piman: ...
3 years, 8 months ago (2017-03-29 22:27:55 UTC) #38
Devlin
extensions lgtm
3 years, 8 months ago (2017-03-29 22:30:38 UTC) #39
brettw
Thanks for getting to this! I notice that the list is still global for all ...
3 years, 8 months ago (2017-03-30 22:54:40 UTC) #44
Zhenyao Mo
On 2017/03/30 22:54:40, brettw (plz ping after 24h) wrote: > Thanks for getting to this! ...
3 years, 8 months ago (2017-03-30 23:09:35 UTC) #45
brettw
On 2017/03/30 23:09:35, Zhenyao Mo wrote: > On 2017/03/30 22:54:40, brettw (plz ping after 24h) ...
3 years, 8 months ago (2017-03-30 23:15:06 UTC) #46
Zhenyao Mo
On 2017/03/30 23:15:06, brettw (plz ping after 24h) wrote: > On 2017/03/30 23:09:35, Zhenyao Mo ...
3 years, 8 months ago (2017-03-30 23:42:54 UTC) #47
piman
Overall, this is great. I have a few nits and one question, but no major ...
3 years, 8 months ago (2017-03-30 23:44:41 UTC) #48
Zhenyao Mo
On 2017/03/30 23:44:41, piman wrote: > Overall, this is great. I have a few nits ...
3 years, 8 months ago (2017-03-30 23:50:21 UTC) #49
Ken Russell (switch to Gerrit)
Awesome work Mo. This is a tremendous improvement. Several smaller questions and comments, but I ...
3 years, 8 months ago (2017-03-31 02:37:07 UTC) #50
Zhenyao Mo
All comments addressed. I tried to do a pure rebase and then make changes on ...
3 years, 8 months ago (2017-03-31 19:14:15 UTC) #53
Zhenyao Mo
https://codereview.chromium.org/2756793003/diff/200001/gpu/config/gpu_control_list_entry_unittest.cc File gpu/config/gpu_control_list_entry_unittest.cc (left): https://codereview.chromium.org/2756793003/diff/200001/gpu/config/gpu_control_list_entry_unittest.cc#oldcode1330 gpu/config/gpu_control_list_entry_unittest.cc:1330: TEST_F(GpuControlListEntryTest, LinuxKernelVersion) { On 2017/03/31 02:37:06, Ken Russell wrote: ...
3 years, 8 months ago (2017-03-31 21:17:00 UTC) #56
Zhenyao Mo
piman: landing with TBR to you since your suggestions are nits and I addressed all ...
3 years, 8 months ago (2017-03-31 23:57:15 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2756793003/230001
3 years, 8 months ago (2017-03-31 23:58:00 UTC) #65
commit-bot: I haz the power
Committed patchset #21 (id:230001) as https://chromium.googlesource.com/chromium/src/+/2602bcf4e08d2cb554520b42246f68ac22426bc8
3 years, 8 months ago (2017-04-01 00:13:28 UTC) #68
agrieve
3 years, 8 months ago (2017-04-03 14:41:20 UTC) #69
Message was sent while issue was closed.
On 2017/04/01 00:13:28, commit-bot: I haz the power wrote:
> Committed patchset #21 (id:230001) as
>
https://chromium.googlesource.com/chromium/src/+/2602bcf4e08d2cb554520b42246f...

This reduced ChromePublic.apk by 20kb. Woo!

Powered by Google App Engine
This is Rietveld 408576698