diff options
author | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 23:08:32 +0000 |
---|---|---|
committer | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 23:08:32 +0000 |
commit | 8f1ab37a268834e9a71330401d90b4e3bbfd5604 (patch) | |
tree | 665226b867eac12a02eeecd6a2395996d873a38b /webkit/support | |
parent | c09f1a619592294610cc3a4f07cb83c16735fb9d (diff) | |
download | chromium_src-8f1ab37a268834e9a71330401d90b4e3bbfd5604.zip chromium_src-8f1ab37a268834e9a71330401d90b4e3bbfd5604.tar.gz chromium_src-8f1ab37a268834e9a71330401d90b4e3bbfd5604.tar.bz2 |
Resubmit of reverted CL: http://codereview.chromium.org/6677105
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/6708066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78941 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(); } |