summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_surface_glx.h
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 05:56:34 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 05:56:34 +0000
commit8fc0ff1a512bfcdc00835cf48c048ac07574a595 (patch)
tree65f46769a0673cbe469fe30560b654b986e07cea /ui/gl/gl_surface_glx.h
parentf8501b105e8bb71fd779ea8b5a867e2c7e7b2a7d (diff)
downloadchromium_src-8fc0ff1a512bfcdc00835cf48c048ac07574a595.zip
chromium_src-8fc0ff1a512bfcdc00835cf48c048ac07574a595.tar.gz
chromium_src-8fc0ff1a512bfcdc00835cf48c048ac07574a595.tar.bz2
Revert 171679
> Explicitly create the GLX window for onscreen surfaces. > > Always use glXCreateContextAttribsARB to create GLX contexts. > > This will allow us to explicitly destroy hibernated GLX windows, which will hopefully plug some GPU memory leaks that were causing instability. > > BUG=145600 > > > Review URL: https://chromiumcodereview.appspot.com/11467008 TBR=ccameron@chromium.org Review URL: https://codereview.chromium.org/11472019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_surface_glx.h')
-rw-r--r--ui/gl/gl_surface_glx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/gl/gl_surface_glx.h b/ui/gl/gl_surface_glx.h
index 7840834..76a8f81 100644
--- a/ui/gl/gl_surface_glx.h
+++ b/ui/gl/gl_surface_glx.h
@@ -76,7 +76,6 @@ class GL_EXPORT NativeViewGLSurfaceGLX : public GLSurfaceGLX {
virtual ~NativeViewGLSurfaceGLX();
gfx::AcceleratedWidget window_;
- XID glx_window_;
private:
void* config_;