// contains a description of the reason why GPU access is blocked.
virtual bool GpuAccessAllowed(std::string* reason) const = 0;
- // Requests complete GPUinfo if it has not already been requested
+ // Requests complete GPU info if it has not already been requested
virtual void RequestCompleteGpuInfoIfNeeded() = 0;
+ // Check if basic and context GPU info have been collected.
+ virtual bool IsEssentialGpuInfoAvailable() const = 0;
+
+ // On Windows, besides basic and context GPU info, it also checks if
+ // DxDiagnostics have been collected.
+ // On other platforms, it's the same as IsEsentialGpuInfoAvailable().
virtual bool IsCompleteGpuInfoAvailable() const = 0;
// Requests that the GPU process report its current video memory usage stats,
// Register a path to SwiftShader.
virtual void RegisterSwiftShaderPath(const base::FilePath& path) = 0;
+ // Returns current state about WARP, which may be due to command-line
+ // arguments or saved state.
+ virtual bool ShouldUseWarp() const = 0;
+
// Registers/unregister |observer|.
virtual void AddObserver(GpuDataManagerObserver* observer) = 0;
virtual void RemoveObserver(GpuDataManagerObserver* observer) = 0;