#include "content/public/common/gpu_memory_stats.h"
#include "content/public/common/three_d_api_types.h"
#include "gpu/config/gpu_info.h"
-#include "gpu/config/gpu_switching_option.h"
class CommandLine;
class GURL;
// flags into the renderer process command line.
void AppendRendererCommandLine(CommandLine* command_line) const;
- // Insert switches into gpu process command line: kUseGL,
- // kDisableGLMultisampling.
+ // Insert switches into gpu process command line: kUseGL, etc.
void AppendGpuCommandLine(CommandLine* command_line) const;
// Insert switches into plugin process command line:
// Update WebPreferences for renderer based on blacklisting decisions.
void UpdateRendererWebPrefs(WebPreferences* prefs) const;
- gpu::GpuSwitchingOption GetGpuSwitchingOption() const;
-
std::string GetBlacklistVersion() const;
std::string GetDriverBugListVersion() const;
// Called when switching gpu.
void HandleGpuSwitch();
-#if defined(OS_WIN)
- // Is the GPU process using the accelerated surface to present, instead of
- // presenting by itself.
- bool IsUsingAcceleratedSurface() const;
-#endif
-
// Maintenance of domains requiring explicit user permission before
// using client-facing 3D APIs (WebGL, Pepper 3D), either because
// the domain has caused the GPU to reset, or because too many GPU