Open Bug 743009 Opened 13 years ago Updated 3 years ago

Consider limiting WebGL memory usage to less than GPU RAM

Categories

(Core :: Graphics: CanvasWebGL, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: jgilbert, Unassigned)

References

Details

From bug 643651, we know that there are websites that have massive GL texture usage in the many hundreds of MB. Should we limit WebGL buffer/texture allocation if the allocation would take them above, say, 90% of GPU RAM? This is hard to know for sure, but we can make fairly good guesses about WebGL's usage, and we know the reported adapter RAM size. bjacob pointed out that this is not a complete solution, as normal layers acceleration can also fill GPU RAM, and other things can exhaust non-virtual RAM on systems with less available RAM. I think it could be a good step, though, since exhausting GPU RAM should cause a much worse experience than normal memory swapping.
Severity: normal → enhancement
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.