Bug 143528 - Pages using WebGLRenderingContext cannot go into the PageCache
Summary: Pages using WebGLRenderingContext cannot go into the PageCache
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-04-08 11:26 PDT by Chris Dumez
Modified: 2015-04-08 11:27 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-04-08 11:26:21 PDT
Pages using WebGLRenderingContext cannot go into the PageCache because WebGLRenderingContextBase::canSuspendForPageCache() returns false.

Since we have code for handling context loss and restoring it, it seems like we should be able to force a synthetic context loss upon suspending, and try to restore it upon resuming.

Radar: <rdar://problem/19923085>
Comment 1 Chris Dumez 2015-04-08 11:27:35 PDT
I don't have time to work on this right now. CC'ing Roger in case he has feedback or is interested in fixing this. Otherwise, I'll try and find time to tackle this later.