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

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

Issue 1117813002: Add GL strings to CastSysInfo interface and use to configure GPU (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 c214d5f556876a943d5e8d35822ca62fa27dfa23..d63dd6be0142f5e8a6c6e00df71c91cc24d1cdde 100644
--- a/content/public/browser/gpu_data_manager.h
+++ b/content/public/browser/gpu_data_manager.h
@@ -104,6 +104,12 @@ class GpuDataManager {
std::string* gl_renderer,
std::string* gl_version) = 0;
+ // Sets GPU device info. Allows content embedder to supply this info on
+ // platforms where CollectBasicGraphicsInfo is unable to determine
+ // vendor id or device id.
+ virtual void SetGpuDeviceName(const std::string& vendor,
+ const std::string& device) = 0;
+
// Turn off all hardware acceleration.
virtual void DisableHardwareAcceleration() = 0;

Powered by Google App Engine
This is Rietveld 408576698