summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl/gl_implementation.h
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-27 19:42:56 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-27 19:42:56 +0000
commitaefbf90a3d90cde03bd2f244a477084f276b6540 (patch)
tree2c0b2513ab5c5040d49ff5e226671d58c892a8d0 /app/gfx/gl/gl_implementation.h
parenteadc9679d5b47b498877d074efdc0ca913bd09b8 (diff)
downloadchromium_src-aefbf90a3d90cde03bd2f244a477084f276b6540.zip
chromium_src-aefbf90a3d90cde03bd2f244a477084f276b6540.tar.gz
chromium_src-aefbf90a3d90cde03bd2f244a477084f276b6540.tar.bz2
ui_tests run with --use-gl=osmesa so they use the OSMesa software renderer for GL.
This to ensure that ui_tests run consistently regardless of the GPU capabilities, or absense, of the box they run on. TEST=try BUG=none Review URL: http://codereview.chromium.org/4138003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/gfx/gl/gl_implementation.h')
-rw-r--r--app/gfx/gl/gl_implementation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/gfx/gl/gl_implementation.h b/app/gfx/gl/gl_implementation.h
index 1b016b4..91dd617 100644
--- a/app/gfx/gl/gl_implementation.h
+++ b/app/gfx/gl/gl_implementation.h
@@ -22,6 +22,12 @@ enum GLImplementation {
kGLImplementationMockGL
};
+// The GL implementation names that can be passed to --use-gl.
+extern const char kGLImplementationDesktopName[];
+extern const char kGLImplementationOSMesaName[];
+extern const char kGLImplementationEGLName[];
+extern const char kGLImplementationMockName[];
+
#if defined(OS_WIN)
typedef void* (WINAPI *GLGetProcAddressProc)(const char* name);
#else