Open Bug 999878 Opened 11 years ago Updated 2 years ago

Don't immediately force-lose WebGL contexts on backgrounding of app/page/process

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

defect

Tracking

()

People

(Reporter: jgilbert, Unassigned)

References

Details

(Whiteboard: [games])

Since bug 800166, we create a low-memory event on process-goes-to-background. This is generally fine, but this causes WebGL apps to get force-context-lost, which means the app will need to fully upload everything again before it can display again. We should only really force-lose contexts from actual memory pressure events.
I have been writing context loss management code to a game that is going to ship on FFOS. This would help the game a lot, as resuming from the context loss causes the game to show a loading screen for ~5-10 seconds to reload all GPU content.
Whiteboard: [games]
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.