| 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);
|
|
|