From 8f1ab37a268834e9a71330401d90b4e3bbfd5604 Mon Sep 17 00:00:00 2001 From: "twiz@chromium.org" Date: Mon, 21 Mar 2011 23:08:32 +0000 Subject: 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 --- webkit/support/test_webkit_client.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webkit/support') 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(); } -- cgit v1.1