Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1347)

Unified Diff: content/public/browser/gpu_data_manager.h

Issue 534043002: Add bits to indicate which parts of GPUInfo are collected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/gpu_data_manager.h
diff --git a/content/public/browser/gpu_data_manager.h b/content/public/browser/gpu_data_manager.h
index 7ffc9f18402a86cc082738bac939854dc394476f..90beac47ff711c6bd69b539bcdd81314a83552a8 100644
--- a/content/public/browser/gpu_data_manager.h
+++ b/content/public/browser/gpu_data_manager.h
@@ -57,9 +57,14 @@ class GpuDataManager {
// 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;
Evan Stade 2014/09/03 21:47:58 \n
Zhenyao Mo 2014/09/03 21:56:10 Done.
+ // 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,

Powered by Google App Engine
This is Rietveld 408576698