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..604d6c78dae80fc13a4c8a749279d61e77226f2b 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 UpdateGpuFeatureStatus(const gpu::GPUFeatureStatus& gpu_feature_status); |
void UpdateVideoMemoryUsageStats( |
const gpu::VideoMemoryUsageStats& video_memory_usage_stats); |
@@ -231,6 +233,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { |
std::set<int> blacklisted_features_; |
std::set<int> preliminary_blacklisted_features_; |
+ std::set<int> enabled_features_; |
std::set<int> gpu_driver_bugs_; |