Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Issue 11474045: Always use either glXCreateNewContext or glXCreateContextAttribsARB for GLX (Closed)

Created:
8 years ago by ccameron
Modified:
8 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Always use either glXCreateNewContext or glXCreateContextAttribsARB for GLX Explicitly create the GLX window for onscreen surfaces. Use glXCreateContextAttribsARB to create GLX contexts when GLX_ARB_create_context is supported, otherwise use glXCreateNewContext. This will allow us to explicitly destroy hibernated GLX windows, which will hopefully plug some GPU memory leaks that were causing instability. BUG=145600 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172122

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -78 lines) Patch
M ui/gl/gl_context_glx.cc View 4 chunks +30 lines, -73 lines 3 comments Download
M ui/gl/gl_surface_glx.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_glx.cc View 8 chunks +27 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ccameron
The last take at this, https://codereview.chromium.org/11467008/ was reverted because it assumed that the client had ...
8 years ago (2012-12-08 02:11:27 UTC) #1
piman
lgtm
8 years ago (2012-12-08 02:15:12 UTC) #2
Ken Russell (switch to Gerrit)
lgtm https://codereview.chromium.org/11474045/diff/1/ui/gl/gl_context_glx.cc File ui/gl/gl_context_glx.cc (left): https://codereview.chromium.org/11474045/diff/1/ui/gl/gl_context_glx.cc#oldcode94 ui/gl/gl_context_glx.cc:94: // Get the visuals for the X drawable. ...
8 years ago (2012-12-08 20:10:57 UTC) #3
ccameron
Thanks!! https://codereview.chromium.org/11474045/diff/1/ui/gl/gl_context_glx.cc File ui/gl/gl_context_glx.cc (left): https://codereview.chromium.org/11474045/diff/1/ui/gl/gl_context_glx.cc#oldcode94 ui/gl/gl_context_glx.cc:94: // Get the visuals for the X drawable. ...
8 years ago (2012-12-10 00:28:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/11474045/1
8 years ago (2012-12-10 18:14:25 UTC) #5
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/11474045/diff/1/ui/gl/gl_context_glx.cc File ui/gl/gl_context_glx.cc (left): https://codereview.chromium.org/11474045/diff/1/ui/gl/gl_context_glx.cc#oldcode94 ui/gl/gl_context_glx.cc:94: // Get the visuals for the X drawable. On ...
8 years ago (2012-12-10 18:44:51 UTC) #6
commit-bot: I haz the power
8 years ago (2012-12-10 20:13:38 UTC) #7
Message was sent while issue was closed.
Change committed as 172122

Powered by Google App Engine
This is Rietveld 408576698