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

Unified Diff: ui/gl/gl_switches.cc

Issue 1547793004: Make gpu black list work again on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: ui/gl/gl_switches.cc
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc
index 5327dd5c0ed08a7ff4b15cfafebc8b16eb9c98a8..d25d9449fe08baae7d1521d837e3564aa093ff5f 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -93,6 +93,15 @@ const char kOverrideUseGLWithOSMesaForTests[] =
// Disables specified comma separated GL Extensions if found.
const char kDisableGLExtensions[] = "disable-gl-extensions";
+// GL_VENDOR string.
+const char kGLVendorString[] = "gl-vendor-string";
+
+// GL_RENDERER string.
+const char kGLRendererString[] = "gl-renderer-string";
+
+// GL_VERSION string.
+const char kGLVersionString[] = "gl-version-string";
+
// This is the list of switches passed from this file that are passed from the
// GpuProcessHost to the GPU Process. Add your switch to this list if you need
// to read it in the GPU process, else don't add it.
@@ -107,6 +116,9 @@ const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
kOverrideUseGLWithOSMesaForTests,
kUseANGLE,
kUseDirectComposition,
+ kGLVendorString,
+ kGLRendererString,
+ kGLVersionString,
};
const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
arraysize(kGLSwitchesCopiedFromGpuProcessHost);
« content/browser/gpu/gpu_data_manager_impl_private.cc ('K') | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698