[GEM-dev] graphics card switching in OS X and Gem

zmoelnig at iem.at zmoelnig at iem.at
Fri Oct 26 11:13:57 CEST 2012


Quoting Max <abonnements at revolwear.com>:
> So i tried this for Pd and found that it is not affecting the  
> graphics card switch until the moment you are loading Gem. So if you  
> are patching with Gem loaded even without the window open the  
> discreete card is used.

i think the logic behind automatically disabling the internal gfx-card  
is very simple: as soon as an application loads the libGL dylib,  
power-save mode is deactivated.
if no application references libGL anymore, powersave mode is disabled.

now Gem is dynamically linked against libGL, which means that libGL is  
loaded as soon as Gem is loaded (opera is probably linked against  
libGL too, so as soon as you start opera, power-save mode is disabled).
deferring the loading of libGL until Gem is used, might turn out to be  
quite tricky (note to myself: though it really might be possible,  
given that Gem uses glew to wrap around GL).
it's not high on the priority list though.

fgmadsr
IOhannes




More information about the GEM-dev mailing list