summaryrefslogtreecommitdiffstats
path: root/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
diff options
context:
space:
mode:
authorbsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 14:12:28 +0000
committerbsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-06 14:12:28 +0000
commit29214d31038f5129df6bd89fc8cd7db0f05e1536 (patch)
tree632b6c0d92af2fe8a7109bc2e48d4c2a5014b566 /webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
parent2c42113646f069aa005ffc3193e3740234960534 (diff)
downloadchromium_src-29214d31038f5129df6bd89fc8cd7db0f05e1536.zip
chromium_src-29214d31038f5129df6bd89fc8cd7db0f05e1536.tar.gz
chromium_src-29214d31038f5129df6bd89fc8cd7db0f05e1536.tar.bz2
Create a GrGLInterface per-GrContext in Chrome. We do this so that its per-GL-function callback can be used to set the correct GL context.
See also: https://bugs.webkit.org/show_bug.cgi?id=67395 Review URL: http://codereview.chromium.org/7756004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h')
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
index 6b4f276..ae162e7 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
@@ -430,8 +430,9 @@ class WebGraphicsContext3DInProcessCommandBufferImpl
WebGraphicsContext3D::WebGraphicsContextLostCallback* callback);
virtual WGC3Denum getGraphicsResetStatusARB();
+ protected:
#if WEBKIT_USING_SKIA
- virtual GrGLInterface* grGLInterface();
+ virtual GrGLInterface* onCreateGrGLInterface();
#endif
private: