dynamically load libGL when an application requests a GL context
@darxus
Submitted by Darxus XXX Assigned to cairo-bugs mailing list
Description
There is a problem where cairo-gl used with an Nvidia proprietary driver causes excessive memory usage, enough that Ubuntu deemed it unusable, and completely removed cairo-gl: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/725434
One suggested solution was to get cairo-gl to only load libGL when an application actually requests a GL context: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/725434/comments/15
This seems like a good idea in general.
I believe I just confirmed this problem still exists: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/954352/comments/17
Version: 1.10.3