Bug 129244 - Wrong active context when destroying GL objects
Summary: Wrong active context when destroying GL objects
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 00:37 PST by Iago Toral
Modified: 2014-02-24 07:19 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.97 KB, patch)
2014-02-24 00:47 PST, Iago Toral
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.