Index: content/browser/gpu/gpu_data_manager_impl_private.h |
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.h b/content/browser/gpu/gpu_data_manager_impl_private.h |
index c00d02dc1d413a72a2e08b40263ba29344e36983..936a6d7d73372877bd326117bdf38d06b4815025 100644 |
--- a/content/browser/gpu/gpu_data_manager_impl_private.h |
+++ b/content/browser/gpu/gpu_data_manager_impl_private.h |
@@ -43,6 +43,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { |
const std::string& gpu_blacklist_json, |
const gpu::GPUInfo& gpu_info); |
bool IsFeatureBlacklisted(int feature) const; |
+ bool IsFeatureEnabled(int feature) const; |
bool IsDriverBugWorkaroundActive(int feature) const; |
gpu::GPUInfo GetGPUInfo() const; |
void GetGpuProcessHandles( |
@@ -69,6 +70,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { |
void Initialize(); |
void UpdateGpuInfo(const gpu::GPUInfo& gpu_info); |
+ void UpdateGpuFeatureInfo(const gpu::GpuFeatureInfo& gpu_feature_info); |
void UpdateVideoMemoryUsageStats( |
const gpu::VideoMemoryUsageStats& video_memory_usage_stats); |
@@ -231,6 +233,8 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { |
std::set<int> blacklisted_features_; |
std::set<int> preliminary_blacklisted_features_; |
+ // Eventually |blacklisted_features_| should be folded in to this. |
+ gpu::GpuFeatureInfo gpu_feature_info_; |
std::set<int> gpu_driver_bugs_; |