diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 20:47:04 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 20:47:04 +0000 |
commit | 30aa5c1ab237fa0940b04ffd78cc9033d9ca3afe (patch) | |
tree | bcc87f53bf61028f8cd3fcf27d4218f287ad2155 /app/app_switches.cc | |
parent | 6164c8d2a67aa8346b9f7735d849f4ee4f1c63cd (diff) | |
download | chromium_src-30aa5c1ab237fa0940b04ffd78cc9033d9ca3afe.zip chromium_src-30aa5c1ab237fa0940b04ffd78cc9033d9ca3afe.tar.gz chromium_src-30aa5c1ab237fa0940b04ffd78cc9033d9ca3afe.tar.bz2 |
Added --use-gl command line flag to select GL implementation.
- Options are desktop, egl and osmesa.
- Also added support for bliting an OSMesa bask buffer to a GDK window.
TEST=trybots, manual verification that WebGL and Pepper 3D work
BUG=45898
Review URL: http://codereview.chromium.org/2825005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/app_switches.cc')
-rw-r--r-- | app/app_switches.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/app_switches.cc b/app/app_switches.cc index f869d68..8527a45 100644 --- a/app/app_switches.cc +++ b/app/app_switches.cc @@ -10,4 +10,12 @@ namespace switches { // language[-country] where language is the 2 letter code from ISO-639. const char kLang[] = "lang"; +// Select which implementation of GL the GPU process should use. Options are: +// desktop: whatever desktop OpenGL the user has installed (Linux and Mac +// default). +// egl: whatever EGL / GLES2 the user has installed (Windows default - actually +// ANGLE). +// osmesa: The OSMesa software renderer. +const char kUseGL[] = "use-gl"; + } // namespace switches |