| Index: content/browser/gpu/gpu_data_manager_impl.h
|
| diff --git a/content/browser/gpu/gpu_data_manager_impl.h b/content/browser/gpu/gpu_data_manager_impl.h
|
| index efd4cf26c1bb8aef85d5e279070eae5c6880ddda..13a13a7badcc2bba8bfa599a1a4be62d1ff077fd 100644
|
| --- a/content/browser/gpu/gpu_data_manager_impl.h
|
| +++ b/content/browser/gpu/gpu_data_manager_impl.h
|
| @@ -31,6 +31,7 @@ class CommandLine;
|
| }
|
|
|
| namespace gpu {
|
| +struct GPUFeatureStatus;
|
| struct GpuPreferences;
|
| struct VideoMemoryUsageStats;
|
| }
|
| @@ -68,6 +69,7 @@ class CONTENT_EXPORT GpuDataManagerImpl
|
| void InitializeForTesting(const std::string& gpu_blacklist_json,
|
| const gpu::GPUInfo& gpu_info) override;
|
| bool IsFeatureBlacklisted(int feature) const override;
|
| + bool IsFeatureEnabled(int feature) const override;
|
| gpu::GPUInfo GetGPUInfo() const override;
|
| void GetGpuProcessHandles(
|
| const GetGpuProcessHandlesCallback& callback) const override;
|
| @@ -106,6 +108,10 @@ class CONTENT_EXPORT GpuDataManagerImpl
|
| // loaded, run through blacklist and update blacklisted features.
|
| void UpdateGpuInfo(const gpu::GPUInfo& gpu_info);
|
|
|
| + // Update the GPU feature info. This updates the blacklist and enabled status
|
| + // of GPU rasterization. In the future this will be used for more features.
|
| + void UpdateGpuFeatureStatus(const gpu::GPUFeatureStatus& gpu_feature_info);
|
| +
|
| void UpdateVideoMemoryUsageStats(
|
| const gpu::VideoMemoryUsageStats& video_memory_usage_stats);
|
|
|
|
|