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

Side by Side Diff: ui/gfx/x/x11_switches.cc

Issue 1429083002: gl_surface_egl: ensure off and on screen surfaces use the same EGLConfig (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « ui/gfx/x/x11_switches.h ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gfx/x/x11_switches.h" 5 #include "ui/gfx/x/x11_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 #if !defined(OS_CHROMEOS) 9 #if !defined(OS_CHROMEOS)
10 // When enabled, tries to get a transparent X11 visual so that we can have
11 // per-pixel alpha in windows.
12 //
13 // TODO(erg): Remove this switch once we've stabilized the code
14 // path. http://crbug.com/369209
15 const char kEnableTransparentVisuals[] = "enable-transparent-visuals";
16
17 // Color bit depth of the main window created in the browser process and matches
18 // XWindowAttributes.depth.
19 const char kWindowDepth[] = "window-depth";
20
10 // Which X11 display to connect to. Emulates the GTK+ "--display=" command line 21 // Which X11 display to connect to. Emulates the GTK+ "--display=" command line
11 // argument. 22 // argument.
12 const char kX11Display[] = "display"; 23 const char kX11Display[] = "display";
13 #endif 24 #endif
14 25
15 } // namespace switches 26 } // namespace switches
OLDNEW
« no previous file with comments | « ui/gfx/x/x11_switches.h ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698