Bug 99076

Summary: [Qt][WK2] GraphicsSurfaceGLX should keep track of previous GL context.
Product: WebKit Reporter: Zeno Albisser <zeno>
Component: WebKit QtAssignee: Zeno Albisser <zeno>
Status: RESOLVED FIXED    
Severity: Normal CC: noam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch for review. none

Description Zeno Albisser 2012-10-11 08:31:36 PDT
In GraphicsSurfaceGLX / GraphicsSurfacePrivate constructor we create a new GL context for resolving GL functions.
The QOpenGLContext implementation for GLX makes this context current by default. Therefore we have to keep track of the previous context and make that one current again after the creation.
Comment 1 Zeno Albisser 2012-10-11 08:40:53 PDT
Created attachment 168233 [details]
patch for review.
Comment 2 Zeno Albisser 2012-10-12 02:36:58 PDT
Comment on attachment 168233 [details]
patch for review.

Clearing flags on attachment: 168233

Committed r131164: <http://trac.webkit.org/changeset/131164>
Comment 3 Zeno Albisser 2012-10-12 02:37:03 PDT
All reviewed patches have been landed.  Closing bug.