summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/ggl/ggl.h
diff options
context:
space:
mode:
authoramarinichev@google.com <amarinichev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 20:17:18 +0000
committeramarinichev@google.com <amarinichev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 20:17:18 +0000
commit36681ead4b5a9aa5a36d5a27e6f41561dffc0955 (patch)
tree3fec9b4ab3338a5831ebae17c0dc1e3785b3cac2 /chrome/renderer/ggl/ggl.h
parentb62262a58b7506c0e0736674a95b302377ddb5ed (diff)
downloadchromium_src-36681ead4b5a9aa5a36d5a27e6f41561dffc0955.zip
chromium_src-36681ead4b5a9aa5a36d5a27e6f41561dffc0955.tar.gz
chromium_src-36681ead4b5a9aa5a36d5a27e6f41561dffc0955.tar.bz2
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
Diffstat (limited to 'chrome/renderer/ggl/ggl.h')
-rw-r--r--chrome/renderer/ggl/ggl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/ggl/ggl.h b/chrome/renderer/ggl/ggl.h
index 04ac19e..b8e309b 100644
--- a/chrome/renderer/ggl/ggl.h
+++ b/chrome/renderer/ggl/ggl.h
@@ -128,6 +128,8 @@ void DeleteParentTexture(Context* context, uint32 texture);
// service side.
void SetSwapBuffersCallback(Context* context, Callback0::Type* callback);
+void SetContextLostCallback(Context* context, Callback0::Type* callback);
+
// Set the current GGL context for the calling thread.
bool MakeCurrent(Context* context);