From 36681ead4b5a9aa5a36d5a27e6f41561dffc0955 Mon Sep 17 00:00:00 2001 From: "amarinichev@google.com" Date: Wed, 2 Feb 2011 20:17:18 +0000 Subject: Added context lost callback. Methods added are: CommandBufferProxy::SetChannelErrorCallback ggl::SetContextLostCallback WebGraphicsContext3DCommandBufferImpl::setContextLostCallback WebGraphicsContext3DInProcessImpl::setContextLostCallback (empty) This can land only after https://bugs.webkit.org/show_bug.cgi?id=53153, because it needs WebGraphicsContext3D::WebGraphicsContextLostCallback class. After this lands, webkit change adding lost context methods to GraphicsContext3D needs to land before the bug is closed. BUG=67837 TEST=webkit change pending Review URL: http://codereview.chromium.org/6317015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73496 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/gpu/webgraphicscontext3d_in_process_impl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'webkit/gpu') diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_impl.h index df4dded..41631e6 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.h +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.h @@ -397,6 +397,9 @@ class WebGraphicsContext3DInProcessImpl : public WebGraphicsContext3D { virtual void deleteShader(WebGLId); virtual void deleteTexture(WebGLId); + virtual void setContextLostCallback( + WebGraphicsContext3D::WebGraphicsContextLostCallback* callback) {} + private: // ANGLE related. struct ShaderSourceEntry; -- cgit v1.1