Bug 129244

Summary: Wrong active context when destroying GL objects
Product: WebKit Reporter: Iago Toral <itoral>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Iago Toral 2014-02-24 00:37:17 PST
When we have multiple webviews, each with its own GL context, it is possible that destroying a view (for example closing a tab in the browser) triggers destruction of the underlying LayerTreeHost with the wrong active GL context. We should make sure that we set the right context as active before destroying GL objects in LayerTreeHostGtk::invalidate.

I'll attach patch shortly.
Comment 1 Iago Toral 2014-02-24 00:47:08 PST
Created attachment 225031 [details]
Patch
Comment 2 WebKit Commit Bot 2014-02-24 07:19:17 PST
Comment on attachment 225031 [details]
Patch

Clearing flags on attachment: 225031

Committed r164584: <http://trac.webkit.org/changeset/164584>
Comment 3 WebKit Commit Bot 2014-02-24 07:19:19 PST
All reviewed patches have been landed.  Closing bug.