summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl/gl_context_osmesa.h
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 17:57:57 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 17:57:57 +0000
commit40606261a30c109e69053be82e98769652c48e5c (patch)
tree5ed7618eaae5cac43f1cd44170ff46ac29c9676a /app/gfx/gl/gl_context_osmesa.h
parent265ccd99339c4a7bcdc3c163692f9344fe9e2ae5 (diff)
downloadchromium_src-40606261a30c109e69053be82e98769652c48e5c.zip
chromium_src-40606261a30c109e69053be82e98769652c48e5c.tar.gz
chromium_src-40606261a30c109e69053be82e98769652c48e5c.tar.bz2
OSMesa was not being correctly initialized when used with WebGL.
GLEW was not being initialized and the back buffer was not being cleared. Back buffer was not being deallocated in OSMesaGLContext::Destroy. TEST=trybots BUG=none Review URL: http://codereview.chromium.org/1792008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/gfx/gl/gl_context_osmesa.h')
-rw-r--r--app/gfx/gl/gl_context_osmesa.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/gfx/gl/gl_context_osmesa.h b/app/gfx/gl/gl_context_osmesa.h
index 52738de..4959c846 100644
--- a/app/gfx/gl/gl_context_osmesa.h
+++ b/app/gfx/gl/gl_context_osmesa.h
@@ -39,9 +39,6 @@ class OSMesaGLContext : public GLContext {
return buffer_.get();
}
- protected:
- bool InitializeCommon();
-
private:
#if !defined(UNIT_TEST)
gfx::Size size_;