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

Unified Diff: content/browser/gpu/gpu_blacklist.h

Issue 7967020: Implement --use-gl=any (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698