#include "gpu/config/gpu_blacklist.h"
#include "gpu/config/gpu_driver_bug_list.h"
+namespace base {
+class CommandLine;
+}
+
namespace content {
class CONTENT_EXPORT GpuDataManagerImplPrivate {
void UpdateVideoMemoryUsageStats(
const GPUVideoMemoryUsageStats& video_memory_usage_stats);
- void AppendRendererCommandLine(CommandLine* command_line) const;
+ void AppendRendererCommandLine(base::CommandLine* command_line) const;
- void AppendGpuCommandLine(CommandLine* command_line) const;
+ void AppendGpuCommandLine(base::CommandLine* command_line) const;
- void AppendPluginCommandLine(CommandLine* command_line) const;
+ void AppendPluginCommandLine(base::CommandLine* command_line) const;
void UpdateRendererWebPrefs(WebPreferences* prefs) const;
void SetDisplayCount(unsigned int display_count);
unsigned int GetDisplayCount() const;
+ bool UpdateActiveGpu(uint32 vendor_id, uint32 device_id);
+
void OnGpuProcessInitFailure();
virtual ~GpuDataManagerImplPrivate();
const std::string& gpu_driver_bug_list_json,
const gpu::GPUInfo& gpu_info);
+ void UpdateGpuInfoHelper();
+
void UpdateBlacklistedFeatures(const std::set<int>& features);
// This should only be called once at initialization time, when preliminary
bool gpu_process_accessible_;
- bool use_software_compositor_;
-
// True if all future Initialize calls should be ignored.
bool finalized_;