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

Unified Diff: gpu/config/gpu_driver_bug_list.h

Issue 2756793003: Move GPU blacklist and driver bug workaround list from json to data struct. (Closed)
Patch Set: Switch to use arraysize Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: gpu/config/gpu_driver_bug_list.h
diff --git a/gpu/config/gpu_driver_bug_list.h b/gpu/config/gpu_driver_bug_list.h
index 0ec839ed4eecafe17b2d88d140e0352b30e4c9ef..3f36bfccee5b42b920f11e04f7b6c6dd254496d1 100644
--- a/gpu/config/gpu_driver_bug_list.h
+++ b/gpu/config/gpu_driver_bug_list.h
@@ -21,6 +21,7 @@ class GPU_EXPORT GpuDriverBugList : public GpuControlList {
~GpuDriverBugList() override;
static GpuDriverBugList* Create();
piman 2017/03/30 23:44:41 nit: ditto re: std::unique_ptr
Zhenyao Mo 2017/03/31 19:14:14 Done.
+ static GpuDriverBugList* Create(const GpuControlListData& data);
// Append |workarounds| with these passed in through the
// |command_line|.
@@ -34,7 +35,7 @@ class GPU_EXPORT GpuDriverBugList : public GpuControlList {
static void AppendAllWorkarounds(std::vector<const char*>* workarounds);
private:
- GpuDriverBugList();
+ GpuDriverBugList(const GpuControlListData& data);
piman 2017/03/30 23:44:41 nit: explicit
Zhenyao Mo 2017/03/31 19:14:14 Done.
DISALLOW_COPY_AND_ASSIGN(GpuDriverBugList);
};

Powered by Google App Engine
This is Rietveld 408576698