Index: gpu/config/gpu_info.h |
diff --git a/gpu/config/gpu_info.h b/gpu/config/gpu_info.h |
index fe1b7da4ce1abd4bf03b2db0caef0c8df2fbc18e..fbb6aac4de9b6dcc03b00e2fcfdea9d9265468c1 100644 |
--- a/gpu/config/gpu_info.h |
+++ b/gpu/config/gpu_info.h |
@@ -20,6 +20,10 @@ |
#include "gpu/gpu_export.h" |
#include "ui/gfx/geometry/size.h" |
+#if defined(USE_X11) && !defined(OS_CHROMEOS) |
+typedef unsigned long VisualID; |
+#endif |
+ |
namespace gpu { |
// Result for the various Collect*Info* functions below. |
@@ -236,6 +240,11 @@ struct GPU_EXPORT GPUInfo { |
video_encode_accelerator_supported_profiles; |
bool jpeg_decode_accelerator_supported; |
+#if defined(USE_X11) && !defined(OS_CHROMEOS) |
+ VisualID system_visual; |
+ VisualID rgba_visual; |
+#endif |
+ |
// Note: when adding new members, please remember to update EnumerateFields |
// in gpu_info.cc. |