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

Unified Diff: gpu/config/gpu_info.h

Issue 2347383002: X11: Use better visuals for OpenGL (Closed)
Patch Set: auto* Created 4 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
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | gpu/config/gpu_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | gpu/config/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698