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

Issue 6352011: Improve blacklist logic: use more fields (driver_vendor, gl_renderer, ect) fo... (Closed)

Created:
9 years, 11 months ago by Zhenyao Mo
Modified:
9 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews), Paweł Hajdan Jr.
Visibility:
Public.

Description

Improve blacklist logic: use more fields (driver_vendor, gl_renderer, ect) for blacklist logic; add blacklist logic and blacklist entry id; also improves the histogram to record occurance of each entry blocking gpu. BUG=none TEST=unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72502

Patch Set 1 #

Patch Set 2 : Added histogram improvement. #

Total comments: 12

Patch Set 3 : minor fix #

Patch Set 4 : Responding to kbr's review #

Patch Set 5 : This should turn linux trybot green #

Total comments: 22

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -68 lines) Patch
M chrome/browser/gpu_blacklist.h View 1 2 3 4 5 7 chunks +69 lines, -32 lines 0 comments Download
M chrome/browser/gpu_blacklist.cc View 1 2 3 4 5 15 chunks +161 lines, -7 lines 0 comments Download
M chrome/browser/gpu_blacklist_unittest.cc View 1 2 6 chunks +20 lines, -1 line 0 comments Download
M chrome/browser/gpu_process_host.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/gpu_process_host.cc View 1 2 3 4 5 3 chunks +21 lines, -19 lines 0 comments Download
M chrome/browser/resources/gpu_blacklist.json View 1 2 3 4 5 2 chunks +57 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Zhenyao Mo
9 years, 11 months ago (2011-01-21 02:13:42 UTC) #1
Zhenyao Mo
Please review. Don't worry about the trybots as they haven't picked up my previous patch ...
9 years, 11 months ago (2011-01-21 02:15:28 UTC) #2
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/6352011/diff/7001/chrome/browser/gpu_blacklist.cc File chrome/browser/gpu_blacklist.cc (right): http://codereview.chromium.org/6352011/diff/7001/chrome/browser/gpu_blacklist.cc#newcode153 chrome/browser/gpu_blacklist.cc:153: return my_value.find_first_of(value_) == 0; Probably faster to use std::string::compare(0, ...
9 years, 11 months ago (2011-01-21 19:57:51 UTC) #3
Ken Russell (switch to Gerrit)
LGTM otherwise.
9 years, 11 months ago (2011-01-21 19:58:06 UTC) #4
Zhenyao Mo
http://codereview.chromium.org/6352011/diff/7001/chrome/browser/gpu_blacklist.cc File chrome/browser/gpu_blacklist.cc (right): http://codereview.chromium.org/6352011/diff/7001/chrome/browser/gpu_blacklist.cc#newcode153 chrome/browser/gpu_blacklist.cc:153: return my_value.find_first_of(value_) == 0; On 2011/01/21 19:57:52, kbr wrote: ...
9 years, 11 months ago (2011-01-21 21:51:40 UTC) #5
Zhenyao Mo
9 years, 11 months ago (2011-01-22 01:27:56 UTC) #6
Vangelis Kokkevis
http://codereview.chromium.org/6352011/diff/28001/chrome/browser/gpu_blacklist.cc File chrome/browser/gpu_blacklist.cc (right): http://codereview.chromium.org/6352011/diff/28001/chrome/browser/gpu_blacklist.cc#newcode144 chrome/browser/gpu_blacklist.cc:144: GpuBlacklist::StringInfo::~StringInfo() { No point in defining a destructor if ...
9 years, 11 months ago (2011-01-24 20:55:21 UTC) #7
Zhenyao Mo
http://codereview.chromium.org/6352011/diff/28001/chrome/browser/gpu_blacklist.cc File chrome/browser/gpu_blacklist.cc (right): http://codereview.chromium.org/6352011/diff/28001/chrome/browser/gpu_blacklist.cc#newcode144 chrome/browser/gpu_blacklist.cc:144: GpuBlacklist::StringInfo::~StringInfo() { Removed. On 2011/01/24 20:55:21, Vangelis Kokkevis wrote: ...
9 years, 11 months ago (2011-01-24 22:38:22 UTC) #8
Vangelis Kokkevis
9 years, 11 months ago (2011-01-25 06:33:59 UTC) #9
Looks good!  Thanks!

Powered by Google App Engine
This is Rietveld 408576698