diff options
author | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-19 02:09:29 +0000 |
---|---|---|
committer | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-19 02:09:29 +0000 |
commit | 1e4dc692612b67c9b79325861539df8d2de526c7 (patch) | |
tree | c4fbac236c0060d65804b1b8bdd3847bbd1a228a /webkit/support | |
parent | db8dc22b1f97dbff5aabdaec3b84f823bc456958 (diff) | |
download | chromium_src-1e4dc692612b67c9b79325861539df8d2de526c7.zip chromium_src-1e4dc692612b67c9b79325861539df8d2de526c7.tar.gz chromium_src-1e4dc692612b67c9b79325861539df8d2de526c7.tar.bz2 |
Addition of GL-redirecting mechanism for the Skia/GPU back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon
Review URL: http://codereview.chromium.org/6677105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support')
-rw-r--r-- | webkit/support/test_webkit_client.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/support/test_webkit_client.cc b/webkit/support/test_webkit_client.cc index c69cf6e..98037f3 100644 --- a/webkit/support/test_webkit_client.cc +++ b/webkit/support/test_webkit_client.cc @@ -4,6 +4,7 @@ #include "webkit/support/test_webkit_client.h" +#include "app/gfx/gl/gl_bindings_skia.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/scoped_temp_dir.h" @@ -352,5 +353,6 @@ WebKit::WebSharedWorkerRepository* TestWebKitClient::sharedWorkerRepository() { } WebKit::WebGraphicsContext3D* TestWebKitClient::createGraphicsContext3D() { + gfx::BindSkiaToHostGL(); return new webkit::gpu::WebGraphicsContext3DInProcessImpl(); } |