summaryrefslogtreecommitdiffstats
path: root/webkit/support/webkit_support.h
diff options
context:
space:
mode:
authorscheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 18:08:24 +0000
committerscheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 18:08:24 +0000
commit6c4d215ecd29ac00a618fdff5477c0184ccf1b6c (patch)
tree932579689c8df46042dbe4ee97a00a1888e712a2 /webkit/support/webkit_support.h
parent3194fecde886beeb3b78a7108fb291852389f182 (diff)
downloadchromium_src-6c4d215ecd29ac00a618fdff5477c0184ccf1b6c.zip
chromium_src-6c4d215ecd29ac00a618fdff5477c0184ccf1b6c.tar.gz
chromium_src-6c4d215ecd29ac00a618fdff5477c0184ccf1b6c.tar.bz2
Add support for DumpRenderTree to use the GPU rather than software renderer
BUG=68797 TEST=previous buildbots test old path, new buildbots will test the GPU path Support for webkit side changes: https://bugs.webkit.org/show_bug.cgi?id=52333 Review URL: http://codereview.chromium.org/6258001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/webkit_support.h')
-rw-r--r--webkit/support/webkit_support.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/support/webkit_support.h b/webkit/support/webkit_support.h
index 9150e0a..7ee4809 100644
--- a/webkit/support/webkit_support.h
+++ b/webkit/support/webkit_support.h
@@ -75,6 +75,12 @@ WebKit::WebApplicationCacheHost* CreateApplicationCacheHost(
// Returns the root directory of the WebKit code.
WebKit::WebString GetWebKitRootDir();
+enum GLBindingPreferences {
+ GL_BINDING_DEFAULT,
+ GL_BINDING_SOFTWARE_RENDERER
+};
+void SetUpGLBindings(GLBindingPreferences);
+
// ------- URL load mocking.
// Registers the file at |file_path| to be served when |url| is requested.
// |response| is the response provided with the contents.