summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc')
-rw-r--r--chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
index f6f731d..af89470 100644
--- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
+++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
@@ -669,6 +669,10 @@ unsigned long WebGraphicsContext3DCommandBufferImpl::getError() {
return glGetError();
}
+bool WebGraphicsContext3DCommandBufferImpl::isContextLost() {
+ return ggl::IsCommandBufferContextLost(context_);
+}
+
DELEGATE_TO_GL_2(getFloatv, GetFloatv, unsigned long, float*)
DELEGATE_TO_GL_4(getFramebufferAttachmentParameteriv,