Index: content/browser/gpu/gpu_blacklist.h |
=================================================================== |
--- content/browser/gpu/gpu_blacklist.h (revision 102410) |
+++ content/browser/gpu/gpu_blacklist.h (working copy) |
@@ -72,37 +72,16 @@ |
std::vector<uint32>& entry_ids, |
bool disabled) const; |
- // Returns status information on the blacklist. This is two parted: |
- // { |
- // featureStatus: [] |
- // problems: [] |
- // } |
+ // Returns the description and bugs from active entries from the last |
+ // DetermineGpuFeatureFlags() call. |
// |
- // Each entry in feature_status has: |
- // { |
- // name: "name of feature" |
- // status: "enabled" | "unavailable_software" | "unavailable_off" | |
- // "software" | "disabled_off" | "disabled_softare"; |
- // } |
- // |
- // The features reported are not 1:1 with GpuFeatureType. Rather, they are: |
- // '2d_canvas' |
- // '3d_css' |
- // 'composting', |
- // 'webgl', |
- // 'multisampling' |
- // |
// Each problems has: |
// { |
// "description": "Your GPU is too old", |
// "crBugs": [1234], |
// "webkitBugs": [] |
// } |
- base::Value* GetFeatureStatus(bool gpu_access_allowed, |
- bool disable_accelerated_compositing, |
- bool disable_accelerated_2D_canvas, |
- bool disable_experimental_webgl, |
- bool disable_multisampling) const; |
+ void GetBlacklistReasons(ListValue* problem_list) const; |
// Return the largest entry id. This is used for histogramming. |
uint32 max_entry_id() const; |
@@ -331,8 +310,6 @@ |
void Clear(); |
- bool IsFeatureBlacklisted(GpuFeatureFlags::GpuFeatureType feature) const; |
- |
// Check if the entry is supported by the current version of browser. |
// By default, if there is no browser version information in the entry, |
// return kSupported; |